From e6fd415e2f253e7ee6caca4468454f18be5b8d5a Mon Sep 17 00:00:00 2001 From: Vadim Eisenberg Date: Mon, 31 Dec 2018 14:52:54 +0200 Subject: [PATCH 1/6] add allow_traffic_to_unknown_ports flag to meshconfig related to https://github.com/istio/istio/issues/10330 --- mesh/v1alpha1/config.pb.go | 211 ++++++++++++------- mesh/v1alpha1/config.proto | 38 ++-- mesh/v1alpha1/istio.mesh.v1alpha1.pb.html | 11 + python/istio_api/mesh/v1alpha1/config_pb2.py | 43 ++-- 4 files changed, 188 insertions(+), 115 deletions(-) diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go index 32a1caa43b..f80ae1775f 100644 --- a/mesh/v1alpha1/config.pb.go +++ b/mesh/v1alpha1/config.pb.go @@ -293,6 +293,11 @@ type MeshConfig struct { // every service in the mesh. The default scope can be overriden by // supplying a ServiceDependency resource per namespace. DefaultServiceDependency *MeshConfig_DefaultServiceDependency `protobuf:"bytes,29,opt,name=default_service_dependency,json=defaultServiceDependency" json:"default_service_dependency,omitempty"` + // The flag instructs Pilot to allow traffic to ports for which no + // Services/Service Entries exist. In particular, it will allow traffic + // to any external service for which no internal/external Service/ + // Service Entry exist. + AllowTrafficToUnknownPorts bool `protobuf:"varint,31,opt,name=allow_traffic_to_unknown_ports,json=allowTrafficToUnknownPorts,proto3" json:"allow_traffic_to_unknown_ports,omitempty"` } func (m *MeshConfig) Reset() { *m = MeshConfig{} } @@ -496,6 +501,13 @@ func (m *MeshConfig) GetDefaultServiceDependency() *MeshConfig_DefaultServiceDep return nil } +func (m *MeshConfig) GetAllowTrafficToUnknownPorts() bool { + if m != nil { + return m.AllowTrafficToUnknownPorts + } + return false +} + type MeshConfig_OutboundTrafficPolicy struct { Mode MeshConfig_OutboundTrafficPolicy_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=istio.mesh.v1alpha1.MeshConfig_OutboundTrafficPolicy_Mode" json:"mode,omitempty"` } @@ -857,6 +869,18 @@ func (m *MeshConfig) MarshalTo(dAtA []byte) (int, error) { } i++ } + if m.AllowTrafficToUnknownPorts { + dAtA[i] = 0xf8 + i++ + dAtA[i] = 0x1 + i++ + if m.AllowTrafficToUnknownPorts { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } return i, nil } @@ -1070,6 +1094,9 @@ func (m *MeshConfig) Size() (n int) { if m.SdsUseK8SSaJwt { n += 3 } + if m.AllowTrafficToUnknownPorts { + n += 3 + } return n } @@ -1891,6 +1918,26 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } } m.SdsUseK8SSaJwt = bool(v != 0) + case 31: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowTrafficToUnknownPorts", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowConfig + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowTrafficToUnknownPorts = bool(v != 0) default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -2299,85 +2346,87 @@ var ( func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptorConfig) } var fileDescriptorConfig = []byte{ - // 1266 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x72, 0xd3, 0xc6, - 0x17, 0x8f, 0x92, 0x40, 0xc2, 0xf1, 0x47, 0xe4, 0x0d, 0x81, 0xc5, 0xf0, 0xcf, 0xdf, 0xa4, 0x53, - 0xc8, 0xa4, 0x1d, 0x67, 0x48, 0xa6, 0x33, 0xb4, 0x33, 0xbd, 0x30, 0xb6, 0x03, 0x0e, 0x8e, 0xed, - 0x91, 0x14, 0x5a, 0x7a, 0xd1, 0x1d, 0x45, 0x5a, 0xdb, 0xdb, 0xc8, 0x5a, 0x55, 0xbb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, 0xb1, 0x24, 0x82, 0x85, 0xef, 0xcf, 0x18, 0xde, 0xd4, 0x24, 0xde, 0x37, 0x6a, 0x4d, - 0xad, 0xe5, 0xb2, 0x70, 0x7e, 0xd6, 0x50, 0x0d, 0x8a, 0x22, 0x14, 0x64, 0x1a, 0x0a, 0x92, 0xf8, - 0x72, 0x8c, 0x6f, 0x6b, 0x3e, 0x41, 0x84, 0xe2, 0x34, 0x14, 0x03, 0x5f, 0x8e, 0x55, 0x99, 0xc5, - 0x47, 0x65, 0xde, 0xfa, 0x4f, 0x65, 0x16, 0x1f, 0x94, 0xf9, 0x05, 0x94, 0x4d, 0x3d, 0x88, 0xe0, - 0xd3, 0x34, 0xa0, 0x02, 0xdf, 0xa9, 0xad, 0xec, 0x16, 0x0e, 0x1e, 0x2e, 0x24, 0xc7, 0x10, 0xe3, - 0x6a, 0x4d, 0xa7, 0x14, 0xcc, 0x9d, 0x04, 0x3a, 0x84, 0x3b, 0x59, 0xf2, 0xea, 0x6e, 0x92, 0x9f, - 0xd3, 0x98, 0x4c, 0xf8, 0x34, 0x96, 0xf8, 0xae, 0x59, 0x2b, 0x46, 0xea, 0x86, 0xc2, 0x53, 0xb2, - 0x13, 0x25, 0x52, 0x6b, 0x65, 0xbe, 0x7d, 0x78, 0x3a, 0xf1, 0x25, 0xc6, 0x3a, 0xe1, 0x8d, 0x59, - 0x03, 0x69, 0x58, 0x05, 0x98, 0xa7, 0x92, 0x0c, 0x7d, 0x16, 0x11, 0x9e, 0xd0, 0x18, 0xdf, 0x33, - 0x01, 0x92, 0x19, 0x89, 0x47, 0x3e, 0x8b, 0xfa, 0x09, 0x8d, 0xd1, 0x43, 0x28, 0xca, 0x74, 0x2a, - 0x24, 0x09, 0xf9, 0xc4, 0x67, 0x31, 0xae, 0x6a, 0xdf, 0x05, 0x8d, 0xb5, 0x34, 0x84, 0x7c, 0xd8, - 0x9c, 0xbb, 0x03, 0x8d, 0x03, 0x1e, 0xaa, 0x76, 0xbf, 0xaf, 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xaf, 0xfd, 0xa3, 0x67, 0x2f, 0xa9, 0xaf, 0x63, 0xb7, 0xdf, 0xb3, 0xad, 0xe3, 0xd5, - 0xf5, 0x0d, 0xdb, 0x3e, 0x5e, 0x5d, 0x47, 0xf6, 0xe6, 0x8e, 0x80, 0xe2, 0xfc, 0xfe, 0x41, 0x18, - 0xd6, 0xf2, 0x37, 0xc0, 0xfc, 0x19, 0xe5, 0x47, 0xd4, 0x81, 0xa2, 0x8c, 0xd4, 0x5b, 0x6f, 0x06, - 0x45, 0xff, 0x09, 0x15, 0x0e, 0x1e, 0xfd, 0xcb, 0xb4, 0x79, 0x5d, 0x37, 0x1f, 0x2b, 0xa7, 0x20, - 0x23, 0x91, 0x1f, 0x9e, 0xed, 0xfe, 0xf1, 0x6e, 0xdb, 0xfa, 0xf3, 0xdd, 0xb6, 0xf5, 0xf7, 0xbb, - 0x6d, 0xeb, 0xa7, 0xaa, 0xf1, 0xc0, 0xf8, 0xbe, 0x9f, 0xb0, 0xfd, 0xf7, 0x7e, 0xfd, 0xce, 0x6e, - 0xea, 0x8d, 0x7b, 0xf8, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfc, 0x5b, 0xd8, 0x2c, 0x63, 0x0a, - 0x00, 0x00, + // 1300 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x5f, 0x53, 0xdb, 0x46, + 0x10, 0x47, 0x40, 0x02, 0x39, 0xff, 0x41, 0x3e, 0x42, 0x72, 0x71, 0x52, 0xe2, 0xd0, 0x69, 0xc2, + 0xd0, 0x8e, 0x99, 0xc0, 0x74, 0x26, 0xed, 0x4c, 0x1f, 0x1c, 0x63, 0x12, 0x88, 0xb1, 0x19, 0x49, + 0xa4, 0x4d, 0x1f, 0x7a, 0x23, 0xa4, 0xb3, 0x7d, 0x45, 0xd6, 0xa9, 0xba, 0x13, 0x84, 0xcf, 0xd6, + 0x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x34, 0x69, 0x24, 0x59, 0x68, 0x58, 0x9b, 0xcb, 0xce, + 0x6a, 0x6e, 0x3c, 0x06, 0x1b, 0x24, 0x92, 0x78, 0x0b, 0xd5, 0xa0, 0x36, 0x1a, 0x71, 0xa9, 0x58, + 0x4c, 0x75, 0x38, 0xb2, 0xd8, 0xb0, 0x36, 0x6f, 0x38, 0x2b, 0x60, 0xe8, 0x02, 0x7e, 0x2c, 0x52, + 0x85, 0x1f, 0x23, 0x03, 0xd1, 0x91, 0x52, 0x89, 0x61, 0xde, 0x00, 0x66, 0x05, 0xe0, 0x97, 0x4a, + 0x25, 0xc0, 0x7b, 0x8e, 0x56, 0x02, 0x11, 0xc7, 0x2c, 0x50, 0x54, 0xf1, 0x31, 0x13, 0x99, 0x22, + 0x37, 0x1b, 0xd6, 0x66, 0x69, 0xe7, 0x5e, 0xd3, 0xa8, 0xde, 0x2c, 0x54, 0x6f, 0xee, 0xe5, 0xaa, + 0x3b, 0xd5, 0xdc, 0xc3, 0x33, 0x0e, 0xf8, 0x4b, 0x54, 0xe1, 0xf1, 0x30, 0x65, 0x52, 0xd2, 0x20, + 0xf2, 0xa5, 0x24, 0x4b, 0x50, 0x75, 0x39, 0x07, 0xdb, 0x1a, 0xc3, 0x4f, 0xd0, 0x4a, 0x41, 0xd2, + 0xda, 0xf0, 0x80, 0x91, 0x65, 0xa0, 0x55, 0x73, 0xd8, 0x35, 0x28, 0x1e, 0xa3, 0xbb, 0x57, 0xd1, + 0x44, 0xac, 0x52, 0x11, 0x45, 0x2c, 0xa5, 0x63, 0x11, 0x32, 0x72, 0xab, 0x61, 0x6d, 0x56, 0x77, + 0xbe, 0x6d, 0xce, 0x38, 0x24, 0xcd, 0x49, 0xe7, 0x9a, 0x07, 0x79, 0xde, 0x2b, 0xef, 0x23, 0x11, + 0x32, 0x67, 0x8d, 0xcf, 0x82, 0x71, 0x1f, 0x95, 0xfc, 0x4c, 0x8d, 0xf2, 0x2e, 0x10, 0x04, 0x29, + 0xb6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c, 0x5e, 0x46, 0x8b, 0xbd, 0x7e, 0xaf, 0x63, + 0xcf, 0xe1, 0x2a, 0x42, 0x47, 0x27, 0xa0, 0xa4, 0xd7, 0x75, 0x6d, 0x6b, 0xe3, 0x09, 0xaa, 0x7d, + 0x34, 0x7b, 0x9a, 0xee, 0x75, 0x7e, 0xf2, 0xec, 0x39, 0xfd, 0x74, 0xe8, 0xf6, 0x7b, 0xb6, 0x75, + 0xb8, 0xb8, 0xbc, 0x62, 0xdb, 0x87, 0x8b, 0xcb, 0xd8, 0x5e, 0xdd, 0x90, 0xa8, 0x3c, 0xbd, 0xc3, + 0x30, 0x41, 0x4b, 0xc5, 0x3d, 0x62, 0xfe, 0xae, 0x8a, 0x57, 0x7c, 0x80, 0xca, 0x2a, 0xd2, 0xff, + 0x0b, 0x66, 0xd8, 0xe0, 0x6f, 0xaa, 0xb4, 0xf3, 0xf8, 0x3f, 0x26, 0xd6, 0xeb, 0xba, 0xc5, 0x68, + 0x3a, 0x25, 0x15, 0xc9, 0xe2, 0xe5, 0xf9, 0xe6, 0x1f, 0xef, 0xd6, 0xad, 0x3f, 0xdf, 0xad, 0x5b, + 0x7f, 0xbf, 0x5b, 0xb7, 0x7e, 0xae, 0x9b, 0x08, 0x5c, 0x6c, 0xfb, 0x09, 0xdf, 0x7e, 0xef, 0xf7, + 0xf1, 0xf4, 0x26, 0x6c, 0xed, 0xdd, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x10, 0x93, 0xde, + 0xa7, 0x0a, 0x00, 0x00, } diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto index 789141debd..0b75f73de0 100644 --- a/mesh/v1alpha1/config.proto +++ b/mesh/v1alpha1/config.proto @@ -123,9 +123,9 @@ message MeshConfig { // File address for the proxy access log (e.g. /dev/stdout). // Empty value disables access logging. string access_log_file = 13; - - // Format for the proxy access log - // Empty value results in proxy's default access log format + + // Format for the proxy access log + // Empty value results in proxy's default access log format string access_log_format = 24; enum AccessLogEncoding { @@ -145,10 +145,10 @@ message MeshConfig { ProxyConfig default_config = 14; reserved 15; - + // $hide_from_docs string mixer_address = 16 [deprecated=true]; - + message OutboundTrafficPolicy { enum Mode { // outbound traffic will be restricted to services defined in the service registry as well as those defined @@ -178,7 +178,7 @@ message MeshConfig { // Unix Domain Socket through which envoy communicates with NodeAgent SDS to get key/cert for mTLS. // Use secret-mount files instead of SDS if set to empty. string sds_uds_path = 20; - + // $hide_from_docs google.protobuf.Duration sds_refresh_delay = 21 [deprecated=true]; @@ -188,19 +188,19 @@ message MeshConfig { repeated ConfigSource config_sources = 22; // $hide_from_docs - // This flag is used by secret discovery service(SDS). - // If set to true(prerequisite: https://kubernetes.io/docs/concepts/storage/volumes/#projected), Istio will inject volumes mount - // for k8s service account trustworthy JWT(which is avaialbe for k8s 1.12 or higher), so that K8s API server - // mounts k8s service account trustworthy JWT to envoy container, which will be used to request key/cert eventually. + // This flag is used by secret discovery service(SDS). + // If set to true(prerequisite: https://kubernetes.io/docs/concepts/storage/volumes/#projected), Istio will inject volumes mount + // for k8s service account trustworthy JWT(which is avaialbe for k8s 1.12 or higher), so that K8s API server + // mounts k8s service account trustworthy JWT to envoy container, which will be used to request key/cert eventually. // This isn't supported for non-k8s case. bool enable_sds_token_mount = 23; // $hide_from_docs - // This flag is used by secret discovery service(SDS). - // If set to true, envoy will fetch normal k8s service account JWT from '/var/run/secrets/kubernetes.io/serviceaccount/token' - // (https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#accessing-the-api-from-a-pod) - // and pass to sds server, which will be used to request key/cert eventually. - // If both enable_sds_token_mount and sds_use_k8s_sa_jwt are set to true, enable_sds_token_mount(trustworthy jwt) takes precedence. + // This flag is used by secret discovery service(SDS). + // If set to true, envoy will fetch normal k8s service account JWT from '/var/run/secrets/kubernetes.io/serviceaccount/token' + // (https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#accessing-the-api-from-a-pod) + // and pass to sds server, which will be used to request key/cert eventually. + // If both enable_sds_token_mount and sds_use_k8s_sa_jwt are set to true, enable_sds_token_mount(trustworthy jwt) takes precedence. // This isn't supported for non-k8s case. bool sds_use_k8s_sa_jwt = 30; @@ -242,8 +242,14 @@ message MeshConfig { // supplying a ServiceDependency resource per namespace. DefaultServiceDependency default_service_dependency = 29; + // The flag instructs Pilot to allow traffic to ports for which no + // Services/Service Entries exist. In particular, it will allow traffic + // to any external service for which no internal/external Service/ + // Service Entry exist. + bool allow_traffic_to_unknown_ports = 31; + // $hide_from_docs - // Next available field number: 31 + // Next available field number: 32 } // ConfigSource describes information about a configuration store inside a diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html index c01ecef561..03ade38b79 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html @@ -315,6 +315,17 @@

MeshConfig

every service in the mesh. The default scope can be overriden by supplying a ServiceDependency resource per namespace.

+ + + +allowTrafficToUnknownPorts +bool + +

The flag instructs Pilot to allow traffic to ports for which no +Services/Service Entries exist. In particular, it will allow traffic +to any external service for which no internal/external Service/ +Service Entry exist.

+ diff --git a/python/istio_api/mesh/v1alpha1/config_pb2.py b/python/istio_api/mesh/v1alpha1/config_pb2.py index 45d2e7a478..90bc3799ea 100644 --- a/python/istio_api/mesh/v1alpha1/config_pb2.py +++ b/python/istio_api/mesh/v1alpha1/config_pb2.py @@ -22,7 +22,7 @@ name='mesh/v1alpha1/config.proto', package='istio.mesh.v1alpha1', syntax='proto3', - serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\"\x93\x0e\n\nMeshConfig\x12\x1a\n\x12mixer_check_server\x18\x01 \x01(\t\x12\x1b\n\x13mixer_report_server\x18\x02 \x01(\t\x12\x1d\n\x15\x64isable_policy_checks\x18\x03 \x01(\x08\x12\x1e\n\x16policy_check_fail_open\x18\x19 \x01(\x08\x12\x19\n\x11proxy_listen_port\x18\x04 \x01(\x05\x12\x17\n\x0fproxy_http_port\x18\x05 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x61\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\x12\x15\n\ringress_class\x18\x07 \x01(\t\x12\x17\n\x0fingress_service\x18\x08 \x01(\t\x12V\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerMode\x12\x43\n\x0b\x61uth_policy\x18\n \x01(\x0e\x32*.istio.mesh.v1alpha1.MeshConfig.AuthPolicyB\x02\x18\x01\x12\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x16\n\x0e\x65nable_tracing\x18\x0c \x01(\x08\x12\x17\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\t\x12\x19\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\t\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12Z\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyB\x02\x18\x01\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x1a\n\x12sds_use_k8s_sa_jwt\x18\x1e \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x12\\\n\x1a\x64\x65\x66\x61ult_service_dependency\x18\x1d \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency\x1a\xb5\x01\n\x15OutboundTrafficPolicy\x12L\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeB\x02\x18\x01\"N\n\x04Mode\x12\x15\n\rREGISTRY_ONLY\x10\x00\x1a\x02\x08\x01\x12\x11\n\tALLOW_ANY\x10\x01\x1a\x02\x08\x01\x12\x1c\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\x02\x08\x01\x1a\xb9\x01\n\x18\x44\x65\x66\x61ultServiceDependency\x12R\n\x0bimport_mode\x18\x01 \x01(\x0e\x32=.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency.Mode\x12\x19\n\x11import_namespaces\x18\x02 \x03(\t\".\n\x04Mode\x12\x12\n\x0e\x41LL_NAMESPACES\x10\x00\x12\x12\n\x0eSAME_NAMESPACE\x10\x01\"9\n\x15IngressControllerMode\x12\x07\n\x03OFF\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\n\n\x06STRICT\x10\x02\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettingsB\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') + serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\"\xbb\x0e\n\nMeshConfig\x12\x1a\n\x12mixer_check_server\x18\x01 \x01(\t\x12\x1b\n\x13mixer_report_server\x18\x02 \x01(\t\x12\x1d\n\x15\x64isable_policy_checks\x18\x03 \x01(\x08\x12\x1e\n\x16policy_check_fail_open\x18\x19 \x01(\x08\x12\x19\n\x11proxy_listen_port\x18\x04 \x01(\x05\x12\x17\n\x0fproxy_http_port\x18\x05 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x61\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\x12\x15\n\ringress_class\x18\x07 \x01(\t\x12\x17\n\x0fingress_service\x18\x08 \x01(\t\x12V\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerMode\x12\x43\n\x0b\x61uth_policy\x18\n \x01(\x0e\x32*.istio.mesh.v1alpha1.MeshConfig.AuthPolicyB\x02\x18\x01\x12\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x16\n\x0e\x65nable_tracing\x18\x0c \x01(\x08\x12\x17\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\t\x12\x19\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\t\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12Z\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyB\x02\x18\x01\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x1a\n\x12sds_use_k8s_sa_jwt\x18\x1e \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x12\\\n\x1a\x64\x65\x66\x61ult_service_dependency\x18\x1d \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency\x12&\n\x1e\x61llow_traffic_to_unknown_ports\x18\x1f \x01(\x08\x1a\xb5\x01\n\x15OutboundTrafficPolicy\x12L\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeB\x02\x18\x01\"N\n\x04Mode\x12\x15\n\rREGISTRY_ONLY\x10\x00\x1a\x02\x08\x01\x12\x11\n\tALLOW_ANY\x10\x01\x1a\x02\x08\x01\x12\x1c\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\x02\x08\x01\x1a\xb9\x01\n\x18\x44\x65\x66\x61ultServiceDependency\x12R\n\x0bimport_mode\x18\x01 \x01(\x0e\x32=.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency.Mode\x12\x19\n\x11import_namespaces\x18\x02 \x03(\t\".\n\x04Mode\x12\x12\n\x0e\x41LL_NAMESPACES\x10\x00\x12\x12\n\x0eSAME_NAMESPACE\x10\x01\"9\n\x15IngressControllerMode\x12\x07\n\x03OFF\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\n\n\x06STRICT\x10\x02\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettingsB\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') , dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,mesh_dot_v1alpha1_dot_proxy__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_destination__rule__pb2.DESCRIPTOR,]) @@ -49,8 +49,8 @@ ], containing_type=None, options=None, - serialized_start=1548, - serialized_end=1626, + serialized_start=1588, + serialized_end=1666, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE) @@ -71,8 +71,8 @@ ], containing_type=None, options=None, - serialized_start=1768, - serialized_end=1814, + serialized_start=1808, + serialized_end=1854, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_DEFAULTSERVICEDEPENDENCY_MODE) @@ -97,8 +97,8 @@ ], containing_type=None, options=None, - serialized_start=1816, - serialized_end=1873, + serialized_start=1856, + serialized_end=1913, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_INGRESSCONTROLLERMODE) @@ -119,8 +119,8 @@ ], containing_type=None, options=None, - serialized_start=1875, - serialized_end=1913, + serialized_start=1915, + serialized_end=1953, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_AUTHPOLICY) @@ -141,8 +141,8 @@ ], containing_type=None, options=None, - serialized_start=1915, - serialized_end=1954, + serialized_start=1955, + serialized_end=1994, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_ACCESSLOGENCODING) @@ -174,8 +174,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1445, - serialized_end=1626, + serialized_start=1485, + serialized_end=1666, ) _MESHCONFIG_DEFAULTSERVICEDEPENDENCY = _descriptor.Descriptor( @@ -212,8 +212,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1629, - serialized_end=1814, + serialized_start=1669, + serialized_end=1854, ) _MESHCONFIG = _descriptor.Descriptor( @@ -419,6 +419,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='allow_traffic_to_unknown_ports', full_name='istio.mesh.v1alpha1.MeshConfig.allow_traffic_to_unknown_ports', index=28, + number=31, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -435,7 +442,7 @@ oneofs=[ ], serialized_start=155, - serialized_end=1966, + serialized_end=2006, ) @@ -472,8 +479,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1968, - serialized_end=2061, + serialized_start=2008, + serialized_end=2101, ) _MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode'].enum_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE From d1d3a0275a29d1a0e6bac076d67d3cc59a7d0a57 Mon Sep 17 00:00:00 2001 From: Vadim Eisenberg Date: Mon, 31 Dec 2018 16:08:38 +0200 Subject: [PATCH 2/6] update proto.lock --- proto.lock | 15473 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 15473 insertions(+) diff --git a/proto.lock b/proto.lock index 5742b07542..e24fc3c199 100644 --- a/proto.lock +++ b/proto.lock @@ -849,6 +849,11 @@ "id": 29, "name": "default_service_dependency", "type": "DefaultServiceDependency" + }, + { + "id": 31, + "name": "allow_traffic_to_unknown_ports", + "type": "bool" } ], "reserved_ids": [ @@ -4845,6 +4850,15474 @@ } ] } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:_conformance:/:conformance_proto:/:conformance.proto", + "def": { + "enums": [ + { + "name": "WireFormat", + "enum_fields": [ + { + "name": "UNSPECIFIED", + "integer": 0 + }, + { + "name": "PROTOBUF", + "integer": 1 + }, + { + "name": "JSON", + "integer": 2 + } + ] + }, + { + "name": "TestAllTypes.NestedEnum", + "enum_fields": [ + { + "name": "FOO", + "integer": 0 + }, + { + "name": "BAR", + "integer": 1 + }, + { + "name": "BAZ", + "integer": 2 + }, + { + "name": "NEG", + "integer": -1 + } + ] + }, + { + "name": "ForeignEnum", + "enum_fields": [ + { + "name": "FOREIGN_FOO", + "integer": 0 + }, + { + "name": "FOREIGN_BAR", + "integer": 1 + }, + { + "name": "FOREIGN_BAZ", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "ConformanceRequest", + "fields": [ + { + "id": 1, + "name": "protobuf_payload", + "type": "bytes" + }, + { + "id": 2, + "name": "json_payload", + "type": "string" + }, + { + "id": 3, + "name": "requested_output_format", + "type": "WireFormat" + } + ] + }, + { + "name": "ConformanceResponse", + "fields": [ + { + "id": 1, + "name": "parse_error", + "type": "string" + }, + { + "id": 6, + "name": "serialize_error", + "type": "string" + }, + { + "id": 2, + "name": "runtime_error", + "type": "string" + }, + { + "id": 3, + "name": "protobuf_payload", + "type": "bytes" + }, + { + "id": 4, + "name": "json_payload", + "type": "string" + }, + { + "id": 5, + "name": "skipped", + "type": "string" + } + ] + }, + { + "name": "TestAllTypes", + "fields": [ + { + "id": 1, + "name": "optional_int32", + "type": "int32" + }, + { + "id": 2, + "name": "optional_int64", + "type": "int64" + }, + { + "id": 3, + "name": "optional_uint32", + "type": "uint32" + }, + { + "id": 4, + "name": "optional_uint64", + "type": "uint64" + }, + { + "id": 5, + "name": "optional_sint32", + "type": "sint32" + }, + { + "id": 6, + "name": "optional_sint64", + "type": "sint64" + }, + { + "id": 7, + "name": "optional_fixed32", + "type": "fixed32" + }, + { + "id": 8, + "name": "optional_fixed64", + "type": "fixed64" + }, + { + "id": 9, + "name": "optional_sfixed32", + "type": "sfixed32" + }, + { + "id": 10, + "name": "optional_sfixed64", + "type": "sfixed64" + }, + { + "id": 11, + "name": "optional_float", + "type": "float" + }, + { + "id": 12, + "name": "optional_double", + "type": "double" + }, + { + "id": 13, + "name": "optional_bool", + "type": "bool" + }, + { + "id": 14, + "name": "optional_string", + "type": "string" + }, + { + "id": 15, + "name": "optional_bytes", + "type": "bytes" + }, + { + "id": 18, + "name": "optional_nested_message", + "type": "NestedMessage" + }, + { + "id": 19, + "name": "optional_foreign_message", + "type": "ForeignMessage" + }, + { + "id": 21, + "name": "optional_nested_enum", + "type": "NestedEnum" + }, + { + "id": 22, + "name": "optional_foreign_enum", + "type": "ForeignEnum" + }, + { + "id": 24, + "name": "optional_string_piece", + "type": "string" + }, + { + "id": 25, + "name": "optional_cord", + "type": "string" + }, + { + "id": 27, + "name": "recursive_message", + "type": "TestAllTypes" + }, + { + "id": 31, + "name": "repeated_int32", + "type": "int32", + "is_repeated": true + }, + { + "id": 32, + "name": "repeated_int64", + "type": "int64", + "is_repeated": true + }, + { + "id": 33, + "name": "repeated_uint32", + "type": "uint32", + "is_repeated": true + }, + { + "id": 34, + "name": "repeated_uint64", + "type": "uint64", + "is_repeated": true + }, + { + "id": 35, + "name": "repeated_sint32", + "type": "sint32", + "is_repeated": true + }, + { + "id": 36, + "name": "repeated_sint64", + "type": "sint64", + "is_repeated": true + }, + { + "id": 37, + "name": "repeated_fixed32", + "type": "fixed32", + "is_repeated": true + }, + { + "id": 38, + "name": "repeated_fixed64", + "type": "fixed64", + "is_repeated": true + }, + { + "id": 39, + "name": "repeated_sfixed32", + "type": "sfixed32", + "is_repeated": true + }, + { + "id": 40, + "name": "repeated_sfixed64", + "type": "sfixed64", + "is_repeated": true + }, + { + "id": 41, + "name": "repeated_float", + "type": "float", + "is_repeated": true + }, + { + "id": 42, + "name": "repeated_double", + "type": "double", + "is_repeated": true + }, + { + "id": 43, + "name": "repeated_bool", + "type": "bool", + "is_repeated": true + }, + { + "id": 44, + "name": "repeated_string", + "type": "string", + "is_repeated": true + }, + { + "id": 45, + "name": "repeated_bytes", + "type": "bytes", + "is_repeated": true + }, + { + "id": 48, + "name": "repeated_nested_message", + "type": "NestedMessage", + "is_repeated": true + }, + { + "id": 49, + "name": "repeated_foreign_message", + "type": "ForeignMessage", + "is_repeated": true + }, + { + "id": 51, + "name": "repeated_nested_enum", + "type": "NestedEnum", + "is_repeated": true + }, + { + "id": 52, + "name": "repeated_foreign_enum", + "type": "ForeignEnum", + "is_repeated": true + }, + { + "id": 54, + "name": "repeated_string_piece", + "type": "string", + "is_repeated": true + }, + { + "id": 55, + "name": "repeated_cord", + "type": "string", + "is_repeated": true + }, + { + "id": 111, + "name": "oneof_uint32", + "type": "uint32" + }, + { + "id": 112, + "name": "oneof_nested_message", + "type": "NestedMessage" + }, + { + "id": 113, + "name": "oneof_string", + "type": "string" + }, + { + "id": 114, + "name": "oneof_bytes", + "type": "bytes" + }, + { + "id": 115, + "name": "oneof_bool", + "type": "bool" + }, + { + "id": 116, + "name": "oneof_uint64", + "type": "uint64" + }, + { + "id": 117, + "name": "oneof_float", + "type": "float" + }, + { + "id": 118, + "name": "oneof_double", + "type": "double" + }, + { + "id": 119, + "name": "oneof_enum", + "type": "NestedEnum" + }, + { + "id": 201, + "name": "optional_bool_wrapper", + "type": "google.protobuf.BoolValue" + }, + { + "id": 202, + "name": "optional_int32_wrapper", + "type": "google.protobuf.Int32Value" + }, + { + "id": 203, + "name": "optional_int64_wrapper", + "type": "google.protobuf.Int64Value" + }, + { + "id": 204, + "name": "optional_uint32_wrapper", + "type": "google.protobuf.UInt32Value" + }, + { + "id": 205, + "name": "optional_uint64_wrapper", + "type": "google.protobuf.UInt64Value" + }, + { + "id": 206, + "name": "optional_float_wrapper", + "type": "google.protobuf.FloatValue" + }, + { + "id": 207, + "name": "optional_double_wrapper", + "type": "google.protobuf.DoubleValue" + }, + { + "id": 208, + "name": "optional_string_wrapper", + "type": "google.protobuf.StringValue" + }, + { + "id": 209, + "name": "optional_bytes_wrapper", + "type": "google.protobuf.BytesValue" + }, + { + "id": 211, + "name": "repeated_bool_wrapper", + "type": "google.protobuf.BoolValue", + "is_repeated": true + }, + { + "id": 212, + "name": "repeated_int32_wrapper", + "type": "google.protobuf.Int32Value", + "is_repeated": true + }, + { + "id": 213, + "name": "repeated_int64_wrapper", + "type": "google.protobuf.Int64Value", + "is_repeated": true + }, + { + "id": 214, + "name": "repeated_uint32_wrapper", + "type": "google.protobuf.UInt32Value", + "is_repeated": true + }, + { + "id": 215, + "name": "repeated_uint64_wrapper", + "type": "google.protobuf.UInt64Value", + "is_repeated": true + }, + { + "id": 216, + "name": "repeated_float_wrapper", + "type": "google.protobuf.FloatValue", + "is_repeated": true + }, + { + "id": 217, + "name": "repeated_double_wrapper", + "type": "google.protobuf.DoubleValue", + "is_repeated": true + }, + { + "id": 218, + "name": "repeated_string_wrapper", + "type": "google.protobuf.StringValue", + "is_repeated": true + }, + { + "id": 219, + "name": "repeated_bytes_wrapper", + "type": "google.protobuf.BytesValue", + "is_repeated": true + }, + { + "id": 301, + "name": "optional_duration", + "type": "google.protobuf.Duration" + }, + { + "id": 302, + "name": "optional_timestamp", + "type": "google.protobuf.Timestamp" + }, + { + "id": 303, + "name": "optional_field_mask", + "type": "google.protobuf.FieldMask" + }, + { + "id": 304, + "name": "optional_struct", + "type": "google.protobuf.Struct" + }, + { + "id": 305, + "name": "optional_any", + "type": "google.protobuf.Any" + }, + { + "id": 306, + "name": "optional_value", + "type": "google.protobuf.Value" + }, + { + "id": 311, + "name": "repeated_duration", + "type": "google.protobuf.Duration", + "is_repeated": true + }, + { + "id": 312, + "name": "repeated_timestamp", + "type": "google.protobuf.Timestamp", + "is_repeated": true + }, + { + "id": 313, + "name": "repeated_fieldmask", + "type": "google.protobuf.FieldMask", + "is_repeated": true + }, + { + "id": 324, + "name": "repeated_struct", + "type": "google.protobuf.Struct", + "is_repeated": true + }, + { + "id": 315, + "name": "repeated_any", + "type": "google.protobuf.Any", + "is_repeated": true + }, + { + "id": 316, + "name": "repeated_value", + "type": "google.protobuf.Value", + "is_repeated": true + }, + { + "id": 401, + "name": "fieldname1", + "type": "int32" + }, + { + "id": 402, + "name": "field_name2", + "type": "int32" + }, + { + "id": 403, + "name": "_field_name3", + "type": "int32" + }, + { + "id": 404, + "name": "field__name4_", + "type": "int32" + }, + { + "id": 405, + "name": "field0name5", + "type": "int32" + }, + { + "id": 406, + "name": "field_0_name6", + "type": "int32" + }, + { + "id": 407, + "name": "fieldName7", + "type": "int32" + }, + { + "id": 408, + "name": "FieldName8", + "type": "int32" + }, + { + "id": 409, + "name": "field_Name9", + "type": "int32" + }, + { + "id": 410, + "name": "Field_Name10", + "type": "int32" + }, + { + "id": 411, + "name": "FIELD_NAME11", + "type": "int32" + }, + { + "id": 412, + "name": "FIELD_name12", + "type": "int32" + }, + { + "id": 413, + "name": "__field_name13", + "type": "int32" + }, + { + "id": 414, + "name": "__Field_name14", + "type": "int32" + }, + { + "id": 415, + "name": "field__name15", + "type": "int32" + }, + { + "id": 416, + "name": "field__Name16", + "type": "int32" + }, + { + "id": 417, + "name": "field_name17__", + "type": "int32" + }, + { + "id": 418, + "name": "Field_name18__", + "type": "int32" + } + ], + "maps": [ + { + "key_type": "int32", + "field": { + "id": 56, + "name": "map_int32_int32", + "type": "int32" + } + }, + { + "key_type": "int64", + "field": { + "id": 57, + "name": "map_int64_int64", + "type": "int64" + } + }, + { + "key_type": "uint32", + "field": { + "id": 58, + "name": "map_uint32_uint32", + "type": "uint32" + } + }, + { + "key_type": "uint64", + "field": { + "id": 59, + "name": "map_uint64_uint64", + "type": "uint64" + } + }, + { + "key_type": "sint32", + "field": { + "id": 60, + "name": "map_sint32_sint32", + "type": "sint32" + } + }, + { + "key_type": "sint64", + "field": { + "id": 61, + "name": "map_sint64_sint64", + "type": "sint64" + } + }, + { + "key_type": "fixed32", + "field": { + "id": 62, + "name": "map_fixed32_fixed32", + "type": "fixed32" + } + }, + { + "key_type": "fixed64", + "field": { + "id": 63, + "name": "map_fixed64_fixed64", + "type": "fixed64" + } + }, + { + "key_type": "sfixed32", + "field": { + "id": 64, + "name": "map_sfixed32_sfixed32", + "type": "sfixed32" + } + }, + { + "key_type": "sfixed64", + "field": { + "id": 65, + "name": "map_sfixed64_sfixed64", + "type": "sfixed64" + } + }, + { + "key_type": "int32", + "field": { + "id": 66, + "name": "map_int32_float", + "type": "float" + } + }, + { + "key_type": "int32", + "field": { + "id": 67, + "name": "map_int32_double", + "type": "double" + } + }, + { + "key_type": "bool", + "field": { + "id": 68, + "name": "map_bool_bool", + "type": "bool" + } + }, + { + "key_type": "string", + "field": { + "id": 69, + "name": "map_string_string", + "type": "string" + } + }, + { + "key_type": "string", + "field": { + "id": 70, + "name": "map_string_bytes", + "type": "bytes" + } + }, + { + "key_type": "string", + "field": { + "id": 71, + "name": "map_string_nested_message", + "type": "NestedMessage" + } + }, + { + "key_type": "string", + "field": { + "id": 72, + "name": "map_string_foreign_message", + "type": "ForeignMessage" + } + }, + { + "key_type": "string", + "field": { + "id": 73, + "name": "map_string_nested_enum", + "type": "NestedEnum" + } + }, + { + "key_type": "string", + "field": { + "id": 74, + "name": "map_string_foreign_enum", + "type": "ForeignEnum" + } + } + ], + "messages": [ + { + "name": "NestedMessage", + "fields": [ + { + "id": 1, + "name": "a", + "type": "int32" + }, + { + "id": 2, + "name": "corecursive", + "type": "TestAllTypes" + } + ] + } + ] + }, + { + "name": "ForeignMessage", + "fields": [ + { + "id": 1, + "name": "c", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:gogoproto:/:gogo.proto", + "def": { + "messages": [ + { + "name": "google.protobuf.EnumOptions", + "fields": [ + { + "id": 62001, + "name": "goproto_enum_prefix", + "type": "bool" + }, + { + "id": 62021, + "name": "goproto_enum_stringer", + "type": "bool" + }, + { + "id": 62022, + "name": "enum_stringer", + "type": "bool" + }, + { + "id": 62023, + "name": "enum_customname", + "type": "string" + }, + { + "id": 62024, + "name": "enumdecl", + "type": "bool" + } + ] + }, + { + "name": "google.protobuf.EnumValueOptions", + "fields": [ + { + "id": 66001, + "name": "enumvalue_customname", + "type": "string" + } + ] + }, + { + "name": "google.protobuf.FileOptions", + "fields": [ + { + "id": 63001, + "name": "goproto_getters_all", + "type": "bool" + }, + { + "id": 63002, + "name": "goproto_enum_prefix_all", + "type": "bool" + }, + { + "id": 63003, + "name": "goproto_stringer_all", + "type": "bool" + }, + { + "id": 63004, + "name": "verbose_equal_all", + "type": "bool" + }, + { + "id": 63005, + "name": "face_all", + "type": "bool" + }, + { + "id": 63006, + "name": "gostring_all", + "type": "bool" + }, + { + "id": 63007, + "name": "populate_all", + "type": "bool" + }, + { + "id": 63008, + "name": "stringer_all", + "type": "bool" + }, + { + "id": 63009, + "name": "onlyone_all", + "type": "bool" + }, + { + "id": 63013, + "name": "equal_all", + "type": "bool" + }, + { + "id": 63014, + "name": "description_all", + "type": "bool" + }, + { + "id": 63015, + "name": "testgen_all", + "type": "bool" + }, + { + "id": 63016, + "name": "benchgen_all", + "type": "bool" + }, + { + "id": 63017, + "name": "marshaler_all", + "type": "bool" + }, + { + "id": 63018, + "name": "unmarshaler_all", + "type": "bool" + }, + { + "id": 63019, + "name": "stable_marshaler_all", + "type": "bool" + }, + { + "id": 63020, + "name": "sizer_all", + "type": "bool" + }, + { + "id": 63021, + "name": "goproto_enum_stringer_all", + "type": "bool" + }, + { + "id": 63022, + "name": "enum_stringer_all", + "type": "bool" + }, + { + "id": 63023, + "name": "unsafe_marshaler_all", + "type": "bool" + }, + { + "id": 63024, + "name": "unsafe_unmarshaler_all", + "type": "bool" + }, + { + "id": 63025, + "name": "goproto_extensions_map_all", + "type": "bool" + }, + { + "id": 63026, + "name": "goproto_unrecognized_all", + "type": "bool" + }, + { + "id": 63027, + "name": "gogoproto_import", + "type": "bool" + }, + { + "id": 63028, + "name": "protosizer_all", + "type": "bool" + }, + { + "id": 63029, + "name": "compare_all", + "type": "bool" + }, + { + "id": 63030, + "name": "typedecl_all", + "type": "bool" + }, + { + "id": 63031, + "name": "enumdecl_all", + "type": "bool" + }, + { + "id": 63032, + "name": "goproto_registration", + "type": "bool" + } + ] + }, + { + "name": "google.protobuf.MessageOptions", + "fields": [ + { + "id": 64001, + "name": "goproto_getters", + "type": "bool" + }, + { + "id": 64003, + "name": "goproto_stringer", + "type": "bool" + }, + { + "id": 64004, + "name": "verbose_equal", + "type": "bool" + }, + { + "id": 64005, + "name": "face", + "type": "bool" + }, + { + "id": 64006, + "name": "gostring", + "type": "bool" + }, + { + "id": 64007, + "name": "populate", + "type": "bool" + }, + { + "id": 67008, + "name": "stringer", + "type": "bool" + }, + { + "id": 64009, + "name": "onlyone", + "type": "bool" + }, + { + "id": 64013, + "name": "equal", + "type": "bool" + }, + { + "id": 64014, + "name": "description", + "type": "bool" + }, + { + "id": 64015, + "name": "testgen", + "type": "bool" + }, + { + "id": 64016, + "name": "benchgen", + "type": "bool" + }, + { + "id": 64017, + "name": "marshaler", + "type": "bool" + }, + { + "id": 64018, + "name": "unmarshaler", + "type": "bool" + }, + { + "id": 64019, + "name": "stable_marshaler", + "type": "bool" + }, + { + "id": 64020, + "name": "sizer", + "type": "bool" + }, + { + "id": 64023, + "name": "unsafe_marshaler", + "type": "bool" + }, + { + "id": 64024, + "name": "unsafe_unmarshaler", + "type": "bool" + }, + { + "id": 64025, + "name": "goproto_extensions_map", + "type": "bool" + }, + { + "id": 64026, + "name": "goproto_unrecognized", + "type": "bool" + }, + { + "id": 64028, + "name": "protosizer", + "type": "bool" + }, + { + "id": 64029, + "name": "compare", + "type": "bool" + }, + { + "id": 64030, + "name": "typedecl", + "type": "bool" + } + ] + }, + { + "name": "google.protobuf.FieldOptions", + "fields": [ + { + "id": 65001, + "name": "nullable", + "type": "bool" + }, + { + "id": 65002, + "name": "embed", + "type": "bool" + }, + { + "id": 65003, + "name": "customtype", + "type": "string" + }, + { + "id": 65004, + "name": "customname", + "type": "string" + }, + { + "id": 65005, + "name": "jsontag", + "type": "string" + }, + { + "id": 65006, + "name": "moretags", + "type": "string" + }, + { + "id": 65007, + "name": "casttype", + "type": "string" + }, + { + "id": 65008, + "name": "castkey", + "type": "string" + }, + { + "id": 65009, + "name": "castvalue", + "type": "string" + }, + { + "id": 65010, + "name": "stdtime", + "type": "bool" + }, + { + "id": 65011, + "name": "stdduration", + "type": "bool" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:jsonpb:/:jsonpb_test_proto:/:more_test_objects.proto", + "def": { + "enums": [ + { + "name": "Numeral", + "enum_fields": [ + { + "name": "UNKNOWN", + "integer": 0 + }, + { + "name": "ARABIC", + "integer": 1 + }, + { + "name": "ROMAN", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "Simple3", + "fields": [ + { + "id": 1, + "name": "dub", + "type": "double" + } + ] + }, + { + "name": "SimpleSlice3", + "fields": [ + { + "id": 1, + "name": "slices", + "type": "string", + "is_repeated": true + } + ] + }, + { + "name": "SimpleMap3", + "maps": [ + { + "key_type": "string", + "field": { + "id": 1, + "name": "stringy", + "type": "string" + } + } + ] + }, + { + "name": "SimpleNull3", + "fields": [ + { + "id": 1, + "name": "simple", + "type": "Simple3" + } + ] + }, + { + "name": "Mappy", + "maps": [ + { + "key_type": "int64", + "field": { + "id": 1, + "name": "nummy", + "type": "int32" + } + }, + { + "key_type": "string", + "field": { + "id": 2, + "name": "strry", + "type": "string" + } + }, + { + "key_type": "int32", + "field": { + "id": 3, + "name": "objjy", + "type": "Simple3" + } + }, + { + "key_type": "int64", + "field": { + "id": 4, + "name": "buggy", + "type": "string" + } + }, + { + "key_type": "bool", + "field": { + "id": 5, + "name": "booly", + "type": "bool" + } + }, + { + "key_type": "string", + "field": { + "id": 6, + "name": "enumy", + "type": "Numeral" + } + }, + { + "key_type": "int32", + "field": { + "id": 7, + "name": "s32booly", + "type": "bool" + } + }, + { + "key_type": "int64", + "field": { + "id": 8, + "name": "s64booly", + "type": "bool" + } + }, + { + "key_type": "uint32", + "field": { + "id": 9, + "name": "u32booly", + "type": "bool" + } + }, + { + "key_type": "uint64", + "field": { + "id": 10, + "name": "u64booly", + "type": "bool" + } + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:jsonpb:/:jsonpb_test_proto:/:test_objects.proto", + "def": { + "enums": [ + { + "name": "Widget.Color", + "enum_fields": [ + { + "name": "RED", + "integer": 0 + }, + { + "name": "GREEN", + "integer": 1 + }, + { + "name": "BLUE", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "Simple", + "fields": [ + { + "id": 1, + "name": "o_bool", + "type": "bool" + }, + { + "id": 2, + "name": "o_int32", + "type": "int32" + }, + { + "id": 3, + "name": "o_int64", + "type": "int64" + }, + { + "id": 4, + "name": "o_uint32", + "type": "uint32" + }, + { + "id": 5, + "name": "o_uint64", + "type": "uint64" + }, + { + "id": 6, + "name": "o_sint32", + "type": "sint32" + }, + { + "id": 7, + "name": "o_sint64", + "type": "sint64" + }, + { + "id": 8, + "name": "o_float", + "type": "float" + }, + { + "id": 9, + "name": "o_double", + "type": "double" + }, + { + "id": 10, + "name": "o_string", + "type": "string" + }, + { + "id": 11, + "name": "o_bytes", + "type": "bytes" + }, + { + "id": 12, + "name": "o_cast_bytes", + "type": "bytes" + } + ] + }, + { + "name": "NonFinites", + "fields": [ + { + "id": 1, + "name": "f_nan", + "type": "float" + }, + { + "id": 2, + "name": "f_pinf", + "type": "float" + }, + { + "id": 3, + "name": "f_ninf", + "type": "float" + }, + { + "id": 4, + "name": "d_nan", + "type": "double" + }, + { + "id": 5, + "name": "d_pinf", + "type": "double" + }, + { + "id": 6, + "name": "d_ninf", + "type": "double" + } + ] + }, + { + "name": "Repeats", + "fields": [ + { + "id": 1, + "name": "r_bool", + "type": "bool", + "is_repeated": true + }, + { + "id": 2, + "name": "r_int32", + "type": "int32", + "is_repeated": true + }, + { + "id": 3, + "name": "r_int64", + "type": "int64", + "is_repeated": true + }, + { + "id": 4, + "name": "r_uint32", + "type": "uint32", + "is_repeated": true + }, + { + "id": 5, + "name": "r_uint64", + "type": "uint64", + "is_repeated": true + }, + { + "id": 6, + "name": "r_sint32", + "type": "sint32", + "is_repeated": true + }, + { + "id": 7, + "name": "r_sint64", + "type": "sint64", + "is_repeated": true + }, + { + "id": 8, + "name": "r_float", + "type": "float", + "is_repeated": true + }, + { + "id": 9, + "name": "r_double", + "type": "double", + "is_repeated": true + }, + { + "id": 10, + "name": "r_string", + "type": "string", + "is_repeated": true + }, + { + "id": 11, + "name": "r_bytes", + "type": "bytes", + "is_repeated": true + } + ] + }, + { + "name": "Widget", + "fields": [ + { + "id": 1, + "name": "color", + "type": "Color" + }, + { + "id": 2, + "name": "r_color", + "type": "Color", + "is_repeated": true + }, + { + "id": 10, + "name": "simple", + "type": "Simple" + }, + { + "id": 11, + "name": "r_simple", + "type": "Simple", + "is_repeated": true + }, + { + "id": 20, + "name": "repeats", + "type": "Repeats" + }, + { + "id": 21, + "name": "r_repeats", + "type": "Repeats", + "is_repeated": true + } + ] + }, + { + "name": "Maps", + "maps": [ + { + "key_type": "int64", + "field": { + "id": 1, + "name": "m_int64_str", + "type": "string" + } + }, + { + "key_type": "bool", + "field": { + "id": 2, + "name": "m_bool_simple", + "type": "Simple" + } + } + ] + }, + { + "name": "MsgWithOneof", + "fields": [ + { + "id": 1, + "name": "title", + "type": "string" + }, + { + "id": 2, + "name": "salary", + "type": "int64" + }, + { + "id": 3, + "name": "Country", + "type": "string" + }, + { + "id": 4, + "name": "home_address", + "type": "string" + } + ] + }, + { + "name": "Real", + "fields": [ + { + "id": 1, + "name": "value", + "type": "double" + } + ] + }, + { + "name": "Real", + "fields": [ + { + "id": 124, + "name": "name", + "type": "string" + } + ] + }, + { + "name": "Complex", + "fields": [ + { + "id": 1, + "name": "imaginary", + "type": "double" + } + ], + "messages": [ + { + "name": "Real", + "fields": [ + { + "id": 123, + "name": "real_extension", + "type": "Complex" + } + ] + } + ] + }, + { + "name": "KnownTypes", + "fields": [ + { + "id": 14, + "name": "an", + "type": "google.protobuf.Any" + }, + { + "id": 1, + "name": "dur", + "type": "google.protobuf.Duration" + }, + { + "id": 12, + "name": "st", + "type": "google.protobuf.Struct" + }, + { + "id": 2, + "name": "ts", + "type": "google.protobuf.Timestamp" + }, + { + "id": 15, + "name": "lv", + "type": "google.protobuf.ListValue" + }, + { + "id": 16, + "name": "val", + "type": "google.protobuf.Value" + }, + { + "id": 3, + "name": "dbl", + "type": "google.protobuf.DoubleValue" + }, + { + "id": 4, + "name": "flt", + "type": "google.protobuf.FloatValue" + }, + { + "id": 5, + "name": "i64", + "type": "google.protobuf.Int64Value" + }, + { + "id": 6, + "name": "u64", + "type": "google.protobuf.UInt64Value" + }, + { + "id": 7, + "name": "i32", + "type": "google.protobuf.Int32Value" + }, + { + "id": 8, + "name": "u32", + "type": "google.protobuf.UInt32Value" + }, + { + "id": 9, + "name": "bool", + "type": "google.protobuf.BoolValue" + }, + { + "id": 10, + "name": "str", + "type": "google.protobuf.StringValue" + }, + { + "id": 11, + "name": "bytes", + "type": "google.protobuf.BytesValue" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:proto:/:proto3_proto:/:proto3.proto", + "def": { + "enums": [ + { + "name": "Message.Humour", + "enum_fields": [ + { + "name": "UNKNOWN", + "integer": 0 + }, + { + "name": "PUNS", + "integer": 1 + }, + { + "name": "SLAPSTICK", + "integer": 2 + }, + { + "name": "BILL_BAILEY", + "integer": 3 + } + ] + } + ], + "messages": [ + { + "name": "Message", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "hilarity", + "type": "Humour" + }, + { + "id": 3, + "name": "height_in_cm", + "type": "uint32" + }, + { + "id": 4, + "name": "data", + "type": "bytes" + }, + { + "id": 7, + "name": "result_count", + "type": "int64" + }, + { + "id": 8, + "name": "true_scotsman", + "type": "bool" + }, + { + "id": 9, + "name": "score", + "type": "float" + }, + { + "id": 5, + "name": "key", + "type": "uint64", + "is_repeated": true + }, + { + "id": 19, + "name": "short_key", + "type": "int32", + "is_repeated": true + }, + { + "id": 6, + "name": "nested", + "type": "Nested" + }, + { + "id": 16, + "name": "r_funny", + "type": "Humour", + "is_repeated": true + }, + { + "id": 11, + "name": "proto2_field", + "type": "testdata.SubDefaults" + }, + { + "id": 14, + "name": "anything", + "type": "google.protobuf.Any" + }, + { + "id": 15, + "name": "many_things", + "type": "google.protobuf.Any", + "is_repeated": true + }, + { + "id": 17, + "name": "submessage", + "type": "Message" + }, + { + "id": 18, + "name": "children", + "type": "Message", + "is_repeated": true + } + ], + "maps": [ + { + "key_type": "string", + "field": { + "id": 10, + "name": "terrain", + "type": "Nested" + } + }, + { + "key_type": "string", + "field": { + "id": 13, + "name": "proto2_value", + "type": "testdata.SubDefaults" + } + } + ] + }, + { + "name": "Nested", + "fields": [ + { + "id": 1, + "name": "bunny", + "type": "string" + }, + { + "id": 2, + "name": "cute", + "type": "bool" + } + ] + }, + { + "name": "MessageWithMap", + "maps": [ + { + "key_type": "bool", + "field": { + "id": 1, + "name": "byte_mapping", + "type": "bytes" + } + } + ] + }, + { + "name": "IntMap", + "maps": [ + { + "key_type": "int32", + "field": { + "id": 1, + "name": "rtt", + "type": "int32" + } + } + ] + }, + { + "name": "IntMaps", + "fields": [ + { + "id": 1, + "name": "maps", + "type": "IntMap", + "is_repeated": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:proto:/:testdata:/:test.proto", + "def": { + "enums": [ + { + "name": "FOO", + "enum_fields": [ + { + "name": "FOO1", + "integer": 1 + } + ] + }, + { + "name": "GoTest.KIND", + "enum_fields": [ + { + "name": "VOID", + "integer": 0 + }, + { + "name": "BOOL", + "integer": 1 + }, + { + "name": "BYTES", + "integer": 2 + }, + { + "name": "FINGERPRINT", + "integer": 3 + }, + { + "name": "FLOAT", + "integer": 4 + }, + { + "name": "INT", + "integer": 5 + }, + { + "name": "STRING", + "integer": 6 + }, + { + "name": "TIME", + "integer": 7 + }, + { + "name": "TUPLE", + "integer": 8 + }, + { + "name": "ARRAY", + "integer": 9 + }, + { + "name": "MAP", + "integer": 10 + }, + { + "name": "TABLE", + "integer": 11 + }, + { + "name": "FUNCTION", + "integer": 12 + } + ] + }, + { + "name": "MyMessage.Color", + "enum_fields": [ + { + "name": "RED", + "integer": 0 + }, + { + "name": "GREEN", + "integer": 1 + }, + { + "name": "BLUE", + "integer": 2 + } + ] + }, + { + "name": "DefaultsMessage.DefaultsEnum", + "enum_fields": [ + { + "name": "ZERO", + "integer": 0 + }, + { + "name": "ONE", + "integer": 1 + }, + { + "name": "TWO", + "integer": 2 + } + ] + }, + { + "name": "Defaults.Color", + "enum_fields": [ + { + "name": "RED", + "integer": 0 + }, + { + "name": "GREEN", + "integer": 1 + }, + { + "name": "BLUE", + "integer": 2 + } + ] + }, + { + "name": "RepeatedEnum.Color", + "enum_fields": [ + { + "name": "RED", + "integer": 1 + } + ] + } + ], + "messages": [ + { + "name": "GoEnum", + "fields": [ + { + "id": 1, + "name": "foo", + "type": "FOO" + } + ] + }, + { + "name": "GoTestField", + "fields": [ + { + "id": 1, + "name": "Label", + "type": "string" + }, + { + "id": 2, + "name": "Type", + "type": "string" + } + ] + }, + { + "name": "GoTest", + "fields": [ + { + "id": 1, + "name": "Kind", + "type": "KIND" + }, + { + "id": 2, + "name": "Table", + "type": "string" + }, + { + "id": 3, + "name": "Param", + "type": "int32" + }, + { + "id": 4, + "name": "RequiredField", + "type": "GoTestField" + }, + { + "id": 5, + "name": "RepeatedField", + "type": "GoTestField", + "is_repeated": true + }, + { + "id": 6, + "name": "OptionalField", + "type": "GoTestField" + }, + { + "id": 10, + "name": "F_Bool_required", + "type": "bool" + }, + { + "id": 11, + "name": "F_Int32_required", + "type": "int32" + }, + { + "id": 12, + "name": "F_Int64_required", + "type": "int64" + }, + { + "id": 13, + "name": "F_Fixed32_required", + "type": "fixed32" + }, + { + "id": 14, + "name": "F_Fixed64_required", + "type": "fixed64" + }, + { + "id": 15, + "name": "F_Uint32_required", + "type": "uint32" + }, + { + "id": 16, + "name": "F_Uint64_required", + "type": "uint64" + }, + { + "id": 17, + "name": "F_Float_required", + "type": "float" + }, + { + "id": 18, + "name": "F_Double_required", + "type": "double" + }, + { + "id": 19, + "name": "F_String_required", + "type": "string" + }, + { + "id": 101, + "name": "F_Bytes_required", + "type": "bytes" + }, + { + "id": 102, + "name": "F_Sint32_required", + "type": "sint32" + }, + { + "id": 103, + "name": "F_Sint64_required", + "type": "sint64" + }, + { + "id": 20, + "name": "F_Bool_repeated", + "type": "bool", + "is_repeated": true + }, + { + "id": 21, + "name": "F_Int32_repeated", + "type": "int32", + "is_repeated": true + }, + { + "id": 22, + "name": "F_Int64_repeated", + "type": "int64", + "is_repeated": true + }, + { + "id": 23, + "name": "F_Fixed32_repeated", + "type": "fixed32", + "is_repeated": true + }, + { + "id": 24, + "name": "F_Fixed64_repeated", + "type": "fixed64", + "is_repeated": true + }, + { + "id": 25, + "name": "F_Uint32_repeated", + "type": "uint32", + "is_repeated": true + }, + { + "id": 26, + "name": "F_Uint64_repeated", + "type": "uint64", + "is_repeated": true + }, + { + "id": 27, + "name": "F_Float_repeated", + "type": "float", + "is_repeated": true + }, + { + "id": 28, + "name": "F_Double_repeated", + "type": "double", + "is_repeated": true + }, + { + "id": 29, + "name": "F_String_repeated", + "type": "string", + "is_repeated": true + }, + { + "id": 201, + "name": "F_Bytes_repeated", + "type": "bytes", + "is_repeated": true + }, + { + "id": 202, + "name": "F_Sint32_repeated", + "type": "sint32", + "is_repeated": true + }, + { + "id": 203, + "name": "F_Sint64_repeated", + "type": "sint64", + "is_repeated": true + }, + { + "id": 30, + "name": "F_Bool_optional", + "type": "bool" + }, + { + "id": 31, + "name": "F_Int32_optional", + "type": "int32" + }, + { + "id": 32, + "name": "F_Int64_optional", + "type": "int64" + }, + { + "id": 33, + "name": "F_Fixed32_optional", + "type": "fixed32" + }, + { + "id": 34, + "name": "F_Fixed64_optional", + "type": "fixed64" + }, + { + "id": 35, + "name": "F_Uint32_optional", + "type": "uint32" + }, + { + "id": 36, + "name": "F_Uint64_optional", + "type": "uint64" + }, + { + "id": 37, + "name": "F_Float_optional", + "type": "float" + }, + { + "id": 38, + "name": "F_Double_optional", + "type": "double" + }, + { + "id": 39, + "name": "F_String_optional", + "type": "string" + }, + { + "id": 301, + "name": "F_Bytes_optional", + "type": "bytes" + }, + { + "id": 302, + "name": "F_Sint32_optional", + "type": "sint32" + }, + { + "id": 303, + "name": "F_Sint64_optional", + "type": "sint64" + }, + { + "id": 40, + "name": "F_Bool_defaulted", + "type": "bool" + }, + { + "id": 41, + "name": "F_Int32_defaulted", + "type": "int32" + }, + { + "id": 42, + "name": "F_Int64_defaulted", + "type": "int64" + }, + { + "id": 43, + "name": "F_Fixed32_defaulted", + "type": "fixed32" + }, + { + "id": 44, + "name": "F_Fixed64_defaulted", + "type": "fixed64" + }, + { + "id": 45, + "name": "F_Uint32_defaulted", + "type": "uint32" + }, + { + "id": 46, + "name": "F_Uint64_defaulted", + "type": "uint64" + }, + { + "id": 47, + "name": "F_Float_defaulted", + "type": "float" + }, + { + "id": 48, + "name": "F_Double_defaulted", + "type": "double" + }, + { + "id": 49, + "name": "F_String_defaulted", + "type": "string" + }, + { + "id": 401, + "name": "F_Bytes_defaulted", + "type": "bytes" + }, + { + "id": 402, + "name": "F_Sint32_defaulted", + "type": "sint32" + }, + { + "id": 403, + "name": "F_Sint64_defaulted", + "type": "sint64" + }, + { + "id": 50, + "name": "F_Bool_repeated_packed", + "type": "bool", + "is_repeated": true + }, + { + "id": 51, + "name": "F_Int32_repeated_packed", + "type": "int32", + "is_repeated": true + }, + { + "id": 52, + "name": "F_Int64_repeated_packed", + "type": "int64", + "is_repeated": true + }, + { + "id": 53, + "name": "F_Fixed32_repeated_packed", + "type": "fixed32", + "is_repeated": true + }, + { + "id": 54, + "name": "F_Fixed64_repeated_packed", + "type": "fixed64", + "is_repeated": true + }, + { + "id": 55, + "name": "F_Uint32_repeated_packed", + "type": "uint32", + "is_repeated": true + }, + { + "id": 56, + "name": "F_Uint64_repeated_packed", + "type": "uint64", + "is_repeated": true + }, + { + "id": 57, + "name": "F_Float_repeated_packed", + "type": "float", + "is_repeated": true + }, + { + "id": 58, + "name": "F_Double_repeated_packed", + "type": "double", + "is_repeated": true + }, + { + "id": 502, + "name": "F_Sint32_repeated_packed", + "type": "sint32", + "is_repeated": true + }, + { + "id": 503, + "name": "F_Sint64_repeated_packed", + "type": "sint64", + "is_repeated": true + } + ] + }, + { + "name": "GoTestRequiredGroupField" + }, + { + "name": "GoSkipTest", + "fields": [ + { + "id": 11, + "name": "skip_int32", + "type": "int32" + }, + { + "id": 12, + "name": "skip_fixed32", + "type": "fixed32" + }, + { + "id": 13, + "name": "skip_fixed64", + "type": "fixed64" + }, + { + "id": 14, + "name": "skip_string", + "type": "string" + } + ] + }, + { + "name": "NonPackedTest", + "fields": [ + { + "id": 1, + "name": "a", + "type": "int32", + "is_repeated": true + } + ] + }, + { + "name": "PackedTest", + "fields": [ + { + "id": 1, + "name": "b", + "type": "int32", + "is_repeated": true + } + ] + }, + { + "name": "MaxTag", + "fields": [ + { + "id": 536870911, + "name": "last_field", + "type": "string" + } + ] + }, + { + "name": "OldMessage", + "fields": [ + { + "id": 1, + "name": "nested", + "type": "Nested" + }, + { + "id": 2, + "name": "num", + "type": "int32" + } + ], + "messages": [ + { + "name": "Nested", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + } + ] + } + ] + }, + { + "name": "NewMessage", + "fields": [ + { + "id": 1, + "name": "nested", + "type": "Nested" + }, + { + "id": 2, + "name": "num", + "type": "int64" + } + ], + "messages": [ + { + "name": "Nested", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "food_group", + "type": "string" + } + ] + } + ] + }, + { + "name": "InnerMessage", + "fields": [ + { + "id": 1, + "name": "host", + "type": "string" + }, + { + "id": 2, + "name": "port", + "type": "int32" + }, + { + "id": 3, + "name": "connected", + "type": "bool" + } + ] + }, + { + "name": "OtherMessage", + "fields": [ + { + "id": 1, + "name": "key", + "type": "int64" + }, + { + "id": 2, + "name": "value", + "type": "bytes" + }, + { + "id": 3, + "name": "weight", + "type": "float" + }, + { + "id": 4, + "name": "inner", + "type": "InnerMessage" + } + ] + }, + { + "name": "RequiredInnerMessage", + "fields": [ + { + "id": 1, + "name": "leo_finally_won_an_oscar", + "type": "InnerMessage" + } + ] + }, + { + "name": "MyMessage", + "fields": [ + { + "id": 1, + "name": "count", + "type": "int32" + }, + { + "id": 2, + "name": "name", + "type": "string" + }, + { + "id": 3, + "name": "quote", + "type": "string" + }, + { + "id": 4, + "name": "pet", + "type": "string", + "is_repeated": true + }, + { + "id": 5, + "name": "inner", + "type": "InnerMessage" + }, + { + "id": 6, + "name": "others", + "type": "OtherMessage", + "is_repeated": true + }, + { + "id": 13, + "name": "we_must_go_deeper", + "type": "RequiredInnerMessage" + }, + { + "id": 12, + "name": "rep_inner", + "type": "InnerMessage", + "is_repeated": true + }, + { + "id": 7, + "name": "bikeshed", + "type": "Color" + }, + { + "id": 10, + "name": "rep_bytes", + "type": "bytes", + "is_repeated": true + }, + { + "id": 11, + "name": "bigfloat", + "type": "double" + } + ] + }, + { + "name": "Ext", + "fields": [ + { + "id": 1, + "name": "data", + "type": "string" + } + ], + "messages": [ + { + "name": "MyMessage", + "fields": [ + { + "id": 103, + "name": "more", + "type": "Ext" + }, + { + "id": 104, + "name": "text", + "type": "string" + }, + { + "id": 105, + "name": "number", + "type": "int32" + } + ] + } + ] + }, + { + "name": "MyMessage", + "fields": [ + { + "id": 106, + "name": "greeting", + "type": "string", + "is_repeated": true + } + ] + }, + { + "name": "ComplexExtension", + "fields": [ + { + "id": 1, + "name": "first", + "type": "int32" + }, + { + "id": 2, + "name": "second", + "type": "int32" + }, + { + "id": 3, + "name": "third", + "type": "int32", + "is_repeated": true + } + ] + }, + { + "name": "OtherMessage", + "fields": [ + { + "id": 200, + "name": "complex", + "type": "ComplexExtension" + }, + { + "id": 201, + "name": "r_complex", + "type": "ComplexExtension", + "is_repeated": true + } + ] + }, + { + "name": "DefaultsMessage" + }, + { + "name": "DefaultsMessage", + "fields": [ + { + "id": 101, + "name": "no_default_double", + "type": "double" + }, + { + "id": 102, + "name": "no_default_float", + "type": "float" + }, + { + "id": 103, + "name": "no_default_int32", + "type": "int32" + }, + { + "id": 104, + "name": "no_default_int64", + "type": "int64" + }, + { + "id": 105, + "name": "no_default_uint32", + "type": "uint32" + }, + { + "id": 106, + "name": "no_default_uint64", + "type": "uint64" + }, + { + "id": 107, + "name": "no_default_sint32", + "type": "sint32" + }, + { + "id": 108, + "name": "no_default_sint64", + "type": "sint64" + }, + { + "id": 109, + "name": "no_default_fixed32", + "type": "fixed32" + }, + { + "id": 110, + "name": "no_default_fixed64", + "type": "fixed64" + }, + { + "id": 111, + "name": "no_default_sfixed32", + "type": "sfixed32" + }, + { + "id": 112, + "name": "no_default_sfixed64", + "type": "sfixed64" + }, + { + "id": 113, + "name": "no_default_bool", + "type": "bool" + }, + { + "id": 114, + "name": "no_default_string", + "type": "string" + }, + { + "id": 115, + "name": "no_default_bytes", + "type": "bytes" + }, + { + "id": 116, + "name": "no_default_enum", + "type": "DefaultsMessage.DefaultsEnum" + }, + { + "id": 201, + "name": "default_double", + "type": "double" + }, + { + "id": 202, + "name": "default_float", + "type": "float" + }, + { + "id": 203, + "name": "default_int32", + "type": "int32" + }, + { + "id": 204, + "name": "default_int64", + "type": "int64" + }, + { + "id": 205, + "name": "default_uint32", + "type": "uint32" + }, + { + "id": 206, + "name": "default_uint64", + "type": "uint64" + }, + { + "id": 207, + "name": "default_sint32", + "type": "sint32" + }, + { + "id": 208, + "name": "default_sint64", + "type": "sint64" + }, + { + "id": 209, + "name": "default_fixed32", + "type": "fixed32" + }, + { + "id": 210, + "name": "default_fixed64", + "type": "fixed64" + }, + { + "id": 211, + "name": "default_sfixed32", + "type": "sfixed32" + }, + { + "id": 212, + "name": "default_sfixed64", + "type": "sfixed64" + }, + { + "id": 213, + "name": "default_bool", + "type": "bool" + }, + { + "id": 214, + "name": "default_string", + "type": "string" + }, + { + "id": 215, + "name": "default_bytes", + "type": "bytes" + }, + { + "id": 216, + "name": "default_enum", + "type": "DefaultsMessage.DefaultsEnum" + } + ] + }, + { + "name": "MyMessageSet" + }, + { + "name": "Empty" + }, + { + "name": "MyMessageSet", + "fields": [ + { + "id": 201, + "name": "x201", + "type": "Empty" + }, + { + "id": 202, + "name": "x202", + "type": "Empty" + }, + { + "id": 203, + "name": "x203", + "type": "Empty" + }, + { + "id": 204, + "name": "x204", + "type": "Empty" + }, + { + "id": 205, + "name": "x205", + "type": "Empty" + }, + { + "id": 206, + "name": "x206", + "type": "Empty" + }, + { + "id": 207, + "name": "x207", + "type": "Empty" + }, + { + "id": 208, + "name": "x208", + "type": "Empty" + }, + { + "id": 209, + "name": "x209", + "type": "Empty" + }, + { + "id": 210, + "name": "x210", + "type": "Empty" + }, + { + "id": 211, + "name": "x211", + "type": "Empty" + }, + { + "id": 212, + "name": "x212", + "type": "Empty" + }, + { + "id": 213, + "name": "x213", + "type": "Empty" + }, + { + "id": 214, + "name": "x214", + "type": "Empty" + }, + { + "id": 215, + "name": "x215", + "type": "Empty" + }, + { + "id": 216, + "name": "x216", + "type": "Empty" + }, + { + "id": 217, + "name": "x217", + "type": "Empty" + }, + { + "id": 218, + "name": "x218", + "type": "Empty" + }, + { + "id": 219, + "name": "x219", + "type": "Empty" + }, + { + "id": 220, + "name": "x220", + "type": "Empty" + }, + { + "id": 221, + "name": "x221", + "type": "Empty" + }, + { + "id": 222, + "name": "x222", + "type": "Empty" + }, + { + "id": 223, + "name": "x223", + "type": "Empty" + }, + { + "id": 224, + "name": "x224", + "type": "Empty" + }, + { + "id": 225, + "name": "x225", + "type": "Empty" + }, + { + "id": 226, + "name": "x226", + "type": "Empty" + }, + { + "id": 227, + "name": "x227", + "type": "Empty" + }, + { + "id": 228, + "name": "x228", + "type": "Empty" + }, + { + "id": 229, + "name": "x229", + "type": "Empty" + }, + { + "id": 230, + "name": "x230", + "type": "Empty" + }, + { + "id": 231, + "name": "x231", + "type": "Empty" + }, + { + "id": 232, + "name": "x232", + "type": "Empty" + }, + { + "id": 233, + "name": "x233", + "type": "Empty" + }, + { + "id": 234, + "name": "x234", + "type": "Empty" + }, + { + "id": 235, + "name": "x235", + "type": "Empty" + }, + { + "id": 236, + "name": "x236", + "type": "Empty" + }, + { + "id": 237, + "name": "x237", + "type": "Empty" + }, + { + "id": 238, + "name": "x238", + "type": "Empty" + }, + { + "id": 239, + "name": "x239", + "type": "Empty" + }, + { + "id": 240, + "name": "x240", + "type": "Empty" + }, + { + "id": 241, + "name": "x241", + "type": "Empty" + }, + { + "id": 242, + "name": "x242", + "type": "Empty" + }, + { + "id": 243, + "name": "x243", + "type": "Empty" + }, + { + "id": 244, + "name": "x244", + "type": "Empty" + }, + { + "id": 245, + "name": "x245", + "type": "Empty" + }, + { + "id": 246, + "name": "x246", + "type": "Empty" + }, + { + "id": 247, + "name": "x247", + "type": "Empty" + }, + { + "id": 248, + "name": "x248", + "type": "Empty" + }, + { + "id": 249, + "name": "x249", + "type": "Empty" + }, + { + "id": 250, + "name": "x250", + "type": "Empty" + } + ] + }, + { + "name": "MessageList" + }, + { + "name": "Strings", + "fields": [ + { + "id": 1, + "name": "string_field", + "type": "string" + }, + { + "id": 2, + "name": "bytes_field", + "type": "bytes" + } + ] + }, + { + "name": "Defaults", + "fields": [ + { + "id": 1, + "name": "F_Bool", + "type": "bool" + }, + { + "id": 2, + "name": "F_Int32", + "type": "int32" + }, + { + "id": 3, + "name": "F_Int64", + "type": "int64" + }, + { + "id": 4, + "name": "F_Fixed32", + "type": "fixed32" + }, + { + "id": 5, + "name": "F_Fixed64", + "type": "fixed64" + }, + { + "id": 6, + "name": "F_Uint32", + "type": "uint32" + }, + { + "id": 7, + "name": "F_Uint64", + "type": "uint64" + }, + { + "id": 8, + "name": "F_Float", + "type": "float" + }, + { + "id": 9, + "name": "F_Double", + "type": "double" + }, + { + "id": 10, + "name": "F_String", + "type": "string" + }, + { + "id": 11, + "name": "F_Bytes", + "type": "bytes" + }, + { + "id": 12, + "name": "F_Sint32", + "type": "sint32" + }, + { + "id": 13, + "name": "F_Sint64", + "type": "sint64" + }, + { + "id": 14, + "name": "F_Enum", + "type": "Color" + }, + { + "id": 15, + "name": "F_Pinf", + "type": "float" + }, + { + "id": 16, + "name": "F_Ninf", + "type": "float" + }, + { + "id": 17, + "name": "F_Nan", + "type": "float" + }, + { + "id": 18, + "name": "sub", + "type": "SubDefaults" + }, + { + "id": 19, + "name": "str_zero", + "type": "string" + } + ] + }, + { + "name": "SubDefaults", + "fields": [ + { + "id": 1, + "name": "n", + "type": "int64" + } + ] + }, + { + "name": "RepeatedEnum", + "fields": [ + { + "id": 1, + "name": "color", + "type": "Color", + "is_repeated": true + } + ] + }, + { + "name": "MoreRepeated", + "fields": [ + { + "id": 1, + "name": "bools", + "type": "bool", + "is_repeated": true + }, + { + "id": 2, + "name": "bools_packed", + "type": "bool", + "is_repeated": true + }, + { + "id": 3, + "name": "ints", + "type": "int32", + "is_repeated": true + }, + { + "id": 4, + "name": "ints_packed", + "type": "int32", + "is_repeated": true + }, + { + "id": 7, + "name": "int64s_packed", + "type": "int64", + "is_repeated": true + }, + { + "id": 5, + "name": "strings", + "type": "string", + "is_repeated": true + }, + { + "id": 6, + "name": "fixeds", + "type": "fixed32", + "is_repeated": true + } + ] + }, + { + "name": "GroupOld" + }, + { + "name": "GroupNew" + }, + { + "name": "FloatingPoint", + "fields": [ + { + "id": 1, + "name": "f", + "type": "double" + }, + { + "id": 2, + "name": "exact", + "type": "bool" + } + ] + }, + { + "name": "MessageWithMap", + "maps": [ + { + "key_type": "int32", + "field": { + "id": 1, + "name": "name_mapping", + "type": "string" + } + }, + { + "key_type": "sint64", + "field": { + "id": 2, + "name": "msg_mapping", + "type": "FloatingPoint" + } + }, + { + "key_type": "bool", + "field": { + "id": 3, + "name": "byte_mapping", + "type": "bytes" + } + }, + { + "key_type": "string", + "field": { + "id": 4, + "name": "str_to_str", + "type": "string" + } + } + ] + }, + { + "name": "Oneof", + "fields": [ + { + "id": 1, + "name": "F_Bool", + "type": "bool" + }, + { + "id": 2, + "name": "F_Int32", + "type": "int32" + }, + { + "id": 3, + "name": "F_Int64", + "type": "int64" + }, + { + "id": 4, + "name": "F_Fixed32", + "type": "fixed32" + }, + { + "id": 5, + "name": "F_Fixed64", + "type": "fixed64" + }, + { + "id": 6, + "name": "F_Uint32", + "type": "uint32" + }, + { + "id": 7, + "name": "F_Uint64", + "type": "uint64" + }, + { + "id": 8, + "name": "F_Float", + "type": "float" + }, + { + "id": 9, + "name": "F_Double", + "type": "double" + }, + { + "id": 10, + "name": "F_String", + "type": "string" + }, + { + "id": 11, + "name": "F_Bytes", + "type": "bytes" + }, + { + "id": 12, + "name": "F_Sint32", + "type": "sint32" + }, + { + "id": 13, + "name": "F_Sint64", + "type": "sint64" + }, + { + "id": 14, + "name": "F_Enum", + "type": "MyMessage.Color" + }, + { + "id": 15, + "name": "F_Message", + "type": "GoTestField" + }, + { + "id": 536870911, + "name": "F_Largest_Tag", + "type": "int32" + }, + { + "id": 100, + "name": "value", + "type": "int32" + } + ] + }, + { + "name": "Communique", + "fields": [ + { + "id": 1, + "name": "make_me_cry", + "type": "bool" + }, + { + "id": 5, + "name": "number", + "type": "int32" + }, + { + "id": 6, + "name": "name", + "type": "string" + }, + { + "id": 7, + "name": "data", + "type": "bytes" + }, + { + "id": 8, + "name": "temp_c", + "type": "double" + }, + { + "id": 9, + "name": "col", + "type": "MyMessage.Color" + }, + { + "id": 10, + "name": "msg", + "type": "Strings" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:any.proto", + "def": { + "messages": [ + { + "name": "Any", + "fields": [ + { + "id": 1, + "name": "type_url", + "type": "string" + }, + { + "id": 2, + "name": "value", + "type": "bytes" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:compiler:/:plugin.proto", + "def": { + "messages": [ + { + "name": "Version", + "fields": [ + { + "id": 1, + "name": "major", + "type": "int32" + }, + { + "id": 2, + "name": "minor", + "type": "int32" + }, + { + "id": 3, + "name": "patch", + "type": "int32" + }, + { + "id": 4, + "name": "suffix", + "type": "string" + } + ] + }, + { + "name": "CodeGeneratorRequest", + "fields": [ + { + "id": 1, + "name": "file_to_generate", + "type": "string", + "is_repeated": true + }, + { + "id": 2, + "name": "parameter", + "type": "string" + }, + { + "id": 15, + "name": "proto_file", + "type": "FileDescriptorProto", + "is_repeated": true + }, + { + "id": 3, + "name": "compiler_version", + "type": "Version" + } + ] + }, + { + "name": "CodeGeneratorResponse", + "fields": [ + { + "id": 1, + "name": "error", + "type": "string" + }, + { + "id": 15, + "name": "file", + "type": "File", + "is_repeated": true + } + ], + "messages": [ + { + "name": "File", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "insertion_point", + "type": "string" + }, + { + "id": 15, + "name": "content", + "type": "string" + } + ] + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:descriptor.proto", + "def": { + "enums": [ + { + "name": "FieldDescriptorProto.Type", + "enum_fields": [ + { + "name": "TYPE_DOUBLE", + "integer": 1 + }, + { + "name": "TYPE_FLOAT", + "integer": 2 + }, + { + "name": "TYPE_INT64", + "integer": 3 + }, + { + "name": "TYPE_UINT64", + "integer": 4 + }, + { + "name": "TYPE_INT32", + "integer": 5 + }, + { + "name": "TYPE_FIXED64", + "integer": 6 + }, + { + "name": "TYPE_FIXED32", + "integer": 7 + }, + { + "name": "TYPE_BOOL", + "integer": 8 + }, + { + "name": "TYPE_STRING", + "integer": 9 + }, + { + "name": "TYPE_GROUP", + "integer": 10 + }, + { + "name": "TYPE_MESSAGE", + "integer": 11 + }, + { + "name": "TYPE_BYTES", + "integer": 12 + }, + { + "name": "TYPE_UINT32", + "integer": 13 + }, + { + "name": "TYPE_ENUM", + "integer": 14 + }, + { + "name": "TYPE_SFIXED32", + "integer": 15 + }, + { + "name": "TYPE_SFIXED64", + "integer": 16 + }, + { + "name": "TYPE_SINT32", + "integer": 17 + }, + { + "name": "TYPE_SINT64", + "integer": 18 + } + ] + }, + { + "name": "FieldDescriptorProto.Label", + "enum_fields": [ + { + "name": "LABEL_OPTIONAL", + "integer": 1 + }, + { + "name": "LABEL_REQUIRED", + "integer": 2 + }, + { + "name": "LABEL_REPEATED", + "integer": 3 + } + ] + }, + { + "name": "FileOptions.OptimizeMode", + "enum_fields": [ + { + "name": "SPEED", + "integer": 1 + }, + { + "name": "CODE_SIZE", + "integer": 2 + }, + { + "name": "LITE_RUNTIME", + "integer": 3 + } + ] + }, + { + "name": "FieldOptions.CType", + "enum_fields": [ + { + "name": "STRING", + "integer": 0 + }, + { + "name": "CORD", + "integer": 1 + }, + { + "name": "STRING_PIECE", + "integer": 2 + } + ] + }, + { + "name": "FieldOptions.JSType", + "enum_fields": [ + { + "name": "JS_NORMAL", + "integer": 0 + }, + { + "name": "JS_STRING", + "integer": 1 + }, + { + "name": "JS_NUMBER", + "integer": 2 + } + ] + }, + { + "name": "MethodOptions.IdempotencyLevel", + "enum_fields": [ + { + "name": "IDEMPOTENCY_UNKNOWN", + "integer": 0 + }, + { + "name": "NO_SIDE_EFFECTS", + "integer": 1 + }, + { + "name": "IDEMPOTENT", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "FileDescriptorSet", + "fields": [ + { + "id": 1, + "name": "file", + "type": "FileDescriptorProto", + "is_repeated": true + } + ] + }, + { + "name": "FileDescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "package", + "type": "string" + }, + { + "id": 3, + "name": "dependency", + "type": "string", + "is_repeated": true + }, + { + "id": 10, + "name": "public_dependency", + "type": "int32", + "is_repeated": true + }, + { + "id": 11, + "name": "weak_dependency", + "type": "int32", + "is_repeated": true + }, + { + "id": 4, + "name": "message_type", + "type": "DescriptorProto", + "is_repeated": true + }, + { + "id": 5, + "name": "enum_type", + "type": "EnumDescriptorProto", + "is_repeated": true + }, + { + "id": 6, + "name": "service", + "type": "ServiceDescriptorProto", + "is_repeated": true + }, + { + "id": 7, + "name": "extension", + "type": "FieldDescriptorProto", + "is_repeated": true + }, + { + "id": 8, + "name": "options", + "type": "FileOptions" + }, + { + "id": 9, + "name": "source_code_info", + "type": "SourceCodeInfo" + }, + { + "id": 12, + "name": "syntax", + "type": "string" + } + ] + }, + { + "name": "DescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "field", + "type": "FieldDescriptorProto", + "is_repeated": true + }, + { + "id": 6, + "name": "extension", + "type": "FieldDescriptorProto", + "is_repeated": true + }, + { + "id": 3, + "name": "nested_type", + "type": "DescriptorProto", + "is_repeated": true + }, + { + "id": 4, + "name": "enum_type", + "type": "EnumDescriptorProto", + "is_repeated": true + }, + { + "id": 5, + "name": "extension_range", + "type": "ExtensionRange", + "is_repeated": true + }, + { + "id": 8, + "name": "oneof_decl", + "type": "OneofDescriptorProto", + "is_repeated": true + }, + { + "id": 7, + "name": "options", + "type": "MessageOptions" + }, + { + "id": 9, + "name": "reserved_range", + "type": "ReservedRange", + "is_repeated": true + }, + { + "id": 10, + "name": "reserved_name", + "type": "string", + "is_repeated": true + } + ], + "messages": [ + { + "name": "ExtensionRange", + "fields": [ + { + "id": 1, + "name": "start", + "type": "int32" + }, + { + "id": 2, + "name": "end", + "type": "int32" + }, + { + "id": 3, + "name": "options", + "type": "ExtensionRangeOptions" + } + ] + }, + { + "name": "ReservedRange", + "fields": [ + { + "id": 1, + "name": "start", + "type": "int32" + }, + { + "id": 2, + "name": "end", + "type": "int32" + } + ] + } + ] + }, + { + "name": "ExtensionRangeOptions", + "fields": [ + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ] + }, + { + "name": "FieldDescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 3, + "name": "number", + "type": "int32" + }, + { + "id": 4, + "name": "label", + "type": "Label" + }, + { + "id": 5, + "name": "type", + "type": "Type" + }, + { + "id": 6, + "name": "type_name", + "type": "string" + }, + { + "id": 2, + "name": "extendee", + "type": "string" + }, + { + "id": 7, + "name": "default_value", + "type": "string" + }, + { + "id": 9, + "name": "oneof_index", + "type": "int32" + }, + { + "id": 10, + "name": "json_name", + "type": "string" + }, + { + "id": 8, + "name": "options", + "type": "FieldOptions" + } + ] + }, + { + "name": "OneofDescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "options", + "type": "OneofOptions" + } + ] + }, + { + "name": "EnumDescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "value", + "type": "EnumValueDescriptorProto", + "is_repeated": true + }, + { + "id": 3, + "name": "options", + "type": "EnumOptions" + } + ] + }, + { + "name": "EnumValueDescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "number", + "type": "int32" + }, + { + "id": 3, + "name": "options", + "type": "EnumValueOptions" + } + ] + }, + { + "name": "ServiceDescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "method", + "type": "MethodDescriptorProto", + "is_repeated": true + }, + { + "id": 3, + "name": "options", + "type": "ServiceOptions" + } + ] + }, + { + "name": "MethodDescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "input_type", + "type": "string" + }, + { + "id": 3, + "name": "output_type", + "type": "string" + }, + { + "id": 4, + "name": "options", + "type": "MethodOptions" + }, + { + "id": 5, + "name": "client_streaming", + "type": "bool" + }, + { + "id": 6, + "name": "server_streaming", + "type": "bool" + } + ] + }, + { + "name": "FileOptions", + "fields": [ + { + "id": 1, + "name": "java_package", + "type": "string" + }, + { + "id": 8, + "name": "java_outer_classname", + "type": "string" + }, + { + "id": 10, + "name": "java_multiple_files", + "type": "bool" + }, + { + "id": 20, + "name": "java_generate_equals_and_hash", + "type": "bool" + }, + { + "id": 27, + "name": "java_string_check_utf8", + "type": "bool" + }, + { + "id": 9, + "name": "optimize_for", + "type": "OptimizeMode" + }, + { + "id": 11, + "name": "go_package", + "type": "string" + }, + { + "id": 16, + "name": "cc_generic_services", + "type": "bool" + }, + { + "id": 17, + "name": "java_generic_services", + "type": "bool" + }, + { + "id": 18, + "name": "py_generic_services", + "type": "bool" + }, + { + "id": 19, + "name": "php_generic_services", + "type": "bool" + }, + { + "id": 23, + "name": "deprecated", + "type": "bool" + }, + { + "id": 31, + "name": "cc_enable_arenas", + "type": "bool" + }, + { + "id": 36, + "name": "objc_class_prefix", + "type": "string" + }, + { + "id": 37, + "name": "csharp_namespace", + "type": "string" + }, + { + "id": 39, + "name": "swift_prefix", + "type": "string" + }, + { + "id": 40, + "name": "php_class_prefix", + "type": "string" + }, + { + "id": 41, + "name": "php_namespace", + "type": "string" + }, + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ] + }, + { + "name": "MessageOptions", + "fields": [ + { + "id": 1, + "name": "message_set_wire_format", + "type": "bool" + }, + { + "id": 2, + "name": "no_standard_descriptor_accessor", + "type": "bool" + }, + { + "id": 3, + "name": "deprecated", + "type": "bool" + }, + { + "id": 7, + "name": "map_entry", + "type": "bool" + }, + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ] + }, + { + "name": "FieldOptions", + "fields": [ + { + "id": 1, + "name": "ctype", + "type": "CType" + }, + { + "id": 2, + "name": "packed", + "type": "bool" + }, + { + "id": 6, + "name": "jstype", + "type": "JSType" + }, + { + "id": 5, + "name": "lazy", + "type": "bool" + }, + { + "id": 3, + "name": "deprecated", + "type": "bool" + }, + { + "id": 10, + "name": "weak", + "type": "bool" + }, + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ] + }, + { + "name": "OneofOptions", + "fields": [ + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ] + }, + { + "name": "EnumOptions", + "fields": [ + { + "id": 2, + "name": "allow_alias", + "type": "bool" + }, + { + "id": 3, + "name": "deprecated", + "type": "bool" + }, + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ] + }, + { + "name": "EnumValueOptions", + "fields": [ + { + "id": 1, + "name": "deprecated", + "type": "bool" + }, + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ] + }, + { + "name": "ServiceOptions", + "fields": [ + { + "id": 33, + "name": "deprecated", + "type": "bool" + }, + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ] + }, + { + "name": "MethodOptions", + "fields": [ + { + "id": 33, + "name": "deprecated", + "type": "bool" + }, + { + "id": 34, + "name": "idempotency_level", + "type": "IdempotencyLevel" + }, + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ] + }, + { + "name": "UninterpretedOption", + "fields": [ + { + "id": 2, + "name": "name", + "type": "NamePart", + "is_repeated": true + }, + { + "id": 3, + "name": "identifier_value", + "type": "string" + }, + { + "id": 4, + "name": "positive_int_value", + "type": "uint64" + }, + { + "id": 5, + "name": "negative_int_value", + "type": "int64" + }, + { + "id": 6, + "name": "double_value", + "type": "double" + }, + { + "id": 7, + "name": "string_value", + "type": "bytes" + }, + { + "id": 8, + "name": "aggregate_value", + "type": "string" + } + ], + "messages": [ + { + "name": "NamePart", + "fields": [ + { + "id": 1, + "name": "name_part", + "type": "string" + }, + { + "id": 2, + "name": "is_extension", + "type": "bool" + } + ] + } + ] + }, + { + "name": "SourceCodeInfo", + "fields": [ + { + "id": 1, + "name": "location", + "type": "Location", + "is_repeated": true + } + ], + "messages": [ + { + "name": "Location", + "fields": [ + { + "id": 1, + "name": "path", + "type": "int32", + "is_repeated": true + }, + { + "id": 2, + "name": "span", + "type": "int32", + "is_repeated": true + }, + { + "id": 3, + "name": "leading_comments", + "type": "string" + }, + { + "id": 4, + "name": "trailing_comments", + "type": "string" + }, + { + "id": 6, + "name": "leading_detached_comments", + "type": "string", + "is_repeated": true + } + ] + } + ] + }, + { + "name": "GeneratedCodeInfo", + "fields": [ + { + "id": 1, + "name": "annotation", + "type": "Annotation", + "is_repeated": true + } + ], + "messages": [ + { + "name": "Annotation", + "fields": [ + { + "id": 1, + "name": "path", + "type": "int32", + "is_repeated": true + }, + { + "id": 2, + "name": "source_file", + "type": "string" + }, + { + "id": 3, + "name": "begin", + "type": "int32" + }, + { + "id": 4, + "name": "end", + "type": "int32" + } + ] + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:duration.proto", + "def": { + "messages": [ + { + "name": "Duration", + "fields": [ + { + "id": 1, + "name": "seconds", + "type": "int64" + }, + { + "id": 2, + "name": "nanos", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:empty.proto", + "def": { + "messages": [ + { + "name": "Empty" + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:field_mask.proto", + "def": { + "messages": [ + { + "name": "FieldMask", + "fields": [ + { + "id": 1, + "name": "paths", + "type": "string", + "is_repeated": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:struct.proto", + "def": { + "enums": [ + { + "name": "NullValue", + "enum_fields": [ + { + "name": "NULL_VALUE", + "integer": 0 + } + ] + } + ], + "messages": [ + { + "name": "Struct", + "maps": [ + { + "key_type": "string", + "field": { + "id": 1, + "name": "fields", + "type": "Value" + } + } + ] + }, + { + "name": "Value", + "fields": [ + { + "id": 1, + "name": "null_value", + "type": "NullValue" + }, + { + "id": 2, + "name": "number_value", + "type": "double" + }, + { + "id": 3, + "name": "string_value", + "type": "string" + }, + { + "id": 4, + "name": "bool_value", + "type": "bool" + }, + { + "id": 5, + "name": "struct_value", + "type": "Struct" + }, + { + "id": 6, + "name": "list_value", + "type": "ListValue" + } + ] + }, + { + "name": "ListValue", + "fields": [ + { + "id": 1, + "name": "values", + "type": "Value", + "is_repeated": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:timestamp.proto", + "def": { + "messages": [ + { + "name": "Timestamp", + "fields": [ + { + "id": 1, + "name": "seconds", + "type": "int64" + }, + { + "id": 2, + "name": "nanos", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:wrappers.proto", + "def": { + "messages": [ + { + "name": "DoubleValue", + "fields": [ + { + "id": 1, + "name": "value", + "type": "double" + } + ] + }, + { + "name": "FloatValue", + "fields": [ + { + "id": 1, + "name": "value", + "type": "float" + } + ] + }, + { + "name": "Int64Value", + "fields": [ + { + "id": 1, + "name": "value", + "type": "int64" + } + ] + }, + { + "name": "UInt64Value", + "fields": [ + { + "id": 1, + "name": "value", + "type": "uint64" + } + ] + }, + { + "name": "Int32Value", + "fields": [ + { + "id": 1, + "name": "value", + "type": "int32" + } + ] + }, + { + "name": "UInt32Value", + "fields": [ + { + "id": 1, + "name": "value", + "type": "uint32" + } + ] + }, + { + "name": "BoolValue", + "fields": [ + { + "id": 1, + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "StringValue", + "fields": [ + { + "id": 1, + "name": "value", + "type": "string" + } + ] + }, + { + "name": "BytesValue", + "fields": [ + { + "id": 1, + "name": "value", + "type": "bytes" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:extension_base.proto", + "def": { + "messages": [ + { + "name": "BaseMessage", + "fields": [ + { + "id": 1, + "name": "height", + "type": "int32" + } + ] + }, + { + "name": "OldStyleMessage" + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:extension_extra.proto", + "def": { + "messages": [ + { + "name": "ExtraMessage", + "fields": [ + { + "id": 1, + "name": "width", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:extension_user.proto", + "def": { + "messages": [ + { + "name": "UserMessage", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "rank", + "type": "string" + } + ] + }, + { + "name": "extension_base.BaseMessage", + "fields": [ + { + "id": 5, + "name": "user_message", + "type": "UserMessage" + } + ] + }, + { + "name": "extension_base.BaseMessage", + "fields": [ + { + "id": 9, + "name": "extra_message", + "type": "extension_extra.ExtraMessage" + } + ] + }, + { + "name": "extension_base.BaseMessage", + "fields": [ + { + "id": 6, + "name": "width", + "type": "int32" + }, + { + "id": 7, + "name": "area", + "type": "int64" + } + ] + }, + { + "name": "LoudMessage", + "messages": [ + { + "name": "extension_base.BaseMessage", + "fields": [ + { + "id": 8, + "name": "volume", + "type": "uint32" + } + ] + } + ] + }, + { + "name": "LoginMessage", + "messages": [ + { + "name": "extension_base.BaseMessage", + "fields": [ + { + "id": 16, + "name": "user_message", + "type": "UserMessage" + } + ] + } + ] + }, + { + "name": "extension_base.BaseMessage", + "fields": [ + { + "id": 17, + "name": "detail", + "type": "Detail", + "is_repeated": true + } + ] + }, + { + "name": "Detail", + "fields": [ + { + "id": 1, + "name": "color", + "type": "string" + } + ] + }, + { + "name": "Announcement", + "fields": [ + { + "id": 1, + "name": "words", + "type": "string" + } + ], + "messages": [ + { + "name": "LoudMessage", + "fields": [ + { + "id": 100, + "name": "loud_ext", + "type": "Announcement" + } + ] + } + ] + }, + { + "name": "OldStyleParcel", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "height", + "type": "int32" + } + ], + "messages": [ + { + "name": "extension_base.OldStyleMessage", + "fields": [ + { + "id": 2001, + "name": "message_set_extension", + "type": "OldStyleParcel" + } + ] + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:grpc.proto", + "def": { + "messages": [ + { + "name": "SimpleRequest" + }, + { + "name": "SimpleResponse" + }, + { + "name": "StreamMsg" + }, + { + "name": "StreamMsg2" + } + ], + "services": [ + { + "name": "Test", + "rpcs": [ + { + "name": "UnaryCall", + "in_type": "SimpleRequest", + "out_type": "SimpleResponse" + }, + { + "name": "Downstream", + "in_type": "SimpleRequest", + "out_type": "StreamMsg", + "out_streamed": true + }, + { + "name": "Upstream", + "in_type": "StreamMsg", + "out_type": "SimpleResponse", + "in_streamed": true + }, + { + "name": "Bidi", + "in_type": "StreamMsg", + "out_type": "StreamMsg2", + "in_streamed": true, + "out_streamed": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:imp.proto", + "def": { + "enums": [ + { + "name": "ImportedMessage.Owner", + "enum_fields": [ + { + "name": "DAVE", + "integer": 1 + }, + { + "name": "MIKE", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "ImportedMessage", + "fields": [ + { + "id": 1, + "name": "field", + "type": "int64" + }, + { + "id": 2, + "name": "local_msg", + "type": "ImportedMessage2" + }, + { + "id": 3, + "name": "foreign_msg", + "type": "ForeignImportedMessage" + }, + { + "id": 4, + "name": "enum_field", + "type": "Owner" + }, + { + "id": 9, + "name": "state", + "type": "int32" + }, + { + "id": 5, + "name": "name", + "type": "string", + "is_repeated": true + }, + { + "id": 6, + "name": "boss", + "type": "Owner", + "is_repeated": true + }, + { + "id": 7, + "name": "memo", + "type": "ImportedMessage2", + "is_repeated": true + } + ], + "maps": [ + { + "key_type": "string", + "field": { + "id": 8, + "name": "msg_map", + "type": "ImportedMessage2" + } + } + ] + }, + { + "name": "ImportedMessage2" + }, + { + "name": "ImportedExtendable" + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:imp2.proto", + "def": { + "enums": [ + { + "name": "PubliclyImportedEnum", + "enum_fields": [ + { + "name": "GLASSES", + "integer": 1 + }, + { + "name": "HAIR", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "PubliclyImportedMessage", + "fields": [ + { + "id": 1, + "name": "field", + "type": "int64" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:imp3.proto", + "def": { + "messages": [ + { + "name": "ForeignImportedMessage", + "fields": [ + { + "id": 1, + "name": "tuber", + "type": "string" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:multi:/:multi1.proto", + "def": { + "messages": [ + { + "name": "Multi1", + "fields": [ + { + "id": 1, + "name": "multi2", + "type": "Multi2" + }, + { + "id": 2, + "name": "color", + "type": "Multi2.Color" + }, + { + "id": 3, + "name": "hat_type", + "type": "Multi3.HatType" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:multi:/:multi2.proto", + "def": { + "enums": [ + { + "name": "Multi2.Color", + "enum_fields": [ + { + "name": "BLUE", + "integer": 1 + }, + { + "name": "GREEN", + "integer": 2 + }, + { + "name": "RED", + "integer": 3 + } + ] + } + ], + "messages": [ + { + "name": "Multi2", + "fields": [ + { + "id": 1, + "name": "required_value", + "type": "int32" + }, + { + "id": 2, + "name": "color", + "type": "Color" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:multi:/:multi3.proto", + "def": { + "enums": [ + { + "name": "Multi3.HatType", + "enum_fields": [ + { + "name": "FEDORA", + "integer": 1 + }, + { + "name": "FEZ", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "Multi3", + "fields": [ + { + "id": 1, + "name": "hat_type", + "type": "HatType" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:my_test:/:test.proto", + "def": { + "enums": [ + { + "name": "HatType", + "enum_fields": [ + { + "name": "FEDORA", + "integer": 1 + }, + { + "name": "FEZ", + "integer": 2 + } + ] + }, + { + "name": "Days", + "enum_fields": [ + { + "name": "MONDAY", + "integer": 1 + }, + { + "name": "TUESDAY", + "integer": 2 + }, + { + "name": "LUNDI", + "integer": 1 + } + ] + }, + { + "name": "Request.Color", + "enum_fields": [ + { + "name": "RED", + "integer": 0 + }, + { + "name": "GREEN", + "integer": 1 + }, + { + "name": "BLUE", + "integer": 2 + } + ] + }, + { + "name": "Entry.Game", + "enum_fields": [ + { + "name": "FOOTBALL", + "integer": 1 + }, + { + "name": "TENNIS", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "Request", + "fields": [ + { + "id": 1, + "name": "key", + "type": "int64", + "is_repeated": true + }, + { + "id": 3, + "name": "hue", + "type": "Color" + }, + { + "id": 4, + "name": "hat", + "type": "HatType" + }, + { + "id": 7, + "name": "deadline", + "type": "float" + }, + { + "id": 12, + "name": "reset", + "type": "int32" + }, + { + "id": 16, + "name": "get_key", + "type": "string" + } + ], + "maps": [ + { + "key_type": "int32", + "field": { + "id": 14, + "name": "name_mapping", + "type": "string" + } + }, + { + "key_type": "sint64", + "field": { + "id": 15, + "name": "msg_mapping", + "type": "Reply" + } + } + ] + }, + { + "name": "Reply", + "fields": [ + { + "id": 1, + "name": "found", + "type": "Entry", + "is_repeated": true + }, + { + "id": 2, + "name": "compact_keys", + "type": "int32", + "is_repeated": true + } + ], + "messages": [ + { + "name": "Entry", + "fields": [ + { + "id": 1, + "name": "key_that_needs_1234camel_CasIng", + "type": "int64" + }, + { + "id": 2, + "name": "value", + "type": "int64" + }, + { + "id": 3, + "name": "_my_field_name_2", + "type": "int64" + } + ] + } + ] + }, + { + "name": "OtherBase", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + } + ] + }, + { + "name": "ReplyExtensions", + "messages": [ + { + "name": "Reply", + "fields": [ + { + "id": 101, + "name": "time", + "type": "double" + }, + { + "id": 105, + "name": "carrot", + "type": "ReplyExtensions" + } + ] + }, + { + "name": "OtherBase", + "fields": [ + { + "id": 101, + "name": "donut", + "type": "ReplyExtensions" + } + ] + } + ] + }, + { + "name": "OtherReplyExtensions", + "fields": [ + { + "id": 1, + "name": "key", + "type": "int32" + } + ] + }, + { + "name": "Reply", + "fields": [ + { + "id": 103, + "name": "tag", + "type": "string" + }, + { + "id": 106, + "name": "donut", + "type": "OtherReplyExtensions" + } + ] + }, + { + "name": "OldReply" + }, + { + "name": "Communique", + "fields": [ + { + "id": 1, + "name": "make_me_cry", + "type": "bool" + }, + { + "id": 5, + "name": "number", + "type": "int32" + }, + { + "id": 6, + "name": "name", + "type": "string" + }, + { + "id": 7, + "name": "data", + "type": "bytes" + }, + { + "id": 8, + "name": "temp_c", + "type": "double" + }, + { + "id": 9, + "name": "height", + "type": "float" + }, + { + "id": 10, + "name": "today", + "type": "Days" + }, + { + "id": 11, + "name": "maybe", + "type": "bool" + }, + { + "id": 12, + "name": "delta", + "type": "sint32" + }, + { + "id": 13, + "name": "msg", + "type": "Reply" + } + ], + "messages": [ + { + "name": "Delta" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:proto3.proto", + "def": { + "enums": [ + { + "name": "Request.Flavour", + "enum_fields": [ + { + "name": "SWEET", + "integer": 0 + }, + { + "name": "SOUR", + "integer": 1 + }, + { + "name": "UMAMI", + "integer": 2 + }, + { + "name": "GOPHERLICIOUS", + "integer": 3 + } + ] + } + ], + "messages": [ + { + "name": "Request", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "key", + "type": "int64", + "is_repeated": true + }, + { + "id": 3, + "name": "taste", + "type": "Flavour" + }, + { + "id": 4, + "name": "book", + "type": "Book" + }, + { + "id": 5, + "name": "unpacked", + "type": "int64", + "is_repeated": true + } + ] + }, + { + "name": "Book", + "fields": [ + { + "id": 1, + "name": "title", + "type": "string" + }, + { + "id": 2, + "name": "raw_data", + "type": "bytes" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:vanity:/:test:/:gogovanity.proto", + "def": { + "messages": [ + { + "name": "B", + "fields": [ + { + "id": 1, + "name": "String", + "type": "string" + }, + { + "id": 2, + "name": "Int64", + "type": "int64" + }, + { + "id": 3, + "name": "Int32", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:vanity:/:test:/:proto3.proto", + "def": { + "messages": [ + { + "name": "Aproto3", + "fields": [ + { + "id": 1, + "name": "B", + "type": "string" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:vanity:/:test:/:vanity.proto", + "def": { + "messages": [ + { + "name": "A", + "fields": [ + { + "id": 1, + "name": "Strings", + "type": "string" + }, + { + "id": 2, + "name": "Int", + "type": "int64" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:_conformance:/:conformance_proto:/:conformance.proto", + "def": { + "enums": [ + { + "name": "WireFormat", + "enum_fields": [ + { + "name": "UNSPECIFIED", + "integer": 0 + }, + { + "name": "PROTOBUF", + "integer": 1 + }, + { + "name": "JSON", + "integer": 2 + } + ] + }, + { + "name": "TestAllTypes.NestedEnum", + "enum_fields": [ + { + "name": "FOO", + "integer": 0 + }, + { + "name": "BAR", + "integer": 1 + }, + { + "name": "BAZ", + "integer": 2 + }, + { + "name": "NEG", + "integer": -1 + } + ] + }, + { + "name": "ForeignEnum", + "enum_fields": [ + { + "name": "FOREIGN_FOO", + "integer": 0 + }, + { + "name": "FOREIGN_BAR", + "integer": 1 + }, + { + "name": "FOREIGN_BAZ", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "ConformanceRequest", + "fields": [ + { + "id": 1, + "name": "protobuf_payload", + "type": "bytes" + }, + { + "id": 2, + "name": "json_payload", + "type": "string" + }, + { + "id": 3, + "name": "requested_output_format", + "type": "WireFormat" + } + ] + }, + { + "name": "ConformanceResponse", + "fields": [ + { + "id": 1, + "name": "parse_error", + "type": "string" + }, + { + "id": 6, + "name": "serialize_error", + "type": "string" + }, + { + "id": 2, + "name": "runtime_error", + "type": "string" + }, + { + "id": 3, + "name": "protobuf_payload", + "type": "bytes" + }, + { + "id": 4, + "name": "json_payload", + "type": "string" + }, + { + "id": 5, + "name": "skipped", + "type": "string" + } + ] + }, + { + "name": "TestAllTypes", + "fields": [ + { + "id": 1, + "name": "optional_int32", + "type": "int32" + }, + { + "id": 2, + "name": "optional_int64", + "type": "int64" + }, + { + "id": 3, + "name": "optional_uint32", + "type": "uint32" + }, + { + "id": 4, + "name": "optional_uint64", + "type": "uint64" + }, + { + "id": 5, + "name": "optional_sint32", + "type": "sint32" + }, + { + "id": 6, + "name": "optional_sint64", + "type": "sint64" + }, + { + "id": 7, + "name": "optional_fixed32", + "type": "fixed32" + }, + { + "id": 8, + "name": "optional_fixed64", + "type": "fixed64" + }, + { + "id": 9, + "name": "optional_sfixed32", + "type": "sfixed32" + }, + { + "id": 10, + "name": "optional_sfixed64", + "type": "sfixed64" + }, + { + "id": 11, + "name": "optional_float", + "type": "float" + }, + { + "id": 12, + "name": "optional_double", + "type": "double" + }, + { + "id": 13, + "name": "optional_bool", + "type": "bool" + }, + { + "id": 14, + "name": "optional_string", + "type": "string" + }, + { + "id": 15, + "name": "optional_bytes", + "type": "bytes" + }, + { + "id": 18, + "name": "optional_nested_message", + "type": "NestedMessage" + }, + { + "id": 19, + "name": "optional_foreign_message", + "type": "ForeignMessage" + }, + { + "id": 21, + "name": "optional_nested_enum", + "type": "NestedEnum" + }, + { + "id": 22, + "name": "optional_foreign_enum", + "type": "ForeignEnum" + }, + { + "id": 24, + "name": "optional_string_piece", + "type": "string" + }, + { + "id": 25, + "name": "optional_cord", + "type": "string" + }, + { + "id": 27, + "name": "recursive_message", + "type": "TestAllTypes" + }, + { + "id": 31, + "name": "repeated_int32", + "type": "int32", + "is_repeated": true + }, + { + "id": 32, + "name": "repeated_int64", + "type": "int64", + "is_repeated": true + }, + { + "id": 33, + "name": "repeated_uint32", + "type": "uint32", + "is_repeated": true + }, + { + "id": 34, + "name": "repeated_uint64", + "type": "uint64", + "is_repeated": true + }, + { + "id": 35, + "name": "repeated_sint32", + "type": "sint32", + "is_repeated": true + }, + { + "id": 36, + "name": "repeated_sint64", + "type": "sint64", + "is_repeated": true + }, + { + "id": 37, + "name": "repeated_fixed32", + "type": "fixed32", + "is_repeated": true + }, + { + "id": 38, + "name": "repeated_fixed64", + "type": "fixed64", + "is_repeated": true + }, + { + "id": 39, + "name": "repeated_sfixed32", + "type": "sfixed32", + "is_repeated": true + }, + { + "id": 40, + "name": "repeated_sfixed64", + "type": "sfixed64", + "is_repeated": true + }, + { + "id": 41, + "name": "repeated_float", + "type": "float", + "is_repeated": true + }, + { + "id": 42, + "name": "repeated_double", + "type": "double", + "is_repeated": true + }, + { + "id": 43, + "name": "repeated_bool", + "type": "bool", + "is_repeated": true + }, + { + "id": 44, + "name": "repeated_string", + "type": "string", + "is_repeated": true + }, + { + "id": 45, + "name": "repeated_bytes", + "type": "bytes", + "is_repeated": true + }, + { + "id": 48, + "name": "repeated_nested_message", + "type": "NestedMessage", + "is_repeated": true + }, + { + "id": 49, + "name": "repeated_foreign_message", + "type": "ForeignMessage", + "is_repeated": true + }, + { + "id": 51, + "name": "repeated_nested_enum", + "type": "NestedEnum", + "is_repeated": true + }, + { + "id": 52, + "name": "repeated_foreign_enum", + "type": "ForeignEnum", + "is_repeated": true + }, + { + "id": 54, + "name": "repeated_string_piece", + "type": "string", + "is_repeated": true + }, + { + "id": 55, + "name": "repeated_cord", + "type": "string", + "is_repeated": true + }, + { + "id": 111, + "name": "oneof_uint32", + "type": "uint32" + }, + { + "id": 112, + "name": "oneof_nested_message", + "type": "NestedMessage" + }, + { + "id": 113, + "name": "oneof_string", + "type": "string" + }, + { + "id": 114, + "name": "oneof_bytes", + "type": "bytes" + }, + { + "id": 115, + "name": "oneof_bool", + "type": "bool" + }, + { + "id": 116, + "name": "oneof_uint64", + "type": "uint64" + }, + { + "id": 117, + "name": "oneof_float", + "type": "float" + }, + { + "id": 118, + "name": "oneof_double", + "type": "double" + }, + { + "id": 119, + "name": "oneof_enum", + "type": "NestedEnum" + }, + { + "id": 201, + "name": "optional_bool_wrapper", + "type": "google.protobuf.BoolValue" + }, + { + "id": 202, + "name": "optional_int32_wrapper", + "type": "google.protobuf.Int32Value" + }, + { + "id": 203, + "name": "optional_int64_wrapper", + "type": "google.protobuf.Int64Value" + }, + { + "id": 204, + "name": "optional_uint32_wrapper", + "type": "google.protobuf.UInt32Value" + }, + { + "id": 205, + "name": "optional_uint64_wrapper", + "type": "google.protobuf.UInt64Value" + }, + { + "id": 206, + "name": "optional_float_wrapper", + "type": "google.protobuf.FloatValue" + }, + { + "id": 207, + "name": "optional_double_wrapper", + "type": "google.protobuf.DoubleValue" + }, + { + "id": 208, + "name": "optional_string_wrapper", + "type": "google.protobuf.StringValue" + }, + { + "id": 209, + "name": "optional_bytes_wrapper", + "type": "google.protobuf.BytesValue" + }, + { + "id": 211, + "name": "repeated_bool_wrapper", + "type": "google.protobuf.BoolValue", + "is_repeated": true + }, + { + "id": 212, + "name": "repeated_int32_wrapper", + "type": "google.protobuf.Int32Value", + "is_repeated": true + }, + { + "id": 213, + "name": "repeated_int64_wrapper", + "type": "google.protobuf.Int64Value", + "is_repeated": true + }, + { + "id": 214, + "name": "repeated_uint32_wrapper", + "type": "google.protobuf.UInt32Value", + "is_repeated": true + }, + { + "id": 215, + "name": "repeated_uint64_wrapper", + "type": "google.protobuf.UInt64Value", + "is_repeated": true + }, + { + "id": 216, + "name": "repeated_float_wrapper", + "type": "google.protobuf.FloatValue", + "is_repeated": true + }, + { + "id": 217, + "name": "repeated_double_wrapper", + "type": "google.protobuf.DoubleValue", + "is_repeated": true + }, + { + "id": 218, + "name": "repeated_string_wrapper", + "type": "google.protobuf.StringValue", + "is_repeated": true + }, + { + "id": 219, + "name": "repeated_bytes_wrapper", + "type": "google.protobuf.BytesValue", + "is_repeated": true + }, + { + "id": 301, + "name": "optional_duration", + "type": "google.protobuf.Duration" + }, + { + "id": 302, + "name": "optional_timestamp", + "type": "google.protobuf.Timestamp" + }, + { + "id": 303, + "name": "optional_field_mask", + "type": "google.protobuf.FieldMask" + }, + { + "id": 304, + "name": "optional_struct", + "type": "google.protobuf.Struct" + }, + { + "id": 305, + "name": "optional_any", + "type": "google.protobuf.Any" + }, + { + "id": 306, + "name": "optional_value", + "type": "google.protobuf.Value" + }, + { + "id": 311, + "name": "repeated_duration", + "type": "google.protobuf.Duration", + "is_repeated": true + }, + { + "id": 312, + "name": "repeated_timestamp", + "type": "google.protobuf.Timestamp", + "is_repeated": true + }, + { + "id": 313, + "name": "repeated_fieldmask", + "type": "google.protobuf.FieldMask", + "is_repeated": true + }, + { + "id": 324, + "name": "repeated_struct", + "type": "google.protobuf.Struct", + "is_repeated": true + }, + { + "id": 315, + "name": "repeated_any", + "type": "google.protobuf.Any", + "is_repeated": true + }, + { + "id": 316, + "name": "repeated_value", + "type": "google.protobuf.Value", + "is_repeated": true + }, + { + "id": 401, + "name": "fieldname1", + "type": "int32" + }, + { + "id": 402, + "name": "field_name2", + "type": "int32" + }, + { + "id": 403, + "name": "_field_name3", + "type": "int32" + }, + { + "id": 404, + "name": "field__name4_", + "type": "int32" + }, + { + "id": 405, + "name": "field0name5", + "type": "int32" + }, + { + "id": 406, + "name": "field_0_name6", + "type": "int32" + }, + { + "id": 407, + "name": "fieldName7", + "type": "int32" + }, + { + "id": 408, + "name": "FieldName8", + "type": "int32" + }, + { + "id": 409, + "name": "field_Name9", + "type": "int32" + }, + { + "id": 410, + "name": "Field_Name10", + "type": "int32" + }, + { + "id": 411, + "name": "FIELD_NAME11", + "type": "int32" + }, + { + "id": 412, + "name": "FIELD_name12", + "type": "int32" + }, + { + "id": 413, + "name": "__field_name13", + "type": "int32" + }, + { + "id": 414, + "name": "__Field_name14", + "type": "int32" + }, + { + "id": 415, + "name": "field__name15", + "type": "int32" + }, + { + "id": 416, + "name": "field__Name16", + "type": "int32" + }, + { + "id": 417, + "name": "field_name17__", + "type": "int32" + }, + { + "id": 418, + "name": "Field_name18__", + "type": "int32" + } + ], + "maps": [ + { + "key_type": "int32", + "field": { + "id": 56, + "name": "map_int32_int32", + "type": "int32" + } + }, + { + "key_type": "int64", + "field": { + "id": 57, + "name": "map_int64_int64", + "type": "int64" + } + }, + { + "key_type": "uint32", + "field": { + "id": 58, + "name": "map_uint32_uint32", + "type": "uint32" + } + }, + { + "key_type": "uint64", + "field": { + "id": 59, + "name": "map_uint64_uint64", + "type": "uint64" + } + }, + { + "key_type": "sint32", + "field": { + "id": 60, + "name": "map_sint32_sint32", + "type": "sint32" + } + }, + { + "key_type": "sint64", + "field": { + "id": 61, + "name": "map_sint64_sint64", + "type": "sint64" + } + }, + { + "key_type": "fixed32", + "field": { + "id": 62, + "name": "map_fixed32_fixed32", + "type": "fixed32" + } + }, + { + "key_type": "fixed64", + "field": { + "id": 63, + "name": "map_fixed64_fixed64", + "type": "fixed64" + } + }, + { + "key_type": "sfixed32", + "field": { + "id": 64, + "name": "map_sfixed32_sfixed32", + "type": "sfixed32" + } + }, + { + "key_type": "sfixed64", + "field": { + "id": 65, + "name": "map_sfixed64_sfixed64", + "type": "sfixed64" + } + }, + { + "key_type": "int32", + "field": { + "id": 66, + "name": "map_int32_float", + "type": "float" + } + }, + { + "key_type": "int32", + "field": { + "id": 67, + "name": "map_int32_double", + "type": "double" + } + }, + { + "key_type": "bool", + "field": { + "id": 68, + "name": "map_bool_bool", + "type": "bool" + } + }, + { + "key_type": "string", + "field": { + "id": 69, + "name": "map_string_string", + "type": "string" + } + }, + { + "key_type": "string", + "field": { + "id": 70, + "name": "map_string_bytes", + "type": "bytes" + } + }, + { + "key_type": "string", + "field": { + "id": 71, + "name": "map_string_nested_message", + "type": "NestedMessage" + } + }, + { + "key_type": "string", + "field": { + "id": 72, + "name": "map_string_foreign_message", + "type": "ForeignMessage" + } + }, + { + "key_type": "string", + "field": { + "id": 73, + "name": "map_string_nested_enum", + "type": "NestedEnum" + } + }, + { + "key_type": "string", + "field": { + "id": 74, + "name": "map_string_foreign_enum", + "type": "ForeignEnum" + } + } + ], + "messages": [ + { + "name": "NestedMessage", + "fields": [ + { + "id": 1, + "name": "a", + "type": "int32" + }, + { + "id": 2, + "name": "corecursive", + "type": "TestAllTypes" + } + ] + } + ] + }, + { + "name": "ForeignMessage", + "fields": [ + { + "id": 1, + "name": "c", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:jsonpb:/:jsonpb_test_proto:/:more_test_objects.proto", + "def": { + "enums": [ + { + "name": "Numeral", + "enum_fields": [ + { + "name": "UNKNOWN", + "integer": 0 + }, + { + "name": "ARABIC", + "integer": 1 + }, + { + "name": "ROMAN", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "Simple3", + "fields": [ + { + "id": 1, + "name": "dub", + "type": "double" + } + ] + }, + { + "name": "SimpleSlice3", + "fields": [ + { + "id": 1, + "name": "slices", + "type": "string", + "is_repeated": true + } + ] + }, + { + "name": "SimpleMap3", + "maps": [ + { + "key_type": "string", + "field": { + "id": 1, + "name": "stringy", + "type": "string" + } + } + ] + }, + { + "name": "SimpleNull3", + "fields": [ + { + "id": 1, + "name": "simple", + "type": "Simple3" + } + ] + }, + { + "name": "Mappy", + "maps": [ + { + "key_type": "int64", + "field": { + "id": 1, + "name": "nummy", + "type": "int32" + } + }, + { + "key_type": "string", + "field": { + "id": 2, + "name": "strry", + "type": "string" + } + }, + { + "key_type": "int32", + "field": { + "id": 3, + "name": "objjy", + "type": "Simple3" + } + }, + { + "key_type": "int64", + "field": { + "id": 4, + "name": "buggy", + "type": "string" + } + }, + { + "key_type": "bool", + "field": { + "id": 5, + "name": "booly", + "type": "bool" + } + }, + { + "key_type": "string", + "field": { + "id": 6, + "name": "enumy", + "type": "Numeral" + } + }, + { + "key_type": "int32", + "field": { + "id": 7, + "name": "s32booly", + "type": "bool" + } + }, + { + "key_type": "int64", + "field": { + "id": 8, + "name": "s64booly", + "type": "bool" + } + }, + { + "key_type": "uint32", + "field": { + "id": 9, + "name": "u32booly", + "type": "bool" + } + }, + { + "key_type": "uint64", + "field": { + "id": 10, + "name": "u64booly", + "type": "bool" + } + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:jsonpb:/:jsonpb_test_proto:/:test_objects.proto", + "def": { + "enums": [ + { + "name": "Widget.Color", + "enum_fields": [ + { + "name": "RED", + "integer": 0 + }, + { + "name": "GREEN", + "integer": 1 + }, + { + "name": "BLUE", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "Simple", + "fields": [ + { + "id": 1, + "name": "o_bool", + "type": "bool" + }, + { + "id": 2, + "name": "o_int32", + "type": "int32" + }, + { + "id": 3, + "name": "o_int64", + "type": "int64" + }, + { + "id": 4, + "name": "o_uint32", + "type": "uint32" + }, + { + "id": 5, + "name": "o_uint64", + "type": "uint64" + }, + { + "id": 6, + "name": "o_sint32", + "type": "sint32" + }, + { + "id": 7, + "name": "o_sint64", + "type": "sint64" + }, + { + "id": 8, + "name": "o_float", + "type": "float" + }, + { + "id": 9, + "name": "o_double", + "type": "double" + }, + { + "id": 10, + "name": "o_string", + "type": "string" + }, + { + "id": 11, + "name": "o_bytes", + "type": "bytes" + } + ] + }, + { + "name": "NonFinites", + "fields": [ + { + "id": 1, + "name": "f_nan", + "type": "float" + }, + { + "id": 2, + "name": "f_pinf", + "type": "float" + }, + { + "id": 3, + "name": "f_ninf", + "type": "float" + }, + { + "id": 4, + "name": "d_nan", + "type": "double" + }, + { + "id": 5, + "name": "d_pinf", + "type": "double" + }, + { + "id": 6, + "name": "d_ninf", + "type": "double" + } + ] + }, + { + "name": "Repeats", + "fields": [ + { + "id": 1, + "name": "r_bool", + "type": "bool", + "is_repeated": true + }, + { + "id": 2, + "name": "r_int32", + "type": "int32", + "is_repeated": true + }, + { + "id": 3, + "name": "r_int64", + "type": "int64", + "is_repeated": true + }, + { + "id": 4, + "name": "r_uint32", + "type": "uint32", + "is_repeated": true + }, + { + "id": 5, + "name": "r_uint64", + "type": "uint64", + "is_repeated": true + }, + { + "id": 6, + "name": "r_sint32", + "type": "sint32", + "is_repeated": true + }, + { + "id": 7, + "name": "r_sint64", + "type": "sint64", + "is_repeated": true + }, + { + "id": 8, + "name": "r_float", + "type": "float", + "is_repeated": true + }, + { + "id": 9, + "name": "r_double", + "type": "double", + "is_repeated": true + }, + { + "id": 10, + "name": "r_string", + "type": "string", + "is_repeated": true + }, + { + "id": 11, + "name": "r_bytes", + "type": "bytes", + "is_repeated": true + } + ] + }, + { + "name": "Widget", + "fields": [ + { + "id": 1, + "name": "color", + "type": "Color" + }, + { + "id": 2, + "name": "r_color", + "type": "Color", + "is_repeated": true + }, + { + "id": 10, + "name": "simple", + "type": "Simple" + }, + { + "id": 11, + "name": "r_simple", + "type": "Simple", + "is_repeated": true + }, + { + "id": 20, + "name": "repeats", + "type": "Repeats" + }, + { + "id": 21, + "name": "r_repeats", + "type": "Repeats", + "is_repeated": true + } + ] + }, + { + "name": "Maps", + "maps": [ + { + "key_type": "int64", + "field": { + "id": 1, + "name": "m_int64_str", + "type": "string" + } + }, + { + "key_type": "bool", + "field": { + "id": 2, + "name": "m_bool_simple", + "type": "Simple" + } + } + ] + }, + { + "name": "MsgWithOneof", + "fields": [ + { + "id": 1, + "name": "title", + "type": "string" + }, + { + "id": 2, + "name": "salary", + "type": "int64" + }, + { + "id": 3, + "name": "Country", + "type": "string" + }, + { + "id": 4, + "name": "home_address", + "type": "string" + } + ] + }, + { + "name": "Real", + "fields": [ + { + "id": 1, + "name": "value", + "type": "double" + } + ] + }, + { + "name": "Real", + "fields": [ + { + "id": 124, + "name": "name", + "type": "string" + } + ] + }, + { + "name": "Complex", + "fields": [ + { + "id": 1, + "name": "imaginary", + "type": "double" + } + ], + "messages": [ + { + "name": "Real", + "fields": [ + { + "id": 123, + "name": "real_extension", + "type": "Complex" + } + ] + } + ] + }, + { + "name": "KnownTypes", + "fields": [ + { + "id": 14, + "name": "an", + "type": "google.protobuf.Any" + }, + { + "id": 1, + "name": "dur", + "type": "google.protobuf.Duration" + }, + { + "id": 12, + "name": "st", + "type": "google.protobuf.Struct" + }, + { + "id": 2, + "name": "ts", + "type": "google.protobuf.Timestamp" + }, + { + "id": 15, + "name": "lv", + "type": "google.protobuf.ListValue" + }, + { + "id": 16, + "name": "val", + "type": "google.protobuf.Value" + }, + { + "id": 3, + "name": "dbl", + "type": "google.protobuf.DoubleValue" + }, + { + "id": 4, + "name": "flt", + "type": "google.protobuf.FloatValue" + }, + { + "id": 5, + "name": "i64", + "type": "google.protobuf.Int64Value" + }, + { + "id": 6, + "name": "u64", + "type": "google.protobuf.UInt64Value" + }, + { + "id": 7, + "name": "i32", + "type": "google.protobuf.Int32Value" + }, + { + "id": 8, + "name": "u32", + "type": "google.protobuf.UInt32Value" + }, + { + "id": 9, + "name": "bool", + "type": "google.protobuf.BoolValue" + }, + { + "id": 10, + "name": "str", + "type": "google.protobuf.StringValue" + }, + { + "id": 11, + "name": "bytes", + "type": "google.protobuf.BytesValue" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:proto:/:proto3_proto:/:proto3.proto", + "def": { + "enums": [ + { + "name": "Message.Humour", + "enum_fields": [ + { + "name": "UNKNOWN", + "integer": 0 + }, + { + "name": "PUNS", + "integer": 1 + }, + { + "name": "SLAPSTICK", + "integer": 2 + }, + { + "name": "BILL_BAILEY", + "integer": 3 + } + ] + } + ], + "messages": [ + { + "name": "Message", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "hilarity", + "type": "Humour" + }, + { + "id": 3, + "name": "height_in_cm", + "type": "uint32" + }, + { + "id": 4, + "name": "data", + "type": "bytes" + }, + { + "id": 7, + "name": "result_count", + "type": "int64" + }, + { + "id": 8, + "name": "true_scotsman", + "type": "bool" + }, + { + "id": 9, + "name": "score", + "type": "float" + }, + { + "id": 5, + "name": "key", + "type": "uint64", + "is_repeated": true + }, + { + "id": 19, + "name": "short_key", + "type": "int32", + "is_repeated": true + }, + { + "id": 6, + "name": "nested", + "type": "Nested" + }, + { + "id": 16, + "name": "r_funny", + "type": "Humour", + "is_repeated": true + }, + { + "id": 11, + "name": "proto2_field", + "type": "testdata.SubDefaults" + }, + { + "id": 14, + "name": "anything", + "type": "google.protobuf.Any" + }, + { + "id": 15, + "name": "many_things", + "type": "google.protobuf.Any", + "is_repeated": true + }, + { + "id": 17, + "name": "submessage", + "type": "Message" + }, + { + "id": 18, + "name": "children", + "type": "Message", + "is_repeated": true + } + ], + "maps": [ + { + "key_type": "string", + "field": { + "id": 10, + "name": "terrain", + "type": "Nested" + } + }, + { + "key_type": "string", + "field": { + "id": 13, + "name": "proto2_value", + "type": "testdata.SubDefaults" + } + } + ] + }, + { + "name": "Nested", + "fields": [ + { + "id": 1, + "name": "bunny", + "type": "string" + }, + { + "id": 2, + "name": "cute", + "type": "bool" + } + ] + }, + { + "name": "MessageWithMap", + "maps": [ + { + "key_type": "bool", + "field": { + "id": 1, + "name": "byte_mapping", + "type": "bytes" + } + } + ] + }, + { + "name": "IntMap", + "maps": [ + { + "key_type": "int32", + "field": { + "id": 1, + "name": "rtt", + "type": "int32" + } + } + ] + }, + { + "name": "IntMaps", + "fields": [ + { + "id": 1, + "name": "maps", + "type": "IntMap", + "is_repeated": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:proto:/:testdata:/:test.proto", + "def": { + "enums": [ + { + "name": "FOO", + "enum_fields": [ + { + "name": "FOO1", + "integer": 1 + } + ] + }, + { + "name": "GoTest.KIND", + "enum_fields": [ + { + "name": "VOID", + "integer": 0 + }, + { + "name": "BOOL", + "integer": 1 + }, + { + "name": "BYTES", + "integer": 2 + }, + { + "name": "FINGERPRINT", + "integer": 3 + }, + { + "name": "FLOAT", + "integer": 4 + }, + { + "name": "INT", + "integer": 5 + }, + { + "name": "STRING", + "integer": 6 + }, + { + "name": "TIME", + "integer": 7 + }, + { + "name": "TUPLE", + "integer": 8 + }, + { + "name": "ARRAY", + "integer": 9 + }, + { + "name": "MAP", + "integer": 10 + }, + { + "name": "TABLE", + "integer": 11 + }, + { + "name": "FUNCTION", + "integer": 12 + } + ] + }, + { + "name": "MyMessage.Color", + "enum_fields": [ + { + "name": "RED", + "integer": 0 + }, + { + "name": "GREEN", + "integer": 1 + }, + { + "name": "BLUE", + "integer": 2 + } + ] + }, + { + "name": "DefaultsMessage.DefaultsEnum", + "enum_fields": [ + { + "name": "ZERO", + "integer": 0 + }, + { + "name": "ONE", + "integer": 1 + }, + { + "name": "TWO", + "integer": 2 + } + ] + }, + { + "name": "Defaults.Color", + "enum_fields": [ + { + "name": "RED", + "integer": 0 + }, + { + "name": "GREEN", + "integer": 1 + }, + { + "name": "BLUE", + "integer": 2 + } + ] + }, + { + "name": "RepeatedEnum.Color", + "enum_fields": [ + { + "name": "RED", + "integer": 1 + } + ] + } + ], + "messages": [ + { + "name": "GoEnum", + "fields": [ + { + "id": 1, + "name": "foo", + "type": "FOO" + } + ] + }, + { + "name": "GoTestField", + "fields": [ + { + "id": 1, + "name": "Label", + "type": "string" + }, + { + "id": 2, + "name": "Type", + "type": "string" + } + ] + }, + { + "name": "GoTest", + "fields": [ + { + "id": 1, + "name": "Kind", + "type": "KIND" + }, + { + "id": 2, + "name": "Table", + "type": "string" + }, + { + "id": 3, + "name": "Param", + "type": "int32" + }, + { + "id": 4, + "name": "RequiredField", + "type": "GoTestField" + }, + { + "id": 5, + "name": "RepeatedField", + "type": "GoTestField", + "is_repeated": true + }, + { + "id": 6, + "name": "OptionalField", + "type": "GoTestField" + }, + { + "id": 10, + "name": "F_Bool_required", + "type": "bool" + }, + { + "id": 11, + "name": "F_Int32_required", + "type": "int32" + }, + { + "id": 12, + "name": "F_Int64_required", + "type": "int64" + }, + { + "id": 13, + "name": "F_Fixed32_required", + "type": "fixed32" + }, + { + "id": 14, + "name": "F_Fixed64_required", + "type": "fixed64" + }, + { + "id": 15, + "name": "F_Uint32_required", + "type": "uint32" + }, + { + "id": 16, + "name": "F_Uint64_required", + "type": "uint64" + }, + { + "id": 17, + "name": "F_Float_required", + "type": "float" + }, + { + "id": 18, + "name": "F_Double_required", + "type": "double" + }, + { + "id": 19, + "name": "F_String_required", + "type": "string" + }, + { + "id": 101, + "name": "F_Bytes_required", + "type": "bytes" + }, + { + "id": 102, + "name": "F_Sint32_required", + "type": "sint32" + }, + { + "id": 103, + "name": "F_Sint64_required", + "type": "sint64" + }, + { + "id": 20, + "name": "F_Bool_repeated", + "type": "bool", + "is_repeated": true + }, + { + "id": 21, + "name": "F_Int32_repeated", + "type": "int32", + "is_repeated": true + }, + { + "id": 22, + "name": "F_Int64_repeated", + "type": "int64", + "is_repeated": true + }, + { + "id": 23, + "name": "F_Fixed32_repeated", + "type": "fixed32", + "is_repeated": true + }, + { + "id": 24, + "name": "F_Fixed64_repeated", + "type": "fixed64", + "is_repeated": true + }, + { + "id": 25, + "name": "F_Uint32_repeated", + "type": "uint32", + "is_repeated": true + }, + { + "id": 26, + "name": "F_Uint64_repeated", + "type": "uint64", + "is_repeated": true + }, + { + "id": 27, + "name": "F_Float_repeated", + "type": "float", + "is_repeated": true + }, + { + "id": 28, + "name": "F_Double_repeated", + "type": "double", + "is_repeated": true + }, + { + "id": 29, + "name": "F_String_repeated", + "type": "string", + "is_repeated": true + }, + { + "id": 201, + "name": "F_Bytes_repeated", + "type": "bytes", + "is_repeated": true + }, + { + "id": 202, + "name": "F_Sint32_repeated", + "type": "sint32", + "is_repeated": true + }, + { + "id": 203, + "name": "F_Sint64_repeated", + "type": "sint64", + "is_repeated": true + }, + { + "id": 30, + "name": "F_Bool_optional", + "type": "bool" + }, + { + "id": 31, + "name": "F_Int32_optional", + "type": "int32" + }, + { + "id": 32, + "name": "F_Int64_optional", + "type": "int64" + }, + { + "id": 33, + "name": "F_Fixed32_optional", + "type": "fixed32" + }, + { + "id": 34, + "name": "F_Fixed64_optional", + "type": "fixed64" + }, + { + "id": 35, + "name": "F_Uint32_optional", + "type": "uint32" + }, + { + "id": 36, + "name": "F_Uint64_optional", + "type": "uint64" + }, + { + "id": 37, + "name": "F_Float_optional", + "type": "float" + }, + { + "id": 38, + "name": "F_Double_optional", + "type": "double" + }, + { + "id": 39, + "name": "F_String_optional", + "type": "string" + }, + { + "id": 301, + "name": "F_Bytes_optional", + "type": "bytes" + }, + { + "id": 302, + "name": "F_Sint32_optional", + "type": "sint32" + }, + { + "id": 303, + "name": "F_Sint64_optional", + "type": "sint64" + }, + { + "id": 40, + "name": "F_Bool_defaulted", + "type": "bool" + }, + { + "id": 41, + "name": "F_Int32_defaulted", + "type": "int32" + }, + { + "id": 42, + "name": "F_Int64_defaulted", + "type": "int64" + }, + { + "id": 43, + "name": "F_Fixed32_defaulted", + "type": "fixed32" + }, + { + "id": 44, + "name": "F_Fixed64_defaulted", + "type": "fixed64" + }, + { + "id": 45, + "name": "F_Uint32_defaulted", + "type": "uint32" + }, + { + "id": 46, + "name": "F_Uint64_defaulted", + "type": "uint64" + }, + { + "id": 47, + "name": "F_Float_defaulted", + "type": "float" + }, + { + "id": 48, + "name": "F_Double_defaulted", + "type": "double" + }, + { + "id": 49, + "name": "F_String_defaulted", + "type": "string" + }, + { + "id": 401, + "name": "F_Bytes_defaulted", + "type": "bytes" + }, + { + "id": 402, + "name": "F_Sint32_defaulted", + "type": "sint32" + }, + { + "id": 403, + "name": "F_Sint64_defaulted", + "type": "sint64" + }, + { + "id": 50, + "name": "F_Bool_repeated_packed", + "type": "bool", + "is_repeated": true + }, + { + "id": 51, + "name": "F_Int32_repeated_packed", + "type": "int32", + "is_repeated": true + }, + { + "id": 52, + "name": "F_Int64_repeated_packed", + "type": "int64", + "is_repeated": true + }, + { + "id": 53, + "name": "F_Fixed32_repeated_packed", + "type": "fixed32", + "is_repeated": true + }, + { + "id": 54, + "name": "F_Fixed64_repeated_packed", + "type": "fixed64", + "is_repeated": true + }, + { + "id": 55, + "name": "F_Uint32_repeated_packed", + "type": "uint32", + "is_repeated": true + }, + { + "id": 56, + "name": "F_Uint64_repeated_packed", + "type": "uint64", + "is_repeated": true + }, + { + "id": 57, + "name": "F_Float_repeated_packed", + "type": "float", + "is_repeated": true + }, + { + "id": 58, + "name": "F_Double_repeated_packed", + "type": "double", + "is_repeated": true + }, + { + "id": 502, + "name": "F_Sint32_repeated_packed", + "type": "sint32", + "is_repeated": true + }, + { + "id": 503, + "name": "F_Sint64_repeated_packed", + "type": "sint64", + "is_repeated": true + } + ] + }, + { + "name": "GoTestRequiredGroupField" + }, + { + "name": "GoSkipTest", + "fields": [ + { + "id": 11, + "name": "skip_int32", + "type": "int32" + }, + { + "id": 12, + "name": "skip_fixed32", + "type": "fixed32" + }, + { + "id": 13, + "name": "skip_fixed64", + "type": "fixed64" + }, + { + "id": 14, + "name": "skip_string", + "type": "string" + } + ] + }, + { + "name": "NonPackedTest", + "fields": [ + { + "id": 1, + "name": "a", + "type": "int32", + "is_repeated": true + } + ] + }, + { + "name": "PackedTest", + "fields": [ + { + "id": 1, + "name": "b", + "type": "int32", + "is_repeated": true + } + ] + }, + { + "name": "MaxTag", + "fields": [ + { + "id": 536870911, + "name": "last_field", + "type": "string" + } + ] + }, + { + "name": "OldMessage", + "fields": [ + { + "id": 1, + "name": "nested", + "type": "Nested" + }, + { + "id": 2, + "name": "num", + "type": "int32" + } + ], + "messages": [ + { + "name": "Nested", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + } + ] + } + ] + }, + { + "name": "NewMessage", + "fields": [ + { + "id": 1, + "name": "nested", + "type": "Nested" + }, + { + "id": 2, + "name": "num", + "type": "int64" + } + ], + "messages": [ + { + "name": "Nested", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "food_group", + "type": "string" + } + ] + } + ] + }, + { + "name": "InnerMessage", + "fields": [ + { + "id": 1, + "name": "host", + "type": "string" + }, + { + "id": 2, + "name": "port", + "type": "int32" + }, + { + "id": 3, + "name": "connected", + "type": "bool" + } + ] + }, + { + "name": "OtherMessage", + "fields": [ + { + "id": 1, + "name": "key", + "type": "int64" + }, + { + "id": 2, + "name": "value", + "type": "bytes" + }, + { + "id": 3, + "name": "weight", + "type": "float" + }, + { + "id": 4, + "name": "inner", + "type": "InnerMessage" + } + ] + }, + { + "name": "RequiredInnerMessage", + "fields": [ + { + "id": 1, + "name": "leo_finally_won_an_oscar", + "type": "InnerMessage" + } + ] + }, + { + "name": "MyMessage", + "fields": [ + { + "id": 1, + "name": "count", + "type": "int32" + }, + { + "id": 2, + "name": "name", + "type": "string" + }, + { + "id": 3, + "name": "quote", + "type": "string" + }, + { + "id": 4, + "name": "pet", + "type": "string", + "is_repeated": true + }, + { + "id": 5, + "name": "inner", + "type": "InnerMessage" + }, + { + "id": 6, + "name": "others", + "type": "OtherMessage", + "is_repeated": true + }, + { + "id": 13, + "name": "we_must_go_deeper", + "type": "RequiredInnerMessage" + }, + { + "id": 12, + "name": "rep_inner", + "type": "InnerMessage", + "is_repeated": true + }, + { + "id": 7, + "name": "bikeshed", + "type": "Color" + }, + { + "id": 10, + "name": "rep_bytes", + "type": "bytes", + "is_repeated": true + }, + { + "id": 11, + "name": "bigfloat", + "type": "double" + } + ] + }, + { + "name": "Ext", + "fields": [ + { + "id": 1, + "name": "data", + "type": "string" + } + ], + "messages": [ + { + "name": "MyMessage", + "fields": [ + { + "id": 103, + "name": "more", + "type": "Ext" + }, + { + "id": 104, + "name": "text", + "type": "string" + }, + { + "id": 105, + "name": "number", + "type": "int32" + } + ] + } + ] + }, + { + "name": "MyMessage", + "fields": [ + { + "id": 106, + "name": "greeting", + "type": "string", + "is_repeated": true + } + ] + }, + { + "name": "ComplexExtension", + "fields": [ + { + "id": 1, + "name": "first", + "type": "int32" + }, + { + "id": 2, + "name": "second", + "type": "int32" + }, + { + "id": 3, + "name": "third", + "type": "int32", + "is_repeated": true + } + ] + }, + { + "name": "OtherMessage", + "fields": [ + { + "id": 200, + "name": "complex", + "type": "ComplexExtension" + }, + { + "id": 201, + "name": "r_complex", + "type": "ComplexExtension", + "is_repeated": true + } + ] + }, + { + "name": "DefaultsMessage" + }, + { + "name": "DefaultsMessage", + "fields": [ + { + "id": 101, + "name": "no_default_double", + "type": "double" + }, + { + "id": 102, + "name": "no_default_float", + "type": "float" + }, + { + "id": 103, + "name": "no_default_int32", + "type": "int32" + }, + { + "id": 104, + "name": "no_default_int64", + "type": "int64" + }, + { + "id": 105, + "name": "no_default_uint32", + "type": "uint32" + }, + { + "id": 106, + "name": "no_default_uint64", + "type": "uint64" + }, + { + "id": 107, + "name": "no_default_sint32", + "type": "sint32" + }, + { + "id": 108, + "name": "no_default_sint64", + "type": "sint64" + }, + { + "id": 109, + "name": "no_default_fixed32", + "type": "fixed32" + }, + { + "id": 110, + "name": "no_default_fixed64", + "type": "fixed64" + }, + { + "id": 111, + "name": "no_default_sfixed32", + "type": "sfixed32" + }, + { + "id": 112, + "name": "no_default_sfixed64", + "type": "sfixed64" + }, + { + "id": 113, + "name": "no_default_bool", + "type": "bool" + }, + { + "id": 114, + "name": "no_default_string", + "type": "string" + }, + { + "id": 115, + "name": "no_default_bytes", + "type": "bytes" + }, + { + "id": 116, + "name": "no_default_enum", + "type": "DefaultsMessage.DefaultsEnum" + }, + { + "id": 201, + "name": "default_double", + "type": "double" + }, + { + "id": 202, + "name": "default_float", + "type": "float" + }, + { + "id": 203, + "name": "default_int32", + "type": "int32" + }, + { + "id": 204, + "name": "default_int64", + "type": "int64" + }, + { + "id": 205, + "name": "default_uint32", + "type": "uint32" + }, + { + "id": 206, + "name": "default_uint64", + "type": "uint64" + }, + { + "id": 207, + "name": "default_sint32", + "type": "sint32" + }, + { + "id": 208, + "name": "default_sint64", + "type": "sint64" + }, + { + "id": 209, + "name": "default_fixed32", + "type": "fixed32" + }, + { + "id": 210, + "name": "default_fixed64", + "type": "fixed64" + }, + { + "id": 211, + "name": "default_sfixed32", + "type": "sfixed32" + }, + { + "id": 212, + "name": "default_sfixed64", + "type": "sfixed64" + }, + { + "id": 213, + "name": "default_bool", + "type": "bool" + }, + { + "id": 214, + "name": "default_string", + "type": "string" + }, + { + "id": 215, + "name": "default_bytes", + "type": "bytes" + }, + { + "id": 216, + "name": "default_enum", + "type": "DefaultsMessage.DefaultsEnum" + } + ] + }, + { + "name": "MyMessageSet" + }, + { + "name": "Empty" + }, + { + "name": "MyMessageSet", + "fields": [ + { + "id": 201, + "name": "x201", + "type": "Empty" + }, + { + "id": 202, + "name": "x202", + "type": "Empty" + }, + { + "id": 203, + "name": "x203", + "type": "Empty" + }, + { + "id": 204, + "name": "x204", + "type": "Empty" + }, + { + "id": 205, + "name": "x205", + "type": "Empty" + }, + { + "id": 206, + "name": "x206", + "type": "Empty" + }, + { + "id": 207, + "name": "x207", + "type": "Empty" + }, + { + "id": 208, + "name": "x208", + "type": "Empty" + }, + { + "id": 209, + "name": "x209", + "type": "Empty" + }, + { + "id": 210, + "name": "x210", + "type": "Empty" + }, + { + "id": 211, + "name": "x211", + "type": "Empty" + }, + { + "id": 212, + "name": "x212", + "type": "Empty" + }, + { + "id": 213, + "name": "x213", + "type": "Empty" + }, + { + "id": 214, + "name": "x214", + "type": "Empty" + }, + { + "id": 215, + "name": "x215", + "type": "Empty" + }, + { + "id": 216, + "name": "x216", + "type": "Empty" + }, + { + "id": 217, + "name": "x217", + "type": "Empty" + }, + { + "id": 218, + "name": "x218", + "type": "Empty" + }, + { + "id": 219, + "name": "x219", + "type": "Empty" + }, + { + "id": 220, + "name": "x220", + "type": "Empty" + }, + { + "id": 221, + "name": "x221", + "type": "Empty" + }, + { + "id": 222, + "name": "x222", + "type": "Empty" + }, + { + "id": 223, + "name": "x223", + "type": "Empty" + }, + { + "id": 224, + "name": "x224", + "type": "Empty" + }, + { + "id": 225, + "name": "x225", + "type": "Empty" + }, + { + "id": 226, + "name": "x226", + "type": "Empty" + }, + { + "id": 227, + "name": "x227", + "type": "Empty" + }, + { + "id": 228, + "name": "x228", + "type": "Empty" + }, + { + "id": 229, + "name": "x229", + "type": "Empty" + }, + { + "id": 230, + "name": "x230", + "type": "Empty" + }, + { + "id": 231, + "name": "x231", + "type": "Empty" + }, + { + "id": 232, + "name": "x232", + "type": "Empty" + }, + { + "id": 233, + "name": "x233", + "type": "Empty" + }, + { + "id": 234, + "name": "x234", + "type": "Empty" + }, + { + "id": 235, + "name": "x235", + "type": "Empty" + }, + { + "id": 236, + "name": "x236", + "type": "Empty" + }, + { + "id": 237, + "name": "x237", + "type": "Empty" + }, + { + "id": 238, + "name": "x238", + "type": "Empty" + }, + { + "id": 239, + "name": "x239", + "type": "Empty" + }, + { + "id": 240, + "name": "x240", + "type": "Empty" + }, + { + "id": 241, + "name": "x241", + "type": "Empty" + }, + { + "id": 242, + "name": "x242", + "type": "Empty" + }, + { + "id": 243, + "name": "x243", + "type": "Empty" + }, + { + "id": 244, + "name": "x244", + "type": "Empty" + }, + { + "id": 245, + "name": "x245", + "type": "Empty" + }, + { + "id": 246, + "name": "x246", + "type": "Empty" + }, + { + "id": 247, + "name": "x247", + "type": "Empty" + }, + { + "id": 248, + "name": "x248", + "type": "Empty" + }, + { + "id": 249, + "name": "x249", + "type": "Empty" + }, + { + "id": 250, + "name": "x250", + "type": "Empty" + } + ] + }, + { + "name": "MessageList" + }, + { + "name": "Strings", + "fields": [ + { + "id": 1, + "name": "string_field", + "type": "string" + }, + { + "id": 2, + "name": "bytes_field", + "type": "bytes" + } + ] + }, + { + "name": "Defaults", + "fields": [ + { + "id": 1, + "name": "F_Bool", + "type": "bool" + }, + { + "id": 2, + "name": "F_Int32", + "type": "int32" + }, + { + "id": 3, + "name": "F_Int64", + "type": "int64" + }, + { + "id": 4, + "name": "F_Fixed32", + "type": "fixed32" + }, + { + "id": 5, + "name": "F_Fixed64", + "type": "fixed64" + }, + { + "id": 6, + "name": "F_Uint32", + "type": "uint32" + }, + { + "id": 7, + "name": "F_Uint64", + "type": "uint64" + }, + { + "id": 8, + "name": "F_Float", + "type": "float" + }, + { + "id": 9, + "name": "F_Double", + "type": "double" + }, + { + "id": 10, + "name": "F_String", + "type": "string" + }, + { + "id": 11, + "name": "F_Bytes", + "type": "bytes" + }, + { + "id": 12, + "name": "F_Sint32", + "type": "sint32" + }, + { + "id": 13, + "name": "F_Sint64", + "type": "sint64" + }, + { + "id": 14, + "name": "F_Enum", + "type": "Color" + }, + { + "id": 15, + "name": "F_Pinf", + "type": "float" + }, + { + "id": 16, + "name": "F_Ninf", + "type": "float" + }, + { + "id": 17, + "name": "F_Nan", + "type": "float" + }, + { + "id": 18, + "name": "sub", + "type": "SubDefaults" + }, + { + "id": 19, + "name": "str_zero", + "type": "string" + } + ] + }, + { + "name": "SubDefaults", + "fields": [ + { + "id": 1, + "name": "n", + "type": "int64" + } + ] + }, + { + "name": "RepeatedEnum", + "fields": [ + { + "id": 1, + "name": "color", + "type": "Color", + "is_repeated": true + } + ] + }, + { + "name": "MoreRepeated", + "fields": [ + { + "id": 1, + "name": "bools", + "type": "bool", + "is_repeated": true + }, + { + "id": 2, + "name": "bools_packed", + "type": "bool", + "is_repeated": true + }, + { + "id": 3, + "name": "ints", + "type": "int32", + "is_repeated": true + }, + { + "id": 4, + "name": "ints_packed", + "type": "int32", + "is_repeated": true + }, + { + "id": 7, + "name": "int64s_packed", + "type": "int64", + "is_repeated": true + }, + { + "id": 5, + "name": "strings", + "type": "string", + "is_repeated": true + }, + { + "id": 6, + "name": "fixeds", + "type": "fixed32", + "is_repeated": true + } + ] + }, + { + "name": "GroupOld" + }, + { + "name": "GroupNew" + }, + { + "name": "FloatingPoint", + "fields": [ + { + "id": 1, + "name": "f", + "type": "double" + }, + { + "id": 2, + "name": "exact", + "type": "bool" + } + ] + }, + { + "name": "MessageWithMap", + "maps": [ + { + "key_type": "int32", + "field": { + "id": 1, + "name": "name_mapping", + "type": "string" + } + }, + { + "key_type": "sint64", + "field": { + "id": 2, + "name": "msg_mapping", + "type": "FloatingPoint" + } + }, + { + "key_type": "bool", + "field": { + "id": 3, + "name": "byte_mapping", + "type": "bytes" + } + }, + { + "key_type": "string", + "field": { + "id": 4, + "name": "str_to_str", + "type": "string" + } + } + ] + }, + { + "name": "Oneof", + "fields": [ + { + "id": 1, + "name": "F_Bool", + "type": "bool" + }, + { + "id": 2, + "name": "F_Int32", + "type": "int32" + }, + { + "id": 3, + "name": "F_Int64", + "type": "int64" + }, + { + "id": 4, + "name": "F_Fixed32", + "type": "fixed32" + }, + { + "id": 5, + "name": "F_Fixed64", + "type": "fixed64" + }, + { + "id": 6, + "name": "F_Uint32", + "type": "uint32" + }, + { + "id": 7, + "name": "F_Uint64", + "type": "uint64" + }, + { + "id": 8, + "name": "F_Float", + "type": "float" + }, + { + "id": 9, + "name": "F_Double", + "type": "double" + }, + { + "id": 10, + "name": "F_String", + "type": "string" + }, + { + "id": 11, + "name": "F_Bytes", + "type": "bytes" + }, + { + "id": 12, + "name": "F_Sint32", + "type": "sint32" + }, + { + "id": 13, + "name": "F_Sint64", + "type": "sint64" + }, + { + "id": 14, + "name": "F_Enum", + "type": "MyMessage.Color" + }, + { + "id": 15, + "name": "F_Message", + "type": "GoTestField" + }, + { + "id": 536870911, + "name": "F_Largest_Tag", + "type": "int32" + }, + { + "id": 100, + "name": "value", + "type": "int32" + } + ] + }, + { + "name": "Communique", + "fields": [ + { + "id": 1, + "name": "make_me_cry", + "type": "bool" + }, + { + "id": 5, + "name": "number", + "type": "int32" + }, + { + "id": 6, + "name": "name", + "type": "string" + }, + { + "id": 7, + "name": "data", + "type": "bytes" + }, + { + "id": 8, + "name": "temp_c", + "type": "double" + }, + { + "id": 9, + "name": "col", + "type": "MyMessage.Color" + }, + { + "id": 10, + "name": "msg", + "type": "Strings" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:descriptor:/:descriptor.proto", + "def": { + "enums": [ + { + "name": "FieldDescriptorProto.Type", + "enum_fields": [ + { + "name": "TYPE_DOUBLE", + "integer": 1 + }, + { + "name": "TYPE_FLOAT", + "integer": 2 + }, + { + "name": "TYPE_INT64", + "integer": 3 + }, + { + "name": "TYPE_UINT64", + "integer": 4 + }, + { + "name": "TYPE_INT32", + "integer": 5 + }, + { + "name": "TYPE_FIXED64", + "integer": 6 + }, + { + "name": "TYPE_FIXED32", + "integer": 7 + }, + { + "name": "TYPE_BOOL", + "integer": 8 + }, + { + "name": "TYPE_STRING", + "integer": 9 + }, + { + "name": "TYPE_GROUP", + "integer": 10 + }, + { + "name": "TYPE_MESSAGE", + "integer": 11 + }, + { + "name": "TYPE_BYTES", + "integer": 12 + }, + { + "name": "TYPE_UINT32", + "integer": 13 + }, + { + "name": "TYPE_ENUM", + "integer": 14 + }, + { + "name": "TYPE_SFIXED32", + "integer": 15 + }, + { + "name": "TYPE_SFIXED64", + "integer": 16 + }, + { + "name": "TYPE_SINT32", + "integer": 17 + }, + { + "name": "TYPE_SINT64", + "integer": 18 + } + ] + }, + { + "name": "FieldDescriptorProto.Label", + "enum_fields": [ + { + "name": "LABEL_OPTIONAL", + "integer": 1 + }, + { + "name": "LABEL_REQUIRED", + "integer": 2 + }, + { + "name": "LABEL_REPEATED", + "integer": 3 + } + ] + }, + { + "name": "FileOptions.OptimizeMode", + "enum_fields": [ + { + "name": "SPEED", + "integer": 1 + }, + { + "name": "CODE_SIZE", + "integer": 2 + }, + { + "name": "LITE_RUNTIME", + "integer": 3 + } + ] + }, + { + "name": "FieldOptions.CType", + "enum_fields": [ + { + "name": "STRING", + "integer": 0 + }, + { + "name": "CORD", + "integer": 1 + }, + { + "name": "STRING_PIECE", + "integer": 2 + } + ] + }, + { + "name": "FieldOptions.JSType", + "enum_fields": [ + { + "name": "JS_NORMAL", + "integer": 0 + }, + { + "name": "JS_STRING", + "integer": 1 + }, + { + "name": "JS_NUMBER", + "integer": 2 + } + ] + }, + { + "name": "MethodOptions.IdempotencyLevel", + "enum_fields": [ + { + "name": "IDEMPOTENCY_UNKNOWN", + "integer": 0 + }, + { + "name": "NO_SIDE_EFFECTS", + "integer": 1 + }, + { + "name": "IDEMPOTENT", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "FileDescriptorSet", + "fields": [ + { + "id": 1, + "name": "file", + "type": "FileDescriptorProto", + "is_repeated": true + } + ] + }, + { + "name": "FileDescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "package", + "type": "string" + }, + { + "id": 3, + "name": "dependency", + "type": "string", + "is_repeated": true + }, + { + "id": 10, + "name": "public_dependency", + "type": "int32", + "is_repeated": true + }, + { + "id": 11, + "name": "weak_dependency", + "type": "int32", + "is_repeated": true + }, + { + "id": 4, + "name": "message_type", + "type": "DescriptorProto", + "is_repeated": true + }, + { + "id": 5, + "name": "enum_type", + "type": "EnumDescriptorProto", + "is_repeated": true + }, + { + "id": 6, + "name": "service", + "type": "ServiceDescriptorProto", + "is_repeated": true + }, + { + "id": 7, + "name": "extension", + "type": "FieldDescriptorProto", + "is_repeated": true + }, + { + "id": 8, + "name": "options", + "type": "FileOptions" + }, + { + "id": 9, + "name": "source_code_info", + "type": "SourceCodeInfo" + }, + { + "id": 12, + "name": "syntax", + "type": "string" + } + ] + }, + { + "name": "DescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "field", + "type": "FieldDescriptorProto", + "is_repeated": true + }, + { + "id": 6, + "name": "extension", + "type": "FieldDescriptorProto", + "is_repeated": true + }, + { + "id": 3, + "name": "nested_type", + "type": "DescriptorProto", + "is_repeated": true + }, + { + "id": 4, + "name": "enum_type", + "type": "EnumDescriptorProto", + "is_repeated": true + }, + { + "id": 5, + "name": "extension_range", + "type": "ExtensionRange", + "is_repeated": true + }, + { + "id": 8, + "name": "oneof_decl", + "type": "OneofDescriptorProto", + "is_repeated": true + }, + { + "id": 7, + "name": "options", + "type": "MessageOptions" + }, + { + "id": 9, + "name": "reserved_range", + "type": "ReservedRange", + "is_repeated": true + }, + { + "id": 10, + "name": "reserved_name", + "type": "string", + "is_repeated": true + } + ], + "messages": [ + { + "name": "ExtensionRange", + "fields": [ + { + "id": 1, + "name": "start", + "type": "int32" + }, + { + "id": 2, + "name": "end", + "type": "int32" + }, + { + "id": 3, + "name": "options", + "type": "ExtensionRangeOptions" + } + ] + }, + { + "name": "ReservedRange", + "fields": [ + { + "id": 1, + "name": "start", + "type": "int32" + }, + { + "id": 2, + "name": "end", + "type": "int32" + } + ] + } + ] + }, + { + "name": "ExtensionRangeOptions", + "fields": [ + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ] + }, + { + "name": "FieldDescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 3, + "name": "number", + "type": "int32" + }, + { + "id": 4, + "name": "label", + "type": "Label" + }, + { + "id": 5, + "name": "type", + "type": "Type" + }, + { + "id": 6, + "name": "type_name", + "type": "string" + }, + { + "id": 2, + "name": "extendee", + "type": "string" + }, + { + "id": 7, + "name": "default_value", + "type": "string" + }, + { + "id": 9, + "name": "oneof_index", + "type": "int32" + }, + { + "id": 10, + "name": "json_name", + "type": "string" + }, + { + "id": 8, + "name": "options", + "type": "FieldOptions" + } + ] + }, + { + "name": "OneofDescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "options", + "type": "OneofOptions" + } + ] + }, + { + "name": "EnumDescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "value", + "type": "EnumValueDescriptorProto", + "is_repeated": true + }, + { + "id": 3, + "name": "options", + "type": "EnumOptions" + } + ] + }, + { + "name": "EnumValueDescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "number", + "type": "int32" + }, + { + "id": 3, + "name": "options", + "type": "EnumValueOptions" + } + ] + }, + { + "name": "ServiceDescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "method", + "type": "MethodDescriptorProto", + "is_repeated": true + }, + { + "id": 3, + "name": "options", + "type": "ServiceOptions" + } + ] + }, + { + "name": "MethodDescriptorProto", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "input_type", + "type": "string" + }, + { + "id": 3, + "name": "output_type", + "type": "string" + }, + { + "id": 4, + "name": "options", + "type": "MethodOptions" + }, + { + "id": 5, + "name": "client_streaming", + "type": "bool" + }, + { + "id": 6, + "name": "server_streaming", + "type": "bool" + } + ] + }, + { + "name": "FileOptions", + "fields": [ + { + "id": 1, + "name": "java_package", + "type": "string" + }, + { + "id": 8, + "name": "java_outer_classname", + "type": "string" + }, + { + "id": 10, + "name": "java_multiple_files", + "type": "bool" + }, + { + "id": 20, + "name": "java_generate_equals_and_hash", + "type": "bool" + }, + { + "id": 27, + "name": "java_string_check_utf8", + "type": "bool" + }, + { + "id": 9, + "name": "optimize_for", + "type": "OptimizeMode" + }, + { + "id": 11, + "name": "go_package", + "type": "string" + }, + { + "id": 16, + "name": "cc_generic_services", + "type": "bool" + }, + { + "id": 17, + "name": "java_generic_services", + "type": "bool" + }, + { + "id": 18, + "name": "py_generic_services", + "type": "bool" + }, + { + "id": 42, + "name": "php_generic_services", + "type": "bool" + }, + { + "id": 23, + "name": "deprecated", + "type": "bool" + }, + { + "id": 31, + "name": "cc_enable_arenas", + "type": "bool" + }, + { + "id": 36, + "name": "objc_class_prefix", + "type": "string" + }, + { + "id": 37, + "name": "csharp_namespace", + "type": "string" + }, + { + "id": 39, + "name": "swift_prefix", + "type": "string" + }, + { + "id": 40, + "name": "php_class_prefix", + "type": "string" + }, + { + "id": 41, + "name": "php_namespace", + "type": "string" + }, + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ], + "reserved_ids": [ + 38 + ] + }, + { + "name": "MessageOptions", + "fields": [ + { + "id": 1, + "name": "message_set_wire_format", + "type": "bool" + }, + { + "id": 2, + "name": "no_standard_descriptor_accessor", + "type": "bool" + }, + { + "id": 3, + "name": "deprecated", + "type": "bool" + }, + { + "id": 7, + "name": "map_entry", + "type": "bool" + }, + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ], + "reserved_ids": [ + 8, + 9 + ] + }, + { + "name": "FieldOptions", + "fields": [ + { + "id": 1, + "name": "ctype", + "type": "CType" + }, + { + "id": 2, + "name": "packed", + "type": "bool" + }, + { + "id": 6, + "name": "jstype", + "type": "JSType" + }, + { + "id": 5, + "name": "lazy", + "type": "bool" + }, + { + "id": 3, + "name": "deprecated", + "type": "bool" + }, + { + "id": 10, + "name": "weak", + "type": "bool" + }, + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ], + "reserved_ids": [ + 4 + ] + }, + { + "name": "OneofOptions", + "fields": [ + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ] + }, + { + "name": "EnumOptions", + "fields": [ + { + "id": 2, + "name": "allow_alias", + "type": "bool" + }, + { + "id": 3, + "name": "deprecated", + "type": "bool" + }, + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ], + "reserved_ids": [ + 5 + ] + }, + { + "name": "EnumValueOptions", + "fields": [ + { + "id": 1, + "name": "deprecated", + "type": "bool" + }, + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ] + }, + { + "name": "ServiceOptions", + "fields": [ + { + "id": 33, + "name": "deprecated", + "type": "bool" + }, + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ] + }, + { + "name": "MethodOptions", + "fields": [ + { + "id": 33, + "name": "deprecated", + "type": "bool" + }, + { + "id": 34, + "name": "idempotency_level", + "type": "IdempotencyLevel" + }, + { + "id": 999, + "name": "uninterpreted_option", + "type": "UninterpretedOption", + "is_repeated": true + } + ] + }, + { + "name": "UninterpretedOption", + "fields": [ + { + "id": 2, + "name": "name", + "type": "NamePart", + "is_repeated": true + }, + { + "id": 3, + "name": "identifier_value", + "type": "string" + }, + { + "id": 4, + "name": "positive_int_value", + "type": "uint64" + }, + { + "id": 5, + "name": "negative_int_value", + "type": "int64" + }, + { + "id": 6, + "name": "double_value", + "type": "double" + }, + { + "id": 7, + "name": "string_value", + "type": "bytes" + }, + { + "id": 8, + "name": "aggregate_value", + "type": "string" + } + ], + "messages": [ + { + "name": "NamePart", + "fields": [ + { + "id": 1, + "name": "name_part", + "type": "string" + }, + { + "id": 2, + "name": "is_extension", + "type": "bool" + } + ] + } + ] + }, + { + "name": "SourceCodeInfo", + "fields": [ + { + "id": 1, + "name": "location", + "type": "Location", + "is_repeated": true + } + ], + "messages": [ + { + "name": "Location", + "fields": [ + { + "id": 1, + "name": "path", + "type": "int32", + "is_repeated": true + }, + { + "id": 2, + "name": "span", + "type": "int32", + "is_repeated": true + }, + { + "id": 3, + "name": "leading_comments", + "type": "string" + }, + { + "id": 4, + "name": "trailing_comments", + "type": "string" + }, + { + "id": 6, + "name": "leading_detached_comments", + "type": "string", + "is_repeated": true + } + ] + } + ] + }, + { + "name": "GeneratedCodeInfo", + "fields": [ + { + "id": 1, + "name": "annotation", + "type": "Annotation", + "is_repeated": true + } + ], + "messages": [ + { + "name": "Annotation", + "fields": [ + { + "id": 1, + "name": "path", + "type": "int32", + "is_repeated": true + }, + { + "id": 2, + "name": "source_file", + "type": "string" + }, + { + "id": 3, + "name": "begin", + "type": "int32" + }, + { + "id": 4, + "name": "end", + "type": "int32" + } + ] + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:plugin:/:plugin.proto", + "def": { + "messages": [ + { + "name": "Version", + "fields": [ + { + "id": 1, + "name": "major", + "type": "int32" + }, + { + "id": 2, + "name": "minor", + "type": "int32" + }, + { + "id": 3, + "name": "patch", + "type": "int32" + }, + { + "id": 4, + "name": "suffix", + "type": "string" + } + ] + }, + { + "name": "CodeGeneratorRequest", + "fields": [ + { + "id": 1, + "name": "file_to_generate", + "type": "string", + "is_repeated": true + }, + { + "id": 2, + "name": "parameter", + "type": "string" + }, + { + "id": 15, + "name": "proto_file", + "type": "FileDescriptorProto", + "is_repeated": true + }, + { + "id": 3, + "name": "compiler_version", + "type": "Version" + } + ] + }, + { + "name": "CodeGeneratorResponse", + "fields": [ + { + "id": 1, + "name": "error", + "type": "string" + }, + { + "id": 15, + "name": "file", + "type": "File", + "is_repeated": true + } + ], + "messages": [ + { + "name": "File", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "insertion_point", + "type": "string" + }, + { + "id": 15, + "name": "content", + "type": "string" + } + ] + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:extension_base.proto", + "def": { + "messages": [ + { + "name": "BaseMessage", + "fields": [ + { + "id": 1, + "name": "height", + "type": "int32" + } + ] + }, + { + "name": "OldStyleMessage" + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:extension_extra.proto", + "def": { + "messages": [ + { + "name": "ExtraMessage", + "fields": [ + { + "id": 1, + "name": "width", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:extension_user.proto", + "def": { + "messages": [ + { + "name": "UserMessage", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "rank", + "type": "string" + } + ] + }, + { + "name": "extension_base.BaseMessage", + "fields": [ + { + "id": 5, + "name": "user_message", + "type": "UserMessage" + } + ] + }, + { + "name": "extension_base.BaseMessage", + "fields": [ + { + "id": 9, + "name": "extra_message", + "type": "extension_extra.ExtraMessage" + } + ] + }, + { + "name": "extension_base.BaseMessage", + "fields": [ + { + "id": 6, + "name": "width", + "type": "int32" + }, + { + "id": 7, + "name": "area", + "type": "int64" + } + ] + }, + { + "name": "LoudMessage", + "messages": [ + { + "name": "extension_base.BaseMessage", + "fields": [ + { + "id": 8, + "name": "volume", + "type": "uint32" + } + ] + } + ] + }, + { + "name": "LoginMessage", + "messages": [ + { + "name": "extension_base.BaseMessage", + "fields": [ + { + "id": 16, + "name": "user_message", + "type": "UserMessage" + } + ] + } + ] + }, + { + "name": "extension_base.BaseMessage", + "fields": [ + { + "id": 17, + "name": "detail", + "type": "Detail", + "is_repeated": true + } + ] + }, + { + "name": "Detail", + "fields": [ + { + "id": 1, + "name": "color", + "type": "string" + } + ] + }, + { + "name": "Announcement", + "fields": [ + { + "id": 1, + "name": "words", + "type": "string" + } + ], + "messages": [ + { + "name": "LoudMessage", + "fields": [ + { + "id": 100, + "name": "loud_ext", + "type": "Announcement" + } + ] + } + ] + }, + { + "name": "OldStyleParcel", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "height", + "type": "int32" + } + ], + "messages": [ + { + "name": "extension_base.OldStyleMessage", + "fields": [ + { + "id": 2001, + "name": "message_set_extension", + "type": "OldStyleParcel" + } + ] + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:grpc.proto", + "def": { + "messages": [ + { + "name": "SimpleRequest" + }, + { + "name": "SimpleResponse" + }, + { + "name": "StreamMsg" + }, + { + "name": "StreamMsg2" + } + ], + "services": [ + { + "name": "Test", + "rpcs": [ + { + "name": "UnaryCall", + "in_type": "SimpleRequest", + "out_type": "SimpleResponse" + }, + { + "name": "Downstream", + "in_type": "SimpleRequest", + "out_type": "StreamMsg", + "out_streamed": true + }, + { + "name": "Upstream", + "in_type": "StreamMsg", + "out_type": "SimpleResponse", + "in_streamed": true + }, + { + "name": "Bidi", + "in_type": "StreamMsg", + "out_type": "StreamMsg2", + "in_streamed": true, + "out_streamed": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:imp.proto", + "def": { + "enums": [ + { + "name": "ImportedMessage.Owner", + "enum_fields": [ + { + "name": "DAVE", + "integer": 1 + }, + { + "name": "MIKE", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "ImportedMessage", + "fields": [ + { + "id": 1, + "name": "field", + "type": "int64" + }, + { + "id": 2, + "name": "local_msg", + "type": "ImportedMessage2" + }, + { + "id": 3, + "name": "foreign_msg", + "type": "ForeignImportedMessage" + }, + { + "id": 4, + "name": "enum_field", + "type": "Owner" + }, + { + "id": 9, + "name": "state", + "type": "int32" + }, + { + "id": 5, + "name": "name", + "type": "string", + "is_repeated": true + }, + { + "id": 6, + "name": "boss", + "type": "Owner", + "is_repeated": true + }, + { + "id": 7, + "name": "memo", + "type": "ImportedMessage2", + "is_repeated": true + } + ], + "maps": [ + { + "key_type": "string", + "field": { + "id": 8, + "name": "msg_map", + "type": "ImportedMessage2" + } + } + ] + }, + { + "name": "ImportedMessage2" + }, + { + "name": "ImportedExtendable" + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:imp2.proto", + "def": { + "enums": [ + { + "name": "PubliclyImportedEnum", + "enum_fields": [ + { + "name": "GLASSES", + "integer": 1 + }, + { + "name": "HAIR", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "PubliclyImportedMessage", + "fields": [ + { + "id": 1, + "name": "field", + "type": "int64" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:imp3.proto", + "def": { + "messages": [ + { + "name": "ForeignImportedMessage", + "fields": [ + { + "id": 1, + "name": "tuber", + "type": "string" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:multi:/:multi1.proto", + "def": { + "messages": [ + { + "name": "Multi1", + "fields": [ + { + "id": 1, + "name": "multi2", + "type": "Multi2" + }, + { + "id": 2, + "name": "color", + "type": "Multi2.Color" + }, + { + "id": 3, + "name": "hat_type", + "type": "Multi3.HatType" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:multi:/:multi2.proto", + "def": { + "enums": [ + { + "name": "Multi2.Color", + "enum_fields": [ + { + "name": "BLUE", + "integer": 1 + }, + { + "name": "GREEN", + "integer": 2 + }, + { + "name": "RED", + "integer": 3 + } + ] + } + ], + "messages": [ + { + "name": "Multi2", + "fields": [ + { + "id": 1, + "name": "required_value", + "type": "int32" + }, + { + "id": 2, + "name": "color", + "type": "Color" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:multi:/:multi3.proto", + "def": { + "enums": [ + { + "name": "Multi3.HatType", + "enum_fields": [ + { + "name": "FEDORA", + "integer": 1 + }, + { + "name": "FEZ", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "Multi3", + "fields": [ + { + "id": 1, + "name": "hat_type", + "type": "HatType" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:my_test:/:test.proto", + "def": { + "enums": [ + { + "name": "HatType", + "enum_fields": [ + { + "name": "FEDORA", + "integer": 1 + }, + { + "name": "FEZ", + "integer": 2 + } + ] + }, + { + "name": "Days", + "enum_fields": [ + { + "name": "MONDAY", + "integer": 1 + }, + { + "name": "TUESDAY", + "integer": 2 + }, + { + "name": "LUNDI", + "integer": 1 + } + ] + }, + { + "name": "Request.Color", + "enum_fields": [ + { + "name": "RED", + "integer": 0 + }, + { + "name": "GREEN", + "integer": 1 + }, + { + "name": "BLUE", + "integer": 2 + } + ] + }, + { + "name": "Entry.Game", + "enum_fields": [ + { + "name": "FOOTBALL", + "integer": 1 + }, + { + "name": "TENNIS", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "Request", + "fields": [ + { + "id": 1, + "name": "key", + "type": "int64", + "is_repeated": true + }, + { + "id": 3, + "name": "hue", + "type": "Color" + }, + { + "id": 4, + "name": "hat", + "type": "HatType" + }, + { + "id": 7, + "name": "deadline", + "type": "float" + }, + { + "id": 12, + "name": "reset", + "type": "int32" + }, + { + "id": 16, + "name": "get_key", + "type": "string" + } + ], + "maps": [ + { + "key_type": "int32", + "field": { + "id": 14, + "name": "name_mapping", + "type": "string" + } + }, + { + "key_type": "sint64", + "field": { + "id": 15, + "name": "msg_mapping", + "type": "Reply" + } + } + ] + }, + { + "name": "Reply", + "fields": [ + { + "id": 1, + "name": "found", + "type": "Entry", + "is_repeated": true + }, + { + "id": 2, + "name": "compact_keys", + "type": "int32", + "is_repeated": true + } + ], + "messages": [ + { + "name": "Entry", + "fields": [ + { + "id": 1, + "name": "key_that_needs_1234camel_CasIng", + "type": "int64" + }, + { + "id": 2, + "name": "value", + "type": "int64" + }, + { + "id": 3, + "name": "_my_field_name_2", + "type": "int64" + } + ] + } + ] + }, + { + "name": "OtherBase", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + } + ] + }, + { + "name": "ReplyExtensions", + "messages": [ + { + "name": "Reply", + "fields": [ + { + "id": 101, + "name": "time", + "type": "double" + }, + { + "id": 105, + "name": "carrot", + "type": "ReplyExtensions" + } + ] + }, + { + "name": "OtherBase", + "fields": [ + { + "id": 101, + "name": "donut", + "type": "ReplyExtensions" + } + ] + } + ] + }, + { + "name": "OtherReplyExtensions", + "fields": [ + { + "id": 1, + "name": "key", + "type": "int32" + } + ] + }, + { + "name": "Reply", + "fields": [ + { + "id": 103, + "name": "tag", + "type": "string" + }, + { + "id": 106, + "name": "donut", + "type": "OtherReplyExtensions" + } + ] + }, + { + "name": "OldReply" + }, + { + "name": "Communique", + "fields": [ + { + "id": 1, + "name": "make_me_cry", + "type": "bool" + }, + { + "id": 5, + "name": "number", + "type": "int32" + }, + { + "id": 6, + "name": "name", + "type": "string" + }, + { + "id": 7, + "name": "data", + "type": "bytes" + }, + { + "id": 8, + "name": "temp_c", + "type": "double" + }, + { + "id": 9, + "name": "height", + "type": "float" + }, + { + "id": 10, + "name": "today", + "type": "Days" + }, + { + "id": 11, + "name": "maybe", + "type": "bool" + }, + { + "id": 12, + "name": "delta", + "type": "sint32" + }, + { + "id": 13, + "name": "msg", + "type": "Reply" + } + ], + "messages": [ + { + "name": "Delta" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:proto3.proto", + "def": { + "enums": [ + { + "name": "Request.Flavour", + "enum_fields": [ + { + "name": "SWEET", + "integer": 0 + }, + { + "name": "SOUR", + "integer": 1 + }, + { + "name": "UMAMI", + "integer": 2 + }, + { + "name": "GOPHERLICIOUS", + "integer": 3 + } + ] + } + ], + "messages": [ + { + "name": "Request", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "key", + "type": "int64", + "is_repeated": true + }, + { + "id": 3, + "name": "taste", + "type": "Flavour" + }, + { + "id": 4, + "name": "book", + "type": "Book" + }, + { + "id": 5, + "name": "unpacked", + "type": "int64", + "is_repeated": true + } + ] + }, + { + "name": "Book", + "fields": [ + { + "id": 1, + "name": "title", + "type": "string" + }, + { + "id": 2, + "name": "raw_data", + "type": "bytes" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:ptypes:/:any:/:any.proto", + "def": { + "messages": [ + { + "name": "Any", + "fields": [ + { + "id": 1, + "name": "type_url", + "type": "string" + }, + { + "id": 2, + "name": "value", + "type": "bytes" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:ptypes:/:duration:/:duration.proto", + "def": { + "messages": [ + { + "name": "Duration", + "fields": [ + { + "id": 1, + "name": "seconds", + "type": "int64" + }, + { + "id": 2, + "name": "nanos", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:ptypes:/:empty:/:empty.proto", + "def": { + "messages": [ + { + "name": "Empty" + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:ptypes:/:struct:/:struct.proto", + "def": { + "enums": [ + { + "name": "NullValue", + "enum_fields": [ + { + "name": "NULL_VALUE", + "integer": 0 + } + ] + } + ], + "messages": [ + { + "name": "Struct", + "maps": [ + { + "key_type": "string", + "field": { + "id": 1, + "name": "fields", + "type": "Value" + } + } + ] + }, + { + "name": "Value", + "fields": [ + { + "id": 1, + "name": "null_value", + "type": "NullValue" + }, + { + "id": 2, + "name": "number_value", + "type": "double" + }, + { + "id": 3, + "name": "string_value", + "type": "string" + }, + { + "id": 4, + "name": "bool_value", + "type": "bool" + }, + { + "id": 5, + "name": "struct_value", + "type": "Struct" + }, + { + "id": 6, + "name": "list_value", + "type": "ListValue" + } + ] + }, + { + "name": "ListValue", + "fields": [ + { + "id": 1, + "name": "values", + "type": "Value", + "is_repeated": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:ptypes:/:timestamp:/:timestamp.proto", + "def": { + "messages": [ + { + "name": "Timestamp", + "fields": [ + { + "id": 1, + "name": "seconds", + "type": "int64" + }, + { + "id": 2, + "name": "nanos", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:ptypes:/:wrappers:/:wrappers.proto", + "def": { + "messages": [ + { + "name": "DoubleValue", + "fields": [ + { + "id": 1, + "name": "value", + "type": "double" + } + ] + }, + { + "name": "FloatValue", + "fields": [ + { + "id": 1, + "name": "value", + "type": "float" + } + ] + }, + { + "name": "Int64Value", + "fields": [ + { + "id": 1, + "name": "value", + "type": "int64" + } + ] + }, + { + "name": "UInt64Value", + "fields": [ + { + "id": 1, + "name": "value", + "type": "uint64" + } + ] + }, + { + "name": "Int32Value", + "fields": [ + { + "id": 1, + "name": "value", + "type": "int32" + } + ] + }, + { + "name": "UInt32Value", + "fields": [ + { + "id": 1, + "name": "value", + "type": "uint32" + } + ] + }, + { + "name": "BoolValue", + "fields": [ + { + "id": 1, + "name": "value", + "type": "bool" + } + ] + }, + { + "name": "StringValue", + "fields": [ + { + "id": 1, + "name": "value", + "type": "string" + } + ] + }, + { + "name": "BytesValue", + "fields": [ + { + "id": 1, + "name": "value", + "type": "bytes" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:istio:/:tools:/:protoc-gen-docs:/:testdata:/:test1.proto", + "def": { + "enums": [ + { + "name": "Test.Color", + "enum_fields": [ + { + "name": "RED", + "integer": 0 + }, + { + "name": "INDIGO", + "integer": 0 + }, + { + "name": "GREEN", + "integer": 1 + }, + { + "name": "BLUE", + "integer": 2 + }, + { + "name": "ORANGE", + "integer": 3 + } + ] + }, + { + "name": "Days", + "enum_fields": [ + { + "name": "MONDAY", + "integer": 0 + }, + { + "name": "TUESDAY", + "integer": 1 + }, + { + "name": "WEDNESDAY", + "integer": 2 + } + ] + }, + { + "name": "HiddenEnum", + "enum_fields": [ + { + "name": "E1", + "integer": 0 + } + ] + }, + { + "name": "ExperimentalEnum", + "enum_fields": [ + { + "name": "E10", + "integer": 0 + } + ] + } + ], + "messages": [ + { + "name": "Test", + "fields": [ + { + "id": 1, + "name": "field1", + "type": "int32" + }, + { + "id": 2, + "name": "field2", + "type": "string" + }, + { + "id": 3, + "name": "field3", + "type": "string", + "is_repeated": true + }, + { + "id": 4, + "name": "field_four", + "type": "string" + }, + { + "id": 5, + "name": "nested", + "type": "Test2" + }, + { + "id": 6, + "name": "color", + "type": "Color" + }, + { + "id": 7, + "name": "days", + "type": "Days" + }, + { + "id": 8, + "name": "duration", + "type": "google.protobuf.Duration" + }, + { + "id": 9, + "name": "string_value", + "type": "string" + }, + { + "id": 10, + "name": "int32_value", + "type": "int32" + }, + { + "id": 12, + "name": "nested2", + "type": "testpkg2.Test3" + }, + { + "id": 13, + "name": "nested3", + "type": "NestedMsg" + }, + { + "id": 14, + "name": "nested4", + "type": "testpkg2.Test3.Nested" + }, + { + "id": 15, + "name": "nested5", + "type": "Test4" + }, + { + "id": 16, + "name": "hidden", + "type": "int32" + } + ], + "maps": [ + { + "key_type": "string", + "field": { + "id": 11, + "name": "mapping", + "type": "Color" + } + } + ], + "messages": [ + { + "name": "NestedMsg", + "fields": [ + { + "id": 1, + "name": "field", + "type": "int32" + }, + { + "id": 2, + "name": "field2", + "type": "Nested2Msg" + } + ], + "messages": [ + { + "name": "Nested2Msg" + } + ] + } + ] + }, + { + "name": "HiddenMessage", + "fields": [ + { + "id": 1, + "name": "f1", + "type": "int32" + } + ] + }, + { + "name": "ExperimentalField", + "fields": [ + { + "id": 1, + "name": "f1", + "type": "int32" + }, + { + "id": 2, + "name": "f2", + "type": "int32" + }, + { + "id": 4, + "name": "f3", + "type": "int32" + } + ] + } + ], + "services": [ + { + "name": "Svc", + "rpcs": [ + { + "name": "Check", + "in_type": "Test", + "out_type": "Test2" + }, + { + "name": "Check2", + "in_type": "Test", + "out_type": "Test2" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:istio:/:tools:/:protoc-gen-docs:/:testdata:/:test2.proto", + "def": { + "messages": [ + { + "name": "Test2", + "fields": [ + { + "id": 1, + "name": "field1", + "type": "int32" + }, + { + "id": 2, + "name": "str", + "type": "string", + "is_repeated": true + }, + { + "id": 3, + "name": "field3", + "type": "double" + }, + { + "id": 4, + "name": "field4", + "type": "float" + }, + { + "id": 5, + "name": "field5", + "type": "fixed32" + }, + { + "id": 6, + "name": "field6", + "type": "sfixed32" + }, + { + "id": 7, + "name": "field7", + "type": "sint32" + }, + { + "id": 8, + "name": "field8", + "type": "uint32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:istio:/:tools:/:protoc-gen-docs:/:testdata:/:test3.proto", + "def": { + "enums": [ + { + "name": "Test3.Nested", + "enum_fields": [ + { + "name": "ONE", + "integer": 0 + }, + { + "name": "TWO", + "integer": 1 + }, + { + "name": "THREE", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "Test3", + "fields": [ + { + "id": 1, + "name": "field1", + "type": "int32" + }, + { + "id": 2, + "name": "str", + "type": "string", + "is_repeated": true + }, + { + "id": 3, + "name": "field3", + "type": "double" + }, + { + "id": 4, + "name": "field4", + "type": "float" + }, + { + "id": 5, + "name": "field5", + "type": "fixed32" + }, + { + "id": 6, + "name": "field6", + "type": "sfixed32" + }, + { + "id": 7, + "name": "field7", + "type": "sint32" + }, + { + "id": 8, + "name": "field8", + "type": "uint32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:github.com:/:istio:/:tools:/:protoc-gen-docs:/:testdata:/:test4.proto", + "def": { + "enums": [ + { + "name": "Test4.Nested", + "enum_fields": [ + { + "name": "ONE", + "integer": 0 + }, + { + "name": "TWO", + "integer": 1 + }, + { + "name": "THREE", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "Test4", + "fields": [ + { + "id": 1, + "name": "field1", + "type": "int32" + }, + { + "id": 2, + "name": "str", + "type": "string", + "is_repeated": true + }, + { + "id": 3, + "name": "field3", + "type": "double" + }, + { + "id": 4, + "name": "field4", + "type": "float" + }, + { + "id": 5, + "name": "field5", + "type": "fixed32" + }, + { + "id": 6, + "name": "field6", + "type": "sfixed32" + }, + { + "id": 7, + "name": "field7", + "type": "sint32" + }, + { + "id": 8, + "name": "field8", + "type": "uint32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:benchmark:/:grpc_testing:/:control.proto", + "def": { + "enums": [ + { + "name": "ClientType", + "enum_fields": [ + { + "name": "SYNC_CLIENT", + "integer": 0 + }, + { + "name": "ASYNC_CLIENT", + "integer": 1 + } + ] + }, + { + "name": "ServerType", + "enum_fields": [ + { + "name": "SYNC_SERVER", + "integer": 0 + }, + { + "name": "ASYNC_SERVER", + "integer": 1 + }, + { + "name": "ASYNC_GENERIC_SERVER", + "integer": 2 + } + ] + }, + { + "name": "RpcType", + "enum_fields": [ + { + "name": "UNARY", + "integer": 0 + }, + { + "name": "STREAMING", + "integer": 1 + } + ] + } + ], + "messages": [ + { + "name": "PoissonParams", + "fields": [ + { + "id": 1, + "name": "offered_load", + "type": "double" + } + ] + }, + { + "name": "UniformParams", + "fields": [ + { + "id": 1, + "name": "interarrival_lo", + "type": "double" + }, + { + "id": 2, + "name": "interarrival_hi", + "type": "double" + } + ] + }, + { + "name": "DeterministicParams", + "fields": [ + { + "id": 1, + "name": "offered_load", + "type": "double" + } + ] + }, + { + "name": "ParetoParams", + "fields": [ + { + "id": 1, + "name": "interarrival_base", + "type": "double" + }, + { + "id": 2, + "name": "alpha", + "type": "double" + } + ] + }, + { + "name": "ClosedLoopParams" + }, + { + "name": "LoadParams", + "fields": [ + { + "id": 1, + "name": "closed_loop", + "type": "ClosedLoopParams" + }, + { + "id": 2, + "name": "poisson", + "type": "PoissonParams" + }, + { + "id": 3, + "name": "uniform", + "type": "UniformParams" + }, + { + "id": 4, + "name": "determ", + "type": "DeterministicParams" + }, + { + "id": 5, + "name": "pareto", + "type": "ParetoParams" + } + ] + }, + { + "name": "SecurityParams", + "fields": [ + { + "id": 1, + "name": "use_test_ca", + "type": "bool" + }, + { + "id": 2, + "name": "server_host_override", + "type": "string" + } + ] + }, + { + "name": "ClientConfig", + "fields": [ + { + "id": 1, + "name": "server_targets", + "type": "string", + "is_repeated": true + }, + { + "id": 2, + "name": "client_type", + "type": "ClientType" + }, + { + "id": 3, + "name": "security_params", + "type": "SecurityParams" + }, + { + "id": 4, + "name": "outstanding_rpcs_per_channel", + "type": "int32" + }, + { + "id": 5, + "name": "client_channels", + "type": "int32" + }, + { + "id": 7, + "name": "async_client_threads", + "type": "int32" + }, + { + "id": 8, + "name": "rpc_type", + "type": "RpcType" + }, + { + "id": 10, + "name": "load_params", + "type": "LoadParams" + }, + { + "id": 11, + "name": "payload_config", + "type": "PayloadConfig" + }, + { + "id": 12, + "name": "histogram_params", + "type": "HistogramParams" + }, + { + "id": 13, + "name": "core_list", + "type": "int32", + "is_repeated": true + }, + { + "id": 14, + "name": "core_limit", + "type": "int32" + } + ] + }, + { + "name": "ClientStatus", + "fields": [ + { + "id": 1, + "name": "stats", + "type": "ClientStats" + } + ] + }, + { + "name": "Mark", + "fields": [ + { + "id": 1, + "name": "reset", + "type": "bool" + } + ] + }, + { + "name": "ClientArgs", + "fields": [ + { + "id": 1, + "name": "setup", + "type": "ClientConfig" + }, + { + "id": 2, + "name": "mark", + "type": "Mark" + } + ] + }, + { + "name": "ServerConfig", + "fields": [ + { + "id": 1, + "name": "server_type", + "type": "ServerType" + }, + { + "id": 2, + "name": "security_params", + "type": "SecurityParams" + }, + { + "id": 4, + "name": "port", + "type": "int32" + }, + { + "id": 7, + "name": "async_server_threads", + "type": "int32" + }, + { + "id": 8, + "name": "core_limit", + "type": "int32" + }, + { + "id": 9, + "name": "payload_config", + "type": "PayloadConfig" + }, + { + "id": 10, + "name": "core_list", + "type": "int32", + "is_repeated": true + } + ] + }, + { + "name": "ServerArgs", + "fields": [ + { + "id": 1, + "name": "setup", + "type": "ServerConfig" + }, + { + "id": 2, + "name": "mark", + "type": "Mark" + } + ] + }, + { + "name": "ServerStatus", + "fields": [ + { + "id": 1, + "name": "stats", + "type": "ServerStats" + }, + { + "id": 2, + "name": "port", + "type": "int32" + }, + { + "id": 3, + "name": "cores", + "type": "int32" + } + ] + }, + { + "name": "CoreRequest" + }, + { + "name": "CoreResponse", + "fields": [ + { + "id": 1, + "name": "cores", + "type": "int32" + } + ] + }, + { + "name": "Void" + }, + { + "name": "Scenario", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "client_config", + "type": "ClientConfig" + }, + { + "id": 3, + "name": "num_clients", + "type": "int32" + }, + { + "id": 4, + "name": "server_config", + "type": "ServerConfig" + }, + { + "id": 5, + "name": "num_servers", + "type": "int32" + }, + { + "id": 6, + "name": "warmup_seconds", + "type": "int32" + }, + { + "id": 7, + "name": "benchmark_seconds", + "type": "int32" + }, + { + "id": 8, + "name": "spawn_local_worker_count", + "type": "int32" + } + ] + }, + { + "name": "Scenarios", + "fields": [ + { + "id": 1, + "name": "scenarios", + "type": "Scenario", + "is_repeated": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:benchmark:/:grpc_testing:/:messages.proto", + "def": { + "enums": [ + { + "name": "PayloadType", + "enum_fields": [ + { + "name": "COMPRESSABLE", + "integer": 0 + }, + { + "name": "UNCOMPRESSABLE", + "integer": 1 + }, + { + "name": "RANDOM", + "integer": 2 + } + ] + }, + { + "name": "CompressionType", + "enum_fields": [ + { + "name": "NONE", + "integer": 0 + }, + { + "name": "GZIP", + "integer": 1 + }, + { + "name": "DEFLATE", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "Payload", + "fields": [ + { + "id": 1, + "name": "type", + "type": "PayloadType" + }, + { + "id": 2, + "name": "body", + "type": "bytes" + } + ] + }, + { + "name": "EchoStatus", + "fields": [ + { + "id": 1, + "name": "code", + "type": "int32" + }, + { + "id": 2, + "name": "message", + "type": "string" + } + ] + }, + { + "name": "SimpleRequest", + "fields": [ + { + "id": 1, + "name": "response_type", + "type": "PayloadType" + }, + { + "id": 2, + "name": "response_size", + "type": "int32" + }, + { + "id": 3, + "name": "payload", + "type": "Payload" + }, + { + "id": 4, + "name": "fill_username", + "type": "bool" + }, + { + "id": 5, + "name": "fill_oauth_scope", + "type": "bool" + }, + { + "id": 6, + "name": "response_compression", + "type": "CompressionType" + }, + { + "id": 7, + "name": "response_status", + "type": "EchoStatus" + } + ] + }, + { + "name": "SimpleResponse", + "fields": [ + { + "id": 1, + "name": "payload", + "type": "Payload" + }, + { + "id": 2, + "name": "username", + "type": "string" + }, + { + "id": 3, + "name": "oauth_scope", + "type": "string" + } + ] + }, + { + "name": "StreamingInputCallRequest", + "fields": [ + { + "id": 1, + "name": "payload", + "type": "Payload" + } + ] + }, + { + "name": "StreamingInputCallResponse", + "fields": [ + { + "id": 1, + "name": "aggregated_payload_size", + "type": "int32" + } + ] + }, + { + "name": "ResponseParameters", + "fields": [ + { + "id": 1, + "name": "size", + "type": "int32" + }, + { + "id": 2, + "name": "interval_us", + "type": "int32" + } + ] + }, + { + "name": "StreamingOutputCallRequest", + "fields": [ + { + "id": 1, + "name": "response_type", + "type": "PayloadType" + }, + { + "id": 2, + "name": "response_parameters", + "type": "ResponseParameters", + "is_repeated": true + }, + { + "id": 3, + "name": "payload", + "type": "Payload" + }, + { + "id": 6, + "name": "response_compression", + "type": "CompressionType" + }, + { + "id": 7, + "name": "response_status", + "type": "EchoStatus" + } + ] + }, + { + "name": "StreamingOutputCallResponse", + "fields": [ + { + "id": 1, + "name": "payload", + "type": "Payload" + } + ] + }, + { + "name": "ReconnectParams", + "fields": [ + { + "id": 1, + "name": "max_reconnect_backoff_ms", + "type": "int32" + } + ] + }, + { + "name": "ReconnectInfo", + "fields": [ + { + "id": 1, + "name": "passed", + "type": "bool" + }, + { + "id": 2, + "name": "backoff_ms", + "type": "int32", + "is_repeated": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:benchmark:/:grpc_testing:/:payloads.proto", + "def": { + "messages": [ + { + "name": "ByteBufferParams", + "fields": [ + { + "id": 1, + "name": "req_size", + "type": "int32" + }, + { + "id": 2, + "name": "resp_size", + "type": "int32" + } + ] + }, + { + "name": "SimpleProtoParams", + "fields": [ + { + "id": 1, + "name": "req_size", + "type": "int32" + }, + { + "id": 2, + "name": "resp_size", + "type": "int32" + } + ] + }, + { + "name": "ComplexProtoParams" + }, + { + "name": "PayloadConfig", + "fields": [ + { + "id": 1, + "name": "bytebuf_params", + "type": "ByteBufferParams" + }, + { + "id": 2, + "name": "simple_params", + "type": "SimpleProtoParams" + }, + { + "id": 3, + "name": "complex_params", + "type": "ComplexProtoParams" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:benchmark:/:grpc_testing:/:services.proto", + "def": { + "services": [ + { + "name": "BenchmarkService", + "rpcs": [ + { + "name": "UnaryCall", + "in_type": "SimpleRequest", + "out_type": "SimpleResponse" + }, + { + "name": "StreamingCall", + "in_type": "SimpleRequest", + "out_type": "SimpleResponse", + "in_streamed": true, + "out_streamed": true + } + ] + }, + { + "name": "WorkerService", + "rpcs": [ + { + "name": "RunServer", + "in_type": "ServerArgs", + "out_type": "ServerStatus", + "in_streamed": true, + "out_streamed": true + }, + { + "name": "RunClient", + "in_type": "ClientArgs", + "out_type": "ClientStatus", + "in_streamed": true, + "out_streamed": true + }, + { + "name": "CoreCount", + "in_type": "CoreRequest", + "out_type": "CoreResponse" + }, + { + "name": "QuitWorker", + "in_type": "Void", + "out_type": "Void" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:benchmark:/:grpc_testing:/:stats.proto", + "def": { + "messages": [ + { + "name": "ServerStats", + "fields": [ + { + "id": 1, + "name": "time_elapsed", + "type": "double" + }, + { + "id": 2, + "name": "time_user", + "type": "double" + }, + { + "id": 3, + "name": "time_system", + "type": "double" + } + ] + }, + { + "name": "HistogramParams", + "fields": [ + { + "id": 1, + "name": "resolution", + "type": "double" + }, + { + "id": 2, + "name": "max_possible", + "type": "double" + } + ] + }, + { + "name": "HistogramData", + "fields": [ + { + "id": 1, + "name": "bucket", + "type": "uint32", + "is_repeated": true + }, + { + "id": 2, + "name": "min_seen", + "type": "double" + }, + { + "id": 3, + "name": "max_seen", + "type": "double" + }, + { + "id": 4, + "name": "sum", + "type": "double" + }, + { + "id": 5, + "name": "sum_of_squares", + "type": "double" + }, + { + "id": 6, + "name": "count", + "type": "double" + } + ] + }, + { + "name": "ClientStats", + "fields": [ + { + "id": 1, + "name": "latencies", + "type": "HistogramData" + }, + { + "id": 2, + "name": "time_elapsed", + "type": "double" + }, + { + "id": 3, + "name": "time_user", + "type": "double" + }, + { + "id": 4, + "name": "time_system", + "type": "double" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:examples:/:helloworld:/:helloworld:/:helloworld.proto", + "def": { + "messages": [ + { + "name": "HelloRequest", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + } + ] + }, + { + "name": "HelloReply", + "fields": [ + { + "id": 1, + "name": "message", + "type": "string" + } + ] + } + ], + "services": [ + { + "name": "Greeter", + "rpcs": [ + { + "name": "SayHello", + "in_type": "HelloRequest", + "out_type": "HelloReply" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:examples:/:route_guide:/:routeguide:/:route_guide.proto", + "def": { + "messages": [ + { + "name": "Point", + "fields": [ + { + "id": 1, + "name": "latitude", + "type": "int32" + }, + { + "id": 2, + "name": "longitude", + "type": "int32" + } + ] + }, + { + "name": "Rectangle", + "fields": [ + { + "id": 1, + "name": "lo", + "type": "Point" + }, + { + "id": 2, + "name": "hi", + "type": "Point" + } + ] + }, + { + "name": "Feature", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "location", + "type": "Point" + } + ] + }, + { + "name": "RouteNote", + "fields": [ + { + "id": 1, + "name": "location", + "type": "Point" + }, + { + "id": 2, + "name": "message", + "type": "string" + } + ] + }, + { + "name": "RouteSummary", + "fields": [ + { + "id": 1, + "name": "point_count", + "type": "int32" + }, + { + "id": 2, + "name": "feature_count", + "type": "int32" + }, + { + "id": 3, + "name": "distance", + "type": "int32" + }, + { + "id": 4, + "name": "elapsed_time", + "type": "int32" + } + ] + } + ], + "services": [ + { + "name": "RouteGuide", + "rpcs": [ + { + "name": "GetFeature", + "in_type": "Point", + "out_type": "Feature" + }, + { + "name": "ListFeatures", + "in_type": "Rectangle", + "out_type": "Feature", + "out_streamed": true + }, + { + "name": "RecordRoute", + "in_type": "Point", + "out_type": "RouteSummary", + "in_streamed": true + }, + { + "name": "RouteChat", + "in_type": "RouteNote", + "out_type": "RouteNote", + "in_streamed": true, + "out_streamed": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:grpclb:/:grpc_lb_v1:/:messages:/:messages.proto", + "def": { + "messages": [ + { + "name": "Duration", + "fields": [ + { + "id": 1, + "name": "seconds", + "type": "int64" + }, + { + "id": 2, + "name": "nanos", + "type": "int32" + } + ] + }, + { + "name": "Timestamp", + "fields": [ + { + "id": 1, + "name": "seconds", + "type": "int64" + }, + { + "id": 2, + "name": "nanos", + "type": "int32" + } + ] + }, + { + "name": "LoadBalanceRequest", + "fields": [ + { + "id": 1, + "name": "initial_request", + "type": "InitialLoadBalanceRequest" + }, + { + "id": 2, + "name": "client_stats", + "type": "ClientStats" + } + ] + }, + { + "name": "InitialLoadBalanceRequest", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + } + ] + }, + { + "name": "ClientStats", + "fields": [ + { + "id": 1, + "name": "timestamp", + "type": "Timestamp" + }, + { + "id": 2, + "name": "num_calls_started", + "type": "int64" + }, + { + "id": 3, + "name": "num_calls_finished", + "type": "int64" + }, + { + "id": 4, + "name": "num_calls_finished_with_drop_for_rate_limiting", + "type": "int64" + }, + { + "id": 5, + "name": "num_calls_finished_with_drop_for_load_balancing", + "type": "int64" + }, + { + "id": 6, + "name": "num_calls_finished_with_client_failed_to_send", + "type": "int64" + }, + { + "id": 7, + "name": "num_calls_finished_known_received", + "type": "int64" + } + ] + }, + { + "name": "LoadBalanceResponse", + "fields": [ + { + "id": 1, + "name": "initial_response", + "type": "InitialLoadBalanceResponse" + }, + { + "id": 2, + "name": "server_list", + "type": "ServerList" + } + ] + }, + { + "name": "InitialLoadBalanceResponse", + "fields": [ + { + "id": 1, + "name": "load_balancer_delegate", + "type": "string" + }, + { + "id": 2, + "name": "client_stats_report_interval", + "type": "Duration" + } + ] + }, + { + "name": "ServerList", + "fields": [ + { + "id": 1, + "name": "servers", + "type": "Server", + "is_repeated": true + } + ], + "reserved_ids": [ + 3 + ] + }, + { + "name": "Server", + "fields": [ + { + "id": 1, + "name": "ip_address", + "type": "bytes" + }, + { + "id": 2, + "name": "port", + "type": "int32" + }, + { + "id": 3, + "name": "load_balance_token", + "type": "string" + }, + { + "id": 4, + "name": "drop_for_rate_limiting", + "type": "bool" + }, + { + "id": 5, + "name": "drop_for_load_balancing", + "type": "bool" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:grpclb:/:grpc_lb_v1:/:service:/:service.proto", + "def": { + "services": [ + { + "name": "LoadBalancer", + "rpcs": [ + { + "name": "BalanceLoad", + "in_type": "LoadBalanceRequest", + "out_type": "LoadBalanceResponse", + "in_streamed": true, + "out_streamed": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:health:/:grpc_health_v1:/:health.proto", + "def": { + "enums": [ + { + "name": "HealthCheckResponse.ServingStatus", + "enum_fields": [ + { + "name": "UNKNOWN", + "integer": 0 + }, + { + "name": "SERVING", + "integer": 1 + }, + { + "name": "NOT_SERVING", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "HealthCheckRequest", + "fields": [ + { + "id": 1, + "name": "service", + "type": "string" + } + ] + }, + { + "name": "HealthCheckResponse", + "fields": [ + { + "id": 1, + "name": "status", + "type": "ServingStatus" + } + ] + } + ], + "services": [ + { + "name": "Health", + "rpcs": [ + { + "name": "Check", + "in_type": "HealthCheckRequest", + "out_type": "HealthCheckResponse" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:interop:/:grpc_testing:/:test.proto", + "def": { + "enums": [ + { + "name": "PayloadType", + "enum_fields": [ + { + "name": "COMPRESSABLE", + "integer": 0 + }, + { + "name": "UNCOMPRESSABLE", + "integer": 1 + }, + { + "name": "RANDOM", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "Empty" + }, + { + "name": "Payload", + "fields": [ + { + "id": 1, + "name": "type", + "type": "PayloadType" + }, + { + "id": 2, + "name": "body", + "type": "bytes" + } + ] + }, + { + "name": "EchoStatus", + "fields": [ + { + "id": 1, + "name": "code", + "type": "int32" + }, + { + "id": 2, + "name": "message", + "type": "string" + } + ] + }, + { + "name": "SimpleRequest", + "fields": [ + { + "id": 1, + "name": "response_type", + "type": "PayloadType" + }, + { + "id": 2, + "name": "response_size", + "type": "int32" + }, + { + "id": 3, + "name": "payload", + "type": "Payload" + }, + { + "id": 4, + "name": "fill_username", + "type": "bool" + }, + { + "id": 5, + "name": "fill_oauth_scope", + "type": "bool" + }, + { + "id": 7, + "name": "response_status", + "type": "EchoStatus" + } + ] + }, + { + "name": "SimpleResponse", + "fields": [ + { + "id": 1, + "name": "payload", + "type": "Payload" + }, + { + "id": 2, + "name": "username", + "type": "string" + }, + { + "id": 3, + "name": "oauth_scope", + "type": "string" + } + ] + }, + { + "name": "StreamingInputCallRequest", + "fields": [ + { + "id": 1, + "name": "payload", + "type": "Payload" + } + ] + }, + { + "name": "StreamingInputCallResponse", + "fields": [ + { + "id": 1, + "name": "aggregated_payload_size", + "type": "int32" + } + ] + }, + { + "name": "ResponseParameters", + "fields": [ + { + "id": 1, + "name": "size", + "type": "int32" + }, + { + "id": 2, + "name": "interval_us", + "type": "int32" + } + ] + }, + { + "name": "StreamingOutputCallRequest", + "fields": [ + { + "id": 1, + "name": "response_type", + "type": "PayloadType" + }, + { + "id": 2, + "name": "response_parameters", + "type": "ResponseParameters", + "is_repeated": true + }, + { + "id": 3, + "name": "payload", + "type": "Payload" + }, + { + "id": 7, + "name": "response_status", + "type": "EchoStatus" + } + ] + }, + { + "name": "StreamingOutputCallResponse", + "fields": [ + { + "id": 1, + "name": "payload", + "type": "Payload" + } + ] + } + ], + "services": [ + { + "name": "TestService", + "rpcs": [ + { + "name": "EmptyCall", + "in_type": "Empty", + "out_type": "Empty" + }, + { + "name": "UnaryCall", + "in_type": "SimpleRequest", + "out_type": "SimpleResponse" + }, + { + "name": "StreamingOutputCall", + "in_type": "StreamingOutputCallRequest", + "out_type": "StreamingOutputCallResponse", + "out_streamed": true + }, + { + "name": "StreamingInputCall", + "in_type": "StreamingInputCallRequest", + "out_type": "StreamingInputCallResponse", + "in_streamed": true + }, + { + "name": "FullDuplexCall", + "in_type": "StreamingOutputCallRequest", + "out_type": "StreamingOutputCallResponse", + "in_streamed": true, + "out_streamed": true + }, + { + "name": "HalfDuplexCall", + "in_type": "StreamingOutputCallRequest", + "out_type": "StreamingOutputCallResponse", + "in_streamed": true, + "out_streamed": true + } + ] + }, + { + "name": "UnimplementedService", + "rpcs": [ + { + "name": "UnimplementedCall", + "in_type": "grpc.testing.Empty", + "out_type": "grpc.testing.Empty" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:reflection:/:grpc_reflection_v1alpha:/:reflection.proto", + "def": { + "messages": [ + { + "name": "ServerReflectionRequest", + "fields": [ + { + "id": 1, + "name": "host", + "type": "string" + }, + { + "id": 3, + "name": "file_by_filename", + "type": "string" + }, + { + "id": 4, + "name": "file_containing_symbol", + "type": "string" + }, + { + "id": 5, + "name": "file_containing_extension", + "type": "ExtensionRequest" + }, + { + "id": 6, + "name": "all_extension_numbers_of_type", + "type": "string" + }, + { + "id": 7, + "name": "list_services", + "type": "string" + } + ] + }, + { + "name": "ExtensionRequest", + "fields": [ + { + "id": 1, + "name": "containing_type", + "type": "string" + }, + { + "id": 2, + "name": "extension_number", + "type": "int32" + } + ] + }, + { + "name": "ServerReflectionResponse", + "fields": [ + { + "id": 1, + "name": "valid_host", + "type": "string" + }, + { + "id": 2, + "name": "original_request", + "type": "ServerReflectionRequest" + }, + { + "id": 4, + "name": "file_descriptor_response", + "type": "FileDescriptorResponse" + }, + { + "id": 5, + "name": "all_extension_numbers_response", + "type": "ExtensionNumberResponse" + }, + { + "id": 6, + "name": "list_services_response", + "type": "ListServiceResponse" + }, + { + "id": 7, + "name": "error_response", + "type": "ErrorResponse" + } + ] + }, + { + "name": "FileDescriptorResponse", + "fields": [ + { + "id": 1, + "name": "file_descriptor_proto", + "type": "bytes", + "is_repeated": true + } + ] + }, + { + "name": "ExtensionNumberResponse", + "fields": [ + { + "id": 1, + "name": "base_type_name", + "type": "string" + }, + { + "id": 2, + "name": "extension_number", + "type": "int32", + "is_repeated": true + } + ] + }, + { + "name": "ListServiceResponse", + "fields": [ + { + "id": 1, + "name": "service", + "type": "ServiceResponse", + "is_repeated": true + } + ] + }, + { + "name": "ServiceResponse", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + } + ] + }, + { + "name": "ErrorResponse", + "fields": [ + { + "id": 1, + "name": "error_code", + "type": "int32" + }, + { + "id": 2, + "name": "error_message", + "type": "string" + } + ] + } + ], + "services": [ + { + "name": "ServerReflection", + "rpcs": [ + { + "name": "ServerReflectionInfo", + "in_type": "ServerReflectionRequest", + "out_type": "ServerReflectionResponse", + "in_streamed": true, + "out_streamed": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:reflection:/:grpc_testing:/:proto2.proto", + "def": { + "messages": [ + { + "name": "ToBeExtended", + "fields": [ + { + "id": 1, + "name": "foo", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:reflection:/:grpc_testing:/:proto2_ext.proto", + "def": { + "messages": [ + { + "name": "ToBeExtended", + "fields": [ + { + "id": 13, + "name": "foo", + "type": "int32" + }, + { + "id": 17, + "name": "bar", + "type": "Extension" + }, + { + "id": 19, + "name": "baz", + "type": "SearchRequest" + } + ] + }, + { + "name": "Extension", + "fields": [ + { + "id": 1, + "name": "whatzit", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:reflection:/:grpc_testing:/:proto2_ext2.proto", + "def": { + "messages": [ + { + "name": "ToBeExtended", + "fields": [ + { + "id": 23, + "name": "frob", + "type": "string" + }, + { + "id": 29, + "name": "nitz", + "type": "AnotherExtension" + } + ] + }, + { + "name": "AnotherExtension", + "fields": [ + { + "id": 1, + "name": "whatchamacallit", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:reflection:/:grpc_testing:/:test.proto", + "def": { + "messages": [ + { + "name": "SearchResponse", + "fields": [ + { + "id": 1, + "name": "results", + "type": "Result", + "is_repeated": true + } + ], + "messages": [ + { + "name": "Result", + "fields": [ + { + "id": 1, + "name": "url", + "type": "string" + }, + { + "id": 2, + "name": "title", + "type": "string" + }, + { + "id": 3, + "name": "snippets", + "type": "string", + "is_repeated": true + } + ] + } + ] + }, + { + "name": "SearchRequest", + "fields": [ + { + "id": 1, + "name": "query", + "type": "string" + } + ] + } + ], + "services": [ + { + "name": "SearchService", + "rpcs": [ + { + "name": "Search", + "in_type": "SearchRequest", + "out_type": "SearchResponse" + }, + { + "name": "StreamingSearch", + "in_type": "SearchRequest", + "out_type": "SearchResponse", + "in_streamed": true, + "out_streamed": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:reflection:/:grpc_testingv3:/:testv3.proto", + "def": { + "messages": [ + { + "name": "SearchResponseV3", + "fields": [ + { + "id": 1, + "name": "results", + "type": "Result", + "is_repeated": true + } + ], + "messages": [ + { + "name": "Result", + "fields": [ + { + "id": 1, + "name": "url", + "type": "string" + }, + { + "id": 2, + "name": "title", + "type": "string" + }, + { + "id": 3, + "name": "snippets", + "type": "string", + "is_repeated": true + } + ] + } + ] + }, + { + "name": "SearchRequestV3", + "fields": [ + { + "id": 1, + "name": "query", + "type": "string" + } + ] + } + ], + "services": [ + { + "name": "SearchServiceV3", + "rpcs": [ + { + "name": "Search", + "in_type": "SearchRequestV3", + "out_type": "SearchResponseV3" + }, + { + "name": "StreamingSearch", + "in_type": "SearchRequestV3", + "out_type": "SearchResponseV3", + "in_streamed": true, + "out_streamed": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:stats:/:grpc_testing:/:test.proto", + "def": { + "messages": [ + { + "name": "SimpleRequest", + "fields": [ + { + "id": 2, + "name": "id", + "type": "int32" + } + ] + }, + { + "name": "SimpleResponse", + "fields": [ + { + "id": 3, + "name": "id", + "type": "int32" + } + ] + } + ], + "services": [ + { + "name": "TestService", + "rpcs": [ + { + "name": "UnaryCall", + "in_type": "SimpleRequest", + "out_type": "SimpleResponse" + }, + { + "name": "FullDuplexCall", + "in_type": "SimpleRequest", + "out_type": "SimpleResponse", + "in_streamed": true, + "out_streamed": true + }, + { + "name": "ClientStreamCall", + "in_type": "SimpleRequest", + "out_type": "SimpleResponse", + "in_streamed": true + }, + { + "name": "ServerStreamCall", + "in_type": "SimpleRequest", + "out_type": "SimpleResponse", + "out_streamed": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:stress:/:grpc_testing:/:metrics.proto", + "def": { + "messages": [ + { + "name": "GaugeResponse", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "long_value", + "type": "int64" + }, + { + "id": 3, + "name": "double_value", + "type": "double" + }, + { + "id": 4, + "name": "string_value", + "type": "string" + } + ] + }, + { + "name": "GaugeRequest", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + } + ] + }, + { + "name": "EmptyMessage" + } + ], + "services": [ + { + "name": "MetricsService", + "rpcs": [ + { + "name": "GetAllGauges", + "in_type": "EmptyMessage", + "out_type": "GaugeResponse", + "out_streamed": true + }, + { + "name": "GetGauge", + "in_type": "GaugeRequest", + "out_type": "GaugeResponse" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:test:/:codec_perf:/:perf.proto", + "def": { + "messages": [ + { + "name": "Buffer", + "fields": [ + { + "id": 1, + "name": "body", + "type": "bytes" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:google.golang.org:/:grpc:/:test:/:grpc_testing:/:test.proto", + "def": { + "enums": [ + { + "name": "PayloadType", + "enum_fields": [ + { + "name": "COMPRESSABLE", + "integer": 0 + }, + { + "name": "UNCOMPRESSABLE", + "integer": 1 + }, + { + "name": "RANDOM", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "Empty" + }, + { + "name": "Payload", + "fields": [ + { + "id": 1, + "name": "type", + "type": "PayloadType" + }, + { + "id": 2, + "name": "body", + "type": "bytes" + } + ] + }, + { + "name": "SimpleRequest", + "fields": [ + { + "id": 1, + "name": "response_type", + "type": "PayloadType" + }, + { + "id": 2, + "name": "response_size", + "type": "int32" + }, + { + "id": 3, + "name": "payload", + "type": "Payload" + }, + { + "id": 4, + "name": "fill_username", + "type": "bool" + }, + { + "id": 5, + "name": "fill_oauth_scope", + "type": "bool" + } + ] + }, + { + "name": "SimpleResponse", + "fields": [ + { + "id": 1, + "name": "payload", + "type": "Payload" + }, + { + "id": 2, + "name": "username", + "type": "string" + }, + { + "id": 3, + "name": "oauth_scope", + "type": "string" + } + ] + }, + { + "name": "StreamingInputCallRequest", + "fields": [ + { + "id": 1, + "name": "payload", + "type": "Payload" + } + ] + }, + { + "name": "StreamingInputCallResponse", + "fields": [ + { + "id": 1, + "name": "aggregated_payload_size", + "type": "int32" + } + ] + }, + { + "name": "ResponseParameters", + "fields": [ + { + "id": 1, + "name": "size", + "type": "int32" + }, + { + "id": 2, + "name": "interval_us", + "type": "int32" + } + ] + }, + { + "name": "StreamingOutputCallRequest", + "fields": [ + { + "id": 1, + "name": "response_type", + "type": "PayloadType" + }, + { + "id": 2, + "name": "response_parameters", + "type": "ResponseParameters", + "is_repeated": true + }, + { + "id": 3, + "name": "payload", + "type": "Payload" + } + ] + }, + { + "name": "StreamingOutputCallResponse", + "fields": [ + { + "id": 1, + "name": "payload", + "type": "Payload" + } + ] + } + ], + "services": [ + { + "name": "TestService", + "rpcs": [ + { + "name": "EmptyCall", + "in_type": "Empty", + "out_type": "Empty" + }, + { + "name": "UnaryCall", + "in_type": "SimpleRequest", + "out_type": "SimpleResponse" + }, + { + "name": "StreamingOutputCall", + "in_type": "StreamingOutputCallRequest", + "out_type": "StreamingOutputCallResponse", + "out_streamed": true + }, + { + "name": "StreamingInputCall", + "in_type": "StreamingInputCallRequest", + "out_type": "StreamingInputCallResponse", + "in_streamed": true + }, + { + "name": "FullDuplexCall", + "in_type": "StreamingOutputCallRequest", + "out_type": "StreamingOutputCallResponse", + "in_streamed": true, + "out_streamed": true + }, + { + "name": "HalfDuplexCall", + "in_type": "StreamingOutputCallRequest", + "out_type": "StreamingOutputCallResponse", + "in_streamed": true, + "out_streamed": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:api:/:annotations.proto", + "def": { + "messages": [ + { + "name": "google.protobuf.MethodOptions", + "fields": [ + { + "id": 72295728, + "name": "http", + "type": "HttpRule" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:api:/:http.proto", + "def": { + "messages": [ + { + "name": "Http", + "fields": [ + { + "id": 1, + "name": "rules", + "type": "HttpRule", + "is_repeated": true + } + ] + }, + { + "name": "HttpRule", + "fields": [ + { + "id": 1, + "name": "selector", + "type": "string" + }, + { + "id": 2, + "name": "get", + "type": "string" + }, + { + "id": 3, + "name": "put", + "type": "string" + }, + { + "id": 4, + "name": "post", + "type": "string" + }, + { + "id": 5, + "name": "delete", + "type": "string" + }, + { + "id": 6, + "name": "patch", + "type": "string" + }, + { + "id": 8, + "name": "custom", + "type": "CustomHttpPattern" + }, + { + "id": 7, + "name": "body", + "type": "string" + }, + { + "id": 11, + "name": "additional_bindings", + "type": "HttpRule", + "is_repeated": true + } + ] + }, + { + "name": "CustomHttpPattern", + "fields": [ + { + "id": 1, + "name": "kind", + "type": "string" + }, + { + "id": 2, + "name": "path", + "type": "string" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:rpc:/:code.proto", + "def": { + "enums": [ + { + "name": "Code", + "enum_fields": [ + { + "name": "OK", + "integer": 0 + }, + { + "name": "CANCELLED", + "integer": 1 + }, + { + "name": "UNKNOWN", + "integer": 2 + }, + { + "name": "INVALID_ARGUMENT", + "integer": 3 + }, + { + "name": "DEADLINE_EXCEEDED", + "integer": 4 + }, + { + "name": "NOT_FOUND", + "integer": 5 + }, + { + "name": "ALREADY_EXISTS", + "integer": 6 + }, + { + "name": "PERMISSION_DENIED", + "integer": 7 + }, + { + "name": "UNAUTHENTICATED", + "integer": 16 + }, + { + "name": "RESOURCE_EXHAUSTED", + "integer": 8 + }, + { + "name": "FAILED_PRECONDITION", + "integer": 9 + }, + { + "name": "ABORTED", + "integer": 10 + }, + { + "name": "OUT_OF_RANGE", + "integer": 11 + }, + { + "name": "UNIMPLEMENTED", + "integer": 12 + }, + { + "name": "INTERNAL", + "integer": 13 + }, + { + "name": "UNAVAILABLE", + "integer": 14 + }, + { + "name": "DATA_LOSS", + "integer": 15 + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:rpc:/:error_details.proto", + "def": { + "messages": [ + { + "name": "RetryInfo", + "fields": [ + { + "id": 1, + "name": "retry_delay", + "type": "google.protobuf.Duration" + } + ] + }, + { + "name": "DebugInfo", + "fields": [ + { + "id": 1, + "name": "stack_entries", + "type": "string", + "is_repeated": true + }, + { + "id": 2, + "name": "detail", + "type": "string" + } + ] + }, + { + "name": "QuotaFailure", + "fields": [ + { + "id": 1, + "name": "violations", + "type": "Violation", + "is_repeated": true + } + ], + "messages": [ + { + "name": "Violation", + "fields": [ + { + "id": 1, + "name": "subject", + "type": "string" + }, + { + "id": 2, + "name": "description", + "type": "string" + } + ] + } + ] + }, + { + "name": "PreconditionFailure", + "fields": [ + { + "id": 1, + "name": "violations", + "type": "Violation", + "is_repeated": true + } + ], + "messages": [ + { + "name": "Violation", + "fields": [ + { + "id": 1, + "name": "type", + "type": "string" + }, + { + "id": 2, + "name": "subject", + "type": "string" + }, + { + "id": 3, + "name": "description", + "type": "string" + } + ] + } + ] + }, + { + "name": "BadRequest", + "fields": [ + { + "id": 1, + "name": "field_violations", + "type": "FieldViolation", + "is_repeated": true + } + ], + "messages": [ + { + "name": "FieldViolation", + "fields": [ + { + "id": 1, + "name": "field", + "type": "string" + }, + { + "id": 2, + "name": "description", + "type": "string" + } + ] + } + ] + }, + { + "name": "RequestInfo", + "fields": [ + { + "id": 1, + "name": "request_id", + "type": "string" + }, + { + "id": 2, + "name": "serving_data", + "type": "string" + } + ] + }, + { + "name": "ResourceInfo", + "fields": [ + { + "id": 1, + "name": "resource_type", + "type": "string" + }, + { + "id": 2, + "name": "resource_name", + "type": "string" + }, + { + "id": 3, + "name": "owner", + "type": "string" + }, + { + "id": 4, + "name": "description", + "type": "string" + } + ] + }, + { + "name": "Help", + "fields": [ + { + "id": 1, + "name": "links", + "type": "Link", + "is_repeated": true + } + ], + "messages": [ + { + "name": "Link", + "fields": [ + { + "id": 1, + "name": "description", + "type": "string" + }, + { + "id": 2, + "name": "url", + "type": "string" + } + ] + } + ] + }, + { + "name": "LocalizedMessage", + "fields": [ + { + "id": 1, + "name": "locale", + "type": "string" + }, + { + "id": 2, + "name": "message", + "type": "string" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:rpc:/:status.proto", + "def": { + "messages": [ + { + "name": "Status", + "fields": [ + { + "id": 1, + "name": "code", + "type": "int32" + }, + { + "id": 2, + "name": "message", + "type": "string" + }, + { + "id": 3, + "name": "details", + "type": "google.protobuf.Any", + "is_repeated": true + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:type:/:color.proto", + "def": { + "messages": [ + { + "name": "Color", + "fields": [ + { + "id": 1, + "name": "red", + "type": "float" + }, + { + "id": 2, + "name": "green", + "type": "float" + }, + { + "id": 3, + "name": "blue", + "type": "float" + }, + { + "id": 4, + "name": "alpha", + "type": "google.protobuf.FloatValue" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:type:/:date.proto", + "def": { + "messages": [ + { + "name": "Date", + "fields": [ + { + "id": 1, + "name": "year", + "type": "int32" + }, + { + "id": 2, + "name": "month", + "type": "int32" + }, + { + "id": 3, + "name": "day", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:type:/:dayofweek.proto", + "def": { + "enums": [ + { + "name": "DayOfWeek", + "enum_fields": [ + { + "name": "DAY_OF_WEEK_UNSPECIFIED", + "integer": 0 + }, + { + "name": "MONDAY", + "integer": 1 + }, + { + "name": "TUESDAY", + "integer": 2 + }, + { + "name": "WEDNESDAY", + "integer": 3 + }, + { + "name": "THURSDAY", + "integer": 4 + }, + { + "name": "FRIDAY", + "integer": 5 + }, + { + "name": "SATURDAY", + "integer": 6 + }, + { + "name": "SUNDAY", + "integer": 7 + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:type:/:latlng.proto", + "def": { + "messages": [ + { + "name": "LatLng", + "fields": [ + { + "id": 1, + "name": "latitude", + "type": "double" + }, + { + "id": 2, + "name": "longitude", + "type": "double" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:type:/:money.proto", + "def": { + "messages": [ + { + "name": "Money", + "fields": [ + { + "id": 1, + "name": "currency_code", + "type": "string" + }, + { + "id": 2, + "name": "units", + "type": "int64" + }, + { + "id": 3, + "name": "nanos", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:type:/:postal_address.proto", + "def": { + "messages": [ + { + "name": "PostalAddress", + "fields": [ + { + "id": 1, + "name": "revision", + "type": "int32" + }, + { + "id": 2, + "name": "region_code", + "type": "string" + }, + { + "id": 3, + "name": "language_code", + "type": "string" + }, + { + "id": 4, + "name": "postal_code", + "type": "string" + }, + { + "id": 5, + "name": "sorting_code", + "type": "string" + }, + { + "id": 6, + "name": "administrative_area", + "type": "string" + }, + { + "id": 7, + "name": "locality", + "type": "string" + }, + { + "id": 8, + "name": "sublocality", + "type": "string" + }, + { + "id": 9, + "name": "address_lines", + "type": "string", + "is_repeated": true + }, + { + "id": 10, + "name": "recipients", + "type": "string", + "is_repeated": true + }, + { + "id": 11, + "name": "organization", + "type": "string" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:type:/:timeofday.proto", + "def": { + "messages": [ + { + "name": "TimeOfDay", + "fields": [ + { + "id": 1, + "name": "hours", + "type": "int32" + }, + { + "id": 2, + "name": "minutes", + "type": "int32" + }, + { + "id": 3, + "name": "seconds", + "type": "int32" + }, + { + "id": 4, + "name": "nanos", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:istio.io:/:gogo-genproto:/:opencensus:/:proto:/:stats:/:stats.proto", + "def": { + "enums": [ + { + "name": "MeasurementDescriptor.BasicUnit", + "enum_fields": [ + { + "name": "UNKNOWN", + "integer": 0 + }, + { + "name": "SCALAR", + "integer": 1 + }, + { + "name": "BITS", + "integer": 2 + }, + { + "name": "BYTES", + "integer": 3 + }, + { + "name": "SECONDS", + "integer": 4 + }, + { + "name": "CORES", + "integer": 5 + }, + { + "name": "MAX_UNITS", + "integer": 6 + } + ] + } + ], + "messages": [ + { + "name": "MeasurementDescriptor", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "description", + "type": "string" + }, + { + "id": 3, + "name": "unit", + "type": "MeasurementUnit" + } + ], + "messages": [ + { + "name": "MeasurementUnit", + "fields": [ + { + "id": 1, + "name": "power10", + "type": "int32" + }, + { + "id": 2, + "name": "numerators", + "type": "BasicUnit", + "is_repeated": true + }, + { + "id": 3, + "name": "denominators", + "type": "BasicUnit", + "is_repeated": true + } + ] + } + ] + }, + { + "name": "DistributionAggregation", + "fields": [ + { + "id": 1, + "name": "count", + "type": "int64" + }, + { + "id": 2, + "name": "mean", + "type": "double" + }, + { + "id": 3, + "name": "sum", + "type": "double" + }, + { + "id": 4, + "name": "range", + "type": "Range" + }, + { + "id": 5, + "name": "bucket_counts", + "type": "int64", + "is_repeated": true + }, + { + "id": 6, + "name": "tags", + "type": "Tag", + "is_repeated": true + } + ], + "messages": [ + { + "name": "Range", + "fields": [ + { + "id": 1, + "name": "min", + "type": "double" + }, + { + "id": 2, + "name": "max", + "type": "double" + } + ] + } + ] + }, + { + "name": "DistributionAggregationDescriptor", + "fields": [ + { + "id": 1, + "name": "bucket_bounds", + "type": "double", + "is_repeated": true + } + ] + }, + { + "name": "IntervalAggregation", + "fields": [ + { + "id": 1, + "name": "intervals", + "type": "Interval", + "is_repeated": true + }, + { + "id": 2, + "name": "tags", + "type": "Tag", + "is_repeated": true + } + ], + "messages": [ + { + "name": "Interval", + "fields": [ + { + "id": 1, + "name": "interval_size", + "type": "google.protobuf.Duration" + }, + { + "id": 2, + "name": "count", + "type": "double" + }, + { + "id": 3, + "name": "sum", + "type": "double" + } + ] + } + ] + }, + { + "name": "IntervalAggregationDescriptor", + "fields": [ + { + "id": 1, + "name": "n_sub_intervals", + "type": "int32" + }, + { + "id": 2, + "name": "interval_sizes", + "type": "google.protobuf.Duration", + "is_repeated": true + } + ] + }, + { + "name": "Tag", + "fields": [ + { + "id": 1, + "name": "key", + "type": "string" + }, + { + "id": 2, + "name": "value", + "type": "string" + } + ] + }, + { + "name": "ViewDescriptor", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "description", + "type": "string" + }, + { + "id": 3, + "name": "measurement_descriptor_name", + "type": "string" + }, + { + "id": 4, + "name": "interval_aggregation", + "type": "IntervalAggregationDescriptor" + }, + { + "id": 5, + "name": "distribution_aggregation", + "type": "DistributionAggregationDescriptor" + }, + { + "id": 6, + "name": "tag_keys", + "type": "string", + "is_repeated": true + } + ] + }, + { + "name": "DistributionView", + "fields": [ + { + "id": 1, + "name": "aggregations", + "type": "DistributionAggregation", + "is_repeated": true + }, + { + "id": 2, + "name": "start", + "type": "google.protobuf.Timestamp" + }, + { + "id": 3, + "name": "end", + "type": "google.protobuf.Timestamp" + } + ] + }, + { + "name": "IntervalView", + "fields": [ + { + "id": 1, + "name": "aggregations", + "type": "IntervalAggregation", + "is_repeated": true + } + ] + }, + { + "name": "View", + "fields": [ + { + "id": 1, + "name": "view_name", + "type": "string" + }, + { + "id": 2, + "name": "distribution_view", + "type": "DistributionView" + }, + { + "id": 3, + "name": "interval_view", + "type": "IntervalView" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:istio.io:/:gogo-genproto:/:opencensus:/:proto:/:trace:/:trace.proto", + "def": { + "enums": [ + { + "name": "MessageEvent.Type", + "enum_fields": [ + { + "name": "TYPE_UNSPECIFIED", + "integer": 0 + }, + { + "name": "SENT", + "integer": 1 + }, + { + "name": "RECEIVED", + "integer": 2 + } + ] + }, + { + "name": "Link.Type", + "enum_fields": [ + { + "name": "TYPE_UNSPECIFIED", + "integer": 0 + }, + { + "name": "CHILD_LINKED_SPAN", + "integer": 1 + }, + { + "name": "PARENT_LINKED_SPAN", + "integer": 2 + } + ] + } + ], + "messages": [ + { + "name": "Span", + "fields": [ + { + "id": 1, + "name": "trace_id", + "type": "bytes" + }, + { + "id": 2, + "name": "span_id", + "type": "bytes" + }, + { + "id": 3, + "name": "parent_span_id", + "type": "bytes" + }, + { + "id": 4, + "name": "name", + "type": "TruncatableString" + }, + { + "id": 5, + "name": "start_time", + "type": "google.protobuf.Timestamp" + }, + { + "id": 6, + "name": "end_time", + "type": "google.protobuf.Timestamp" + }, + { + "id": 7, + "name": "attributes", + "type": "Attributes" + }, + { + "id": 8, + "name": "stack_trace", + "type": "StackTrace" + }, + { + "id": 9, + "name": "time_events", + "type": "TimeEvents" + }, + { + "id": 10, + "name": "links", + "type": "Links" + }, + { + "id": 11, + "name": "status", + "type": "Status" + }, + { + "id": 12, + "name": "same_process_as_parent_span", + "type": "google.protobuf.BoolValue" + }, + { + "id": 13, + "name": "child_span_count", + "type": "google.protobuf.UInt32Value" + } + ], + "messages": [ + { + "name": "Attributes", + "fields": [ + { + "id": 2, + "name": "dropped_attributes_count", + "type": "int32" + } + ], + "maps": [ + { + "key_type": "string", + "field": { + "id": 1, + "name": "attribute_map", + "type": "AttributeValue" + } + } + ] + }, + { + "name": "TimeEvent", + "fields": [ + { + "id": 1, + "name": "time", + "type": "google.protobuf.Timestamp" + }, + { + "id": 2, + "name": "annotation", + "type": "Annotation" + }, + { + "id": 3, + "name": "message_event", + "type": "MessageEvent" + } + ], + "messages": [ + { + "name": "Annotation", + "fields": [ + { + "id": 1, + "name": "description", + "type": "TruncatableString" + }, + { + "id": 2, + "name": "attributes", + "type": "Attributes" + } + ] + }, + { + "name": "MessageEvent", + "fields": [ + { + "id": 1, + "name": "type", + "type": "Type" + }, + { + "id": 2, + "name": "id", + "type": "uint64" + }, + { + "id": 3, + "name": "uncompressed_size", + "type": "uint64" + }, + { + "id": 4, + "name": "compressed_size", + "type": "uint64" + } + ] + } + ] + }, + { + "name": "TimeEvents", + "fields": [ + { + "id": 1, + "name": "time_event", + "type": "TimeEvent", + "is_repeated": true + }, + { + "id": 2, + "name": "dropped_annotations_count", + "type": "int32" + }, + { + "id": 3, + "name": "dropped_message_events_count", + "type": "int32" + } + ] + }, + { + "name": "Link", + "fields": [ + { + "id": 1, + "name": "trace_id", + "type": "bytes" + }, + { + "id": 2, + "name": "span_id", + "type": "bytes" + }, + { + "id": 3, + "name": "type", + "type": "Type" + }, + { + "id": 4, + "name": "attributes", + "type": "Attributes" + } + ] + }, + { + "name": "Links", + "fields": [ + { + "id": 1, + "name": "link", + "type": "Link", + "is_repeated": true + }, + { + "id": 2, + "name": "dropped_links_count", + "type": "int32" + } + ] + } + ] + }, + { + "name": "Status", + "fields": [ + { + "id": 1, + "name": "code", + "type": "int32" + }, + { + "id": 2, + "name": "message", + "type": "string" + } + ] + }, + { + "name": "AttributeValue", + "fields": [ + { + "id": 1, + "name": "string_value", + "type": "TruncatableString" + }, + { + "id": 2, + "name": "int_value", + "type": "int64" + }, + { + "id": 3, + "name": "bool_value", + "type": "bool" + } + ] + }, + { + "name": "StackTrace", + "fields": [ + { + "id": 1, + "name": "stack_frames", + "type": "StackFrames" + }, + { + "id": 2, + "name": "stack_trace_hash_id", + "type": "uint64" + } + ], + "messages": [ + { + "name": "StackFrame", + "fields": [ + { + "id": 1, + "name": "function_name", + "type": "TruncatableString" + }, + { + "id": 2, + "name": "original_function_name", + "type": "TruncatableString" + }, + { + "id": 3, + "name": "file_name", + "type": "TruncatableString" + }, + { + "id": 4, + "name": "line_number", + "type": "int64" + }, + { + "id": 5, + "name": "column_number", + "type": "int64" + }, + { + "id": 6, + "name": "load_module", + "type": "Module" + }, + { + "id": 7, + "name": "source_version", + "type": "TruncatableString" + } + ] + }, + { + "name": "StackFrames", + "fields": [ + { + "id": 1, + "name": "frame", + "type": "StackFrame", + "is_repeated": true + }, + { + "id": 2, + "name": "dropped_frames_count", + "type": "int32" + } + ] + } + ] + }, + { + "name": "Module", + "fields": [ + { + "id": 1, + "name": "module", + "type": "TruncatableString" + }, + { + "id": 2, + "name": "build_id", + "type": "TruncatableString" + } + ] + }, + { + "name": "TruncatableString", + "fields": [ + { + "id": 1, + "name": "value", + "type": "string" + }, + { + "id": 2, + "name": "truncated_byte_count", + "type": "int32" + } + ] + } + ] + } + }, + { + "protopath": "vendor:/:istio.io:/:gogo-genproto:/:prometheus:/:metrics.proto", + "def": { + "enums": [ + { + "name": "MetricType", + "enum_fields": [ + { + "name": "COUNTER", + "integer": 0 + }, + { + "name": "GAUGE", + "integer": 1 + }, + { + "name": "SUMMARY", + "integer": 2 + }, + { + "name": "UNTYPED", + "integer": 3 + }, + { + "name": "HISTOGRAM", + "integer": 4 + } + ] + } + ], + "messages": [ + { + "name": "LabelPair", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "value", + "type": "string" + } + ] + }, + { + "name": "Gauge", + "fields": [ + { + "id": 1, + "name": "value", + "type": "double" + } + ] + }, + { + "name": "Counter", + "fields": [ + { + "id": 1, + "name": "value", + "type": "double" + } + ] + }, + { + "name": "Quantile", + "fields": [ + { + "id": 1, + "name": "quantile", + "type": "double" + }, + { + "id": 2, + "name": "value", + "type": "double" + } + ] + }, + { + "name": "Summary", + "fields": [ + { + "id": 1, + "name": "sample_count", + "type": "uint64" + }, + { + "id": 2, + "name": "sample_sum", + "type": "double" + }, + { + "id": 3, + "name": "quantile", + "type": "Quantile", + "is_repeated": true + } + ] + }, + { + "name": "Untyped", + "fields": [ + { + "id": 1, + "name": "value", + "type": "double" + } + ] + }, + { + "name": "Histogram", + "fields": [ + { + "id": 1, + "name": "sample_count", + "type": "uint64" + }, + { + "id": 2, + "name": "sample_sum", + "type": "double" + }, + { + "id": 3, + "name": "bucket", + "type": "Bucket", + "is_repeated": true + } + ] + }, + { + "name": "Bucket", + "fields": [ + { + "id": 1, + "name": "cumulative_count", + "type": "uint64" + }, + { + "id": 2, + "name": "upper_bound", + "type": "double" + } + ] + }, + { + "name": "Metric", + "fields": [ + { + "id": 1, + "name": "label", + "type": "LabelPair", + "is_repeated": true + }, + { + "id": 2, + "name": "gauge", + "type": "Gauge" + }, + { + "id": 3, + "name": "counter", + "type": "Counter" + }, + { + "id": 4, + "name": "summary", + "type": "Summary" + }, + { + "id": 5, + "name": "untyped", + "type": "Untyped" + }, + { + "id": 7, + "name": "histogram", + "type": "Histogram" + }, + { + "id": 6, + "name": "timestamp_ms", + "type": "int64" + } + ] + }, + { + "name": "MetricFamily", + "fields": [ + { + "id": 1, + "name": "name", + "type": "string" + }, + { + "id": 2, + "name": "help", + "type": "string" + }, + { + "id": 3, + "name": "type", + "type": "MetricType" + }, + { + "id": 4, + "name": "metric", + "type": "Metric", + "is_repeated": true + } + ] + } + ] + } } ] } \ No newline at end of file From 97d3c055e8040ab52edf96ecfda976b72d02d8b0 Mon Sep 17 00:00:00 2001 From: Vadim Eisenberg Date: Mon, 31 Dec 2018 17:32:03 +0200 Subject: [PATCH 3/6] Revert "update proto.lock" This reverts commit d1d3a0275a29d1a0e6bac076d67d3cc59a7d0a57. --- proto.lock | 15473 --------------------------------------------------- 1 file changed, 15473 deletions(-) diff --git a/proto.lock b/proto.lock index e24fc3c199..5742b07542 100644 --- a/proto.lock +++ b/proto.lock @@ -849,11 +849,6 @@ "id": 29, "name": "default_service_dependency", "type": "DefaultServiceDependency" - }, - { - "id": 31, - "name": "allow_traffic_to_unknown_ports", - "type": "bool" } ], "reserved_ids": [ @@ -4850,15474 +4845,6 @@ } ] } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:_conformance:/:conformance_proto:/:conformance.proto", - "def": { - "enums": [ - { - "name": "WireFormat", - "enum_fields": [ - { - "name": "UNSPECIFIED", - "integer": 0 - }, - { - "name": "PROTOBUF", - "integer": 1 - }, - { - "name": "JSON", - "integer": 2 - } - ] - }, - { - "name": "TestAllTypes.NestedEnum", - "enum_fields": [ - { - "name": "FOO", - "integer": 0 - }, - { - "name": "BAR", - "integer": 1 - }, - { - "name": "BAZ", - "integer": 2 - }, - { - "name": "NEG", - "integer": -1 - } - ] - }, - { - "name": "ForeignEnum", - "enum_fields": [ - { - "name": "FOREIGN_FOO", - "integer": 0 - }, - { - "name": "FOREIGN_BAR", - "integer": 1 - }, - { - "name": "FOREIGN_BAZ", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "ConformanceRequest", - "fields": [ - { - "id": 1, - "name": "protobuf_payload", - "type": "bytes" - }, - { - "id": 2, - "name": "json_payload", - "type": "string" - }, - { - "id": 3, - "name": "requested_output_format", - "type": "WireFormat" - } - ] - }, - { - "name": "ConformanceResponse", - "fields": [ - { - "id": 1, - "name": "parse_error", - "type": "string" - }, - { - "id": 6, - "name": "serialize_error", - "type": "string" - }, - { - "id": 2, - "name": "runtime_error", - "type": "string" - }, - { - "id": 3, - "name": "protobuf_payload", - "type": "bytes" - }, - { - "id": 4, - "name": "json_payload", - "type": "string" - }, - { - "id": 5, - "name": "skipped", - "type": "string" - } - ] - }, - { - "name": "TestAllTypes", - "fields": [ - { - "id": 1, - "name": "optional_int32", - "type": "int32" - }, - { - "id": 2, - "name": "optional_int64", - "type": "int64" - }, - { - "id": 3, - "name": "optional_uint32", - "type": "uint32" - }, - { - "id": 4, - "name": "optional_uint64", - "type": "uint64" - }, - { - "id": 5, - "name": "optional_sint32", - "type": "sint32" - }, - { - "id": 6, - "name": "optional_sint64", - "type": "sint64" - }, - { - "id": 7, - "name": "optional_fixed32", - "type": "fixed32" - }, - { - "id": 8, - "name": "optional_fixed64", - "type": "fixed64" - }, - { - "id": 9, - "name": "optional_sfixed32", - "type": "sfixed32" - }, - { - "id": 10, - "name": "optional_sfixed64", - "type": "sfixed64" - }, - { - "id": 11, - "name": "optional_float", - "type": "float" - }, - { - "id": 12, - "name": "optional_double", - "type": "double" - }, - { - "id": 13, - "name": "optional_bool", - "type": "bool" - }, - { - "id": 14, - "name": "optional_string", - "type": "string" - }, - { - "id": 15, - "name": "optional_bytes", - "type": "bytes" - }, - { - "id": 18, - "name": "optional_nested_message", - "type": "NestedMessage" - }, - { - "id": 19, - "name": "optional_foreign_message", - "type": "ForeignMessage" - }, - { - "id": 21, - "name": "optional_nested_enum", - "type": "NestedEnum" - }, - { - "id": 22, - "name": "optional_foreign_enum", - "type": "ForeignEnum" - }, - { - "id": 24, - "name": "optional_string_piece", - "type": "string" - }, - { - "id": 25, - "name": "optional_cord", - "type": "string" - }, - { - "id": 27, - "name": "recursive_message", - "type": "TestAllTypes" - }, - { - "id": 31, - "name": "repeated_int32", - "type": "int32", - "is_repeated": true - }, - { - "id": 32, - "name": "repeated_int64", - "type": "int64", - "is_repeated": true - }, - { - "id": 33, - "name": "repeated_uint32", - "type": "uint32", - "is_repeated": true - }, - { - "id": 34, - "name": "repeated_uint64", - "type": "uint64", - "is_repeated": true - }, - { - "id": 35, - "name": "repeated_sint32", - "type": "sint32", - "is_repeated": true - }, - { - "id": 36, - "name": "repeated_sint64", - "type": "sint64", - "is_repeated": true - }, - { - "id": 37, - "name": "repeated_fixed32", - "type": "fixed32", - "is_repeated": true - }, - { - "id": 38, - "name": "repeated_fixed64", - "type": "fixed64", - "is_repeated": true - }, - { - "id": 39, - "name": "repeated_sfixed32", - "type": "sfixed32", - "is_repeated": true - }, - { - "id": 40, - "name": "repeated_sfixed64", - "type": "sfixed64", - "is_repeated": true - }, - { - "id": 41, - "name": "repeated_float", - "type": "float", - "is_repeated": true - }, - { - "id": 42, - "name": "repeated_double", - "type": "double", - "is_repeated": true - }, - { - "id": 43, - "name": "repeated_bool", - "type": "bool", - "is_repeated": true - }, - { - "id": 44, - "name": "repeated_string", - "type": "string", - "is_repeated": true - }, - { - "id": 45, - "name": "repeated_bytes", - "type": "bytes", - "is_repeated": true - }, - { - "id": 48, - "name": "repeated_nested_message", - "type": "NestedMessage", - "is_repeated": true - }, - { - "id": 49, - "name": "repeated_foreign_message", - "type": "ForeignMessage", - "is_repeated": true - }, - { - "id": 51, - "name": "repeated_nested_enum", - "type": "NestedEnum", - "is_repeated": true - }, - { - "id": 52, - "name": "repeated_foreign_enum", - "type": "ForeignEnum", - "is_repeated": true - }, - { - "id": 54, - "name": "repeated_string_piece", - "type": "string", - "is_repeated": true - }, - { - "id": 55, - "name": "repeated_cord", - "type": "string", - "is_repeated": true - }, - { - "id": 111, - "name": "oneof_uint32", - "type": "uint32" - }, - { - "id": 112, - "name": "oneof_nested_message", - "type": "NestedMessage" - }, - { - "id": 113, - "name": "oneof_string", - "type": "string" - }, - { - "id": 114, - "name": "oneof_bytes", - "type": "bytes" - }, - { - "id": 115, - "name": "oneof_bool", - "type": "bool" - }, - { - "id": 116, - "name": "oneof_uint64", - "type": "uint64" - }, - { - "id": 117, - "name": "oneof_float", - "type": "float" - }, - { - "id": 118, - "name": "oneof_double", - "type": "double" - }, - { - "id": 119, - "name": "oneof_enum", - "type": "NestedEnum" - }, - { - "id": 201, - "name": "optional_bool_wrapper", - "type": "google.protobuf.BoolValue" - }, - { - "id": 202, - "name": "optional_int32_wrapper", - "type": "google.protobuf.Int32Value" - }, - { - "id": 203, - "name": "optional_int64_wrapper", - "type": "google.protobuf.Int64Value" - }, - { - "id": 204, - "name": "optional_uint32_wrapper", - "type": "google.protobuf.UInt32Value" - }, - { - "id": 205, - "name": "optional_uint64_wrapper", - "type": "google.protobuf.UInt64Value" - }, - { - "id": 206, - "name": "optional_float_wrapper", - "type": "google.protobuf.FloatValue" - }, - { - "id": 207, - "name": "optional_double_wrapper", - "type": "google.protobuf.DoubleValue" - }, - { - "id": 208, - "name": "optional_string_wrapper", - "type": "google.protobuf.StringValue" - }, - { - "id": 209, - "name": "optional_bytes_wrapper", - "type": "google.protobuf.BytesValue" - }, - { - "id": 211, - "name": "repeated_bool_wrapper", - "type": "google.protobuf.BoolValue", - "is_repeated": true - }, - { - "id": 212, - "name": "repeated_int32_wrapper", - "type": "google.protobuf.Int32Value", - "is_repeated": true - }, - { - "id": 213, - "name": "repeated_int64_wrapper", - "type": "google.protobuf.Int64Value", - "is_repeated": true - }, - { - "id": 214, - "name": "repeated_uint32_wrapper", - "type": "google.protobuf.UInt32Value", - "is_repeated": true - }, - { - "id": 215, - "name": "repeated_uint64_wrapper", - "type": "google.protobuf.UInt64Value", - "is_repeated": true - }, - { - "id": 216, - "name": "repeated_float_wrapper", - "type": "google.protobuf.FloatValue", - "is_repeated": true - }, - { - "id": 217, - "name": "repeated_double_wrapper", - "type": "google.protobuf.DoubleValue", - "is_repeated": true - }, - { - "id": 218, - "name": "repeated_string_wrapper", - "type": "google.protobuf.StringValue", - "is_repeated": true - }, - { - "id": 219, - "name": "repeated_bytes_wrapper", - "type": "google.protobuf.BytesValue", - "is_repeated": true - }, - { - "id": 301, - "name": "optional_duration", - "type": "google.protobuf.Duration" - }, - { - "id": 302, - "name": "optional_timestamp", - "type": "google.protobuf.Timestamp" - }, - { - "id": 303, - "name": "optional_field_mask", - "type": "google.protobuf.FieldMask" - }, - { - "id": 304, - "name": "optional_struct", - "type": "google.protobuf.Struct" - }, - { - "id": 305, - "name": "optional_any", - "type": "google.protobuf.Any" - }, - { - "id": 306, - "name": "optional_value", - "type": "google.protobuf.Value" - }, - { - "id": 311, - "name": "repeated_duration", - "type": "google.protobuf.Duration", - "is_repeated": true - }, - { - "id": 312, - "name": "repeated_timestamp", - "type": "google.protobuf.Timestamp", - "is_repeated": true - }, - { - "id": 313, - "name": "repeated_fieldmask", - "type": "google.protobuf.FieldMask", - "is_repeated": true - }, - { - "id": 324, - "name": "repeated_struct", - "type": "google.protobuf.Struct", - "is_repeated": true - }, - { - "id": 315, - "name": "repeated_any", - "type": "google.protobuf.Any", - "is_repeated": true - }, - { - "id": 316, - "name": "repeated_value", - "type": "google.protobuf.Value", - "is_repeated": true - }, - { - "id": 401, - "name": "fieldname1", - "type": "int32" - }, - { - "id": 402, - "name": "field_name2", - "type": "int32" - }, - { - "id": 403, - "name": "_field_name3", - "type": "int32" - }, - { - "id": 404, - "name": "field__name4_", - "type": "int32" - }, - { - "id": 405, - "name": "field0name5", - "type": "int32" - }, - { - "id": 406, - "name": "field_0_name6", - "type": "int32" - }, - { - "id": 407, - "name": "fieldName7", - "type": "int32" - }, - { - "id": 408, - "name": "FieldName8", - "type": "int32" - }, - { - "id": 409, - "name": "field_Name9", - "type": "int32" - }, - { - "id": 410, - "name": "Field_Name10", - "type": "int32" - }, - { - "id": 411, - "name": "FIELD_NAME11", - "type": "int32" - }, - { - "id": 412, - "name": "FIELD_name12", - "type": "int32" - }, - { - "id": 413, - "name": "__field_name13", - "type": "int32" - }, - { - "id": 414, - "name": "__Field_name14", - "type": "int32" - }, - { - "id": 415, - "name": "field__name15", - "type": "int32" - }, - { - "id": 416, - "name": "field__Name16", - "type": "int32" - }, - { - "id": 417, - "name": "field_name17__", - "type": "int32" - }, - { - "id": 418, - "name": "Field_name18__", - "type": "int32" - } - ], - "maps": [ - { - "key_type": "int32", - "field": { - "id": 56, - "name": "map_int32_int32", - "type": "int32" - } - }, - { - "key_type": "int64", - "field": { - "id": 57, - "name": "map_int64_int64", - "type": "int64" - } - }, - { - "key_type": "uint32", - "field": { - "id": 58, - "name": "map_uint32_uint32", - "type": "uint32" - } - }, - { - "key_type": "uint64", - "field": { - "id": 59, - "name": "map_uint64_uint64", - "type": "uint64" - } - }, - { - "key_type": "sint32", - "field": { - "id": 60, - "name": "map_sint32_sint32", - "type": "sint32" - } - }, - { - "key_type": "sint64", - "field": { - "id": 61, - "name": "map_sint64_sint64", - "type": "sint64" - } - }, - { - "key_type": "fixed32", - "field": { - "id": 62, - "name": "map_fixed32_fixed32", - "type": "fixed32" - } - }, - { - "key_type": "fixed64", - "field": { - "id": 63, - "name": "map_fixed64_fixed64", - "type": "fixed64" - } - }, - { - "key_type": "sfixed32", - "field": { - "id": 64, - "name": "map_sfixed32_sfixed32", - "type": "sfixed32" - } - }, - { - "key_type": "sfixed64", - "field": { - "id": 65, - "name": "map_sfixed64_sfixed64", - "type": "sfixed64" - } - }, - { - "key_type": "int32", - "field": { - "id": 66, - "name": "map_int32_float", - "type": "float" - } - }, - { - "key_type": "int32", - "field": { - "id": 67, - "name": "map_int32_double", - "type": "double" - } - }, - { - "key_type": "bool", - "field": { - "id": 68, - "name": "map_bool_bool", - "type": "bool" - } - }, - { - "key_type": "string", - "field": { - "id": 69, - "name": "map_string_string", - "type": "string" - } - }, - { - "key_type": "string", - "field": { - "id": 70, - "name": "map_string_bytes", - "type": "bytes" - } - }, - { - "key_type": "string", - "field": { - "id": 71, - "name": "map_string_nested_message", - "type": "NestedMessage" - } - }, - { - "key_type": "string", - "field": { - "id": 72, - "name": "map_string_foreign_message", - "type": "ForeignMessage" - } - }, - { - "key_type": "string", - "field": { - "id": 73, - "name": "map_string_nested_enum", - "type": "NestedEnum" - } - }, - { - "key_type": "string", - "field": { - "id": 74, - "name": "map_string_foreign_enum", - "type": "ForeignEnum" - } - } - ], - "messages": [ - { - "name": "NestedMessage", - "fields": [ - { - "id": 1, - "name": "a", - "type": "int32" - }, - { - "id": 2, - "name": "corecursive", - "type": "TestAllTypes" - } - ] - } - ] - }, - { - "name": "ForeignMessage", - "fields": [ - { - "id": 1, - "name": "c", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:gogoproto:/:gogo.proto", - "def": { - "messages": [ - { - "name": "google.protobuf.EnumOptions", - "fields": [ - { - "id": 62001, - "name": "goproto_enum_prefix", - "type": "bool" - }, - { - "id": 62021, - "name": "goproto_enum_stringer", - "type": "bool" - }, - { - "id": 62022, - "name": "enum_stringer", - "type": "bool" - }, - { - "id": 62023, - "name": "enum_customname", - "type": "string" - }, - { - "id": 62024, - "name": "enumdecl", - "type": "bool" - } - ] - }, - { - "name": "google.protobuf.EnumValueOptions", - "fields": [ - { - "id": 66001, - "name": "enumvalue_customname", - "type": "string" - } - ] - }, - { - "name": "google.protobuf.FileOptions", - "fields": [ - { - "id": 63001, - "name": "goproto_getters_all", - "type": "bool" - }, - { - "id": 63002, - "name": "goproto_enum_prefix_all", - "type": "bool" - }, - { - "id": 63003, - "name": "goproto_stringer_all", - "type": "bool" - }, - { - "id": 63004, - "name": "verbose_equal_all", - "type": "bool" - }, - { - "id": 63005, - "name": "face_all", - "type": "bool" - }, - { - "id": 63006, - "name": "gostring_all", - "type": "bool" - }, - { - "id": 63007, - "name": "populate_all", - "type": "bool" - }, - { - "id": 63008, - "name": "stringer_all", - "type": "bool" - }, - { - "id": 63009, - "name": "onlyone_all", - "type": "bool" - }, - { - "id": 63013, - "name": "equal_all", - "type": "bool" - }, - { - "id": 63014, - "name": "description_all", - "type": "bool" - }, - { - "id": 63015, - "name": "testgen_all", - "type": "bool" - }, - { - "id": 63016, - "name": "benchgen_all", - "type": "bool" - }, - { - "id": 63017, - "name": "marshaler_all", - "type": "bool" - }, - { - "id": 63018, - "name": "unmarshaler_all", - "type": "bool" - }, - { - "id": 63019, - "name": "stable_marshaler_all", - "type": "bool" - }, - { - "id": 63020, - "name": "sizer_all", - "type": "bool" - }, - { - "id": 63021, - "name": "goproto_enum_stringer_all", - "type": "bool" - }, - { - "id": 63022, - "name": "enum_stringer_all", - "type": "bool" - }, - { - "id": 63023, - "name": "unsafe_marshaler_all", - "type": "bool" - }, - { - "id": 63024, - "name": "unsafe_unmarshaler_all", - "type": "bool" - }, - { - "id": 63025, - "name": "goproto_extensions_map_all", - "type": "bool" - }, - { - "id": 63026, - "name": "goproto_unrecognized_all", - "type": "bool" - }, - { - "id": 63027, - "name": "gogoproto_import", - "type": "bool" - }, - { - "id": 63028, - "name": "protosizer_all", - "type": "bool" - }, - { - "id": 63029, - "name": "compare_all", - "type": "bool" - }, - { - "id": 63030, - "name": "typedecl_all", - "type": "bool" - }, - { - "id": 63031, - "name": "enumdecl_all", - "type": "bool" - }, - { - "id": 63032, - "name": "goproto_registration", - "type": "bool" - } - ] - }, - { - "name": "google.protobuf.MessageOptions", - "fields": [ - { - "id": 64001, - "name": "goproto_getters", - "type": "bool" - }, - { - "id": 64003, - "name": "goproto_stringer", - "type": "bool" - }, - { - "id": 64004, - "name": "verbose_equal", - "type": "bool" - }, - { - "id": 64005, - "name": "face", - "type": "bool" - }, - { - "id": 64006, - "name": "gostring", - "type": "bool" - }, - { - "id": 64007, - "name": "populate", - "type": "bool" - }, - { - "id": 67008, - "name": "stringer", - "type": "bool" - }, - { - "id": 64009, - "name": "onlyone", - "type": "bool" - }, - { - "id": 64013, - "name": "equal", - "type": "bool" - }, - { - "id": 64014, - "name": "description", - "type": "bool" - }, - { - "id": 64015, - "name": "testgen", - "type": "bool" - }, - { - "id": 64016, - "name": "benchgen", - "type": "bool" - }, - { - "id": 64017, - "name": "marshaler", - "type": "bool" - }, - { - "id": 64018, - "name": "unmarshaler", - "type": "bool" - }, - { - "id": 64019, - "name": "stable_marshaler", - "type": "bool" - }, - { - "id": 64020, - "name": "sizer", - "type": "bool" - }, - { - "id": 64023, - "name": "unsafe_marshaler", - "type": "bool" - }, - { - "id": 64024, - "name": "unsafe_unmarshaler", - "type": "bool" - }, - { - "id": 64025, - "name": "goproto_extensions_map", - "type": "bool" - }, - { - "id": 64026, - "name": "goproto_unrecognized", - "type": "bool" - }, - { - "id": 64028, - "name": "protosizer", - "type": "bool" - }, - { - "id": 64029, - "name": "compare", - "type": "bool" - }, - { - "id": 64030, - "name": "typedecl", - "type": "bool" - } - ] - }, - { - "name": "google.protobuf.FieldOptions", - "fields": [ - { - "id": 65001, - "name": "nullable", - "type": "bool" - }, - { - "id": 65002, - "name": "embed", - "type": "bool" - }, - { - "id": 65003, - "name": "customtype", - "type": "string" - }, - { - "id": 65004, - "name": "customname", - "type": "string" - }, - { - "id": 65005, - "name": "jsontag", - "type": "string" - }, - { - "id": 65006, - "name": "moretags", - "type": "string" - }, - { - "id": 65007, - "name": "casttype", - "type": "string" - }, - { - "id": 65008, - "name": "castkey", - "type": "string" - }, - { - "id": 65009, - "name": "castvalue", - "type": "string" - }, - { - "id": 65010, - "name": "stdtime", - "type": "bool" - }, - { - "id": 65011, - "name": "stdduration", - "type": "bool" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:jsonpb:/:jsonpb_test_proto:/:more_test_objects.proto", - "def": { - "enums": [ - { - "name": "Numeral", - "enum_fields": [ - { - "name": "UNKNOWN", - "integer": 0 - }, - { - "name": "ARABIC", - "integer": 1 - }, - { - "name": "ROMAN", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "Simple3", - "fields": [ - { - "id": 1, - "name": "dub", - "type": "double" - } - ] - }, - { - "name": "SimpleSlice3", - "fields": [ - { - "id": 1, - "name": "slices", - "type": "string", - "is_repeated": true - } - ] - }, - { - "name": "SimpleMap3", - "maps": [ - { - "key_type": "string", - "field": { - "id": 1, - "name": "stringy", - "type": "string" - } - } - ] - }, - { - "name": "SimpleNull3", - "fields": [ - { - "id": 1, - "name": "simple", - "type": "Simple3" - } - ] - }, - { - "name": "Mappy", - "maps": [ - { - "key_type": "int64", - "field": { - "id": 1, - "name": "nummy", - "type": "int32" - } - }, - { - "key_type": "string", - "field": { - "id": 2, - "name": "strry", - "type": "string" - } - }, - { - "key_type": "int32", - "field": { - "id": 3, - "name": "objjy", - "type": "Simple3" - } - }, - { - "key_type": "int64", - "field": { - "id": 4, - "name": "buggy", - "type": "string" - } - }, - { - "key_type": "bool", - "field": { - "id": 5, - "name": "booly", - "type": "bool" - } - }, - { - "key_type": "string", - "field": { - "id": 6, - "name": "enumy", - "type": "Numeral" - } - }, - { - "key_type": "int32", - "field": { - "id": 7, - "name": "s32booly", - "type": "bool" - } - }, - { - "key_type": "int64", - "field": { - "id": 8, - "name": "s64booly", - "type": "bool" - } - }, - { - "key_type": "uint32", - "field": { - "id": 9, - "name": "u32booly", - "type": "bool" - } - }, - { - "key_type": "uint64", - "field": { - "id": 10, - "name": "u64booly", - "type": "bool" - } - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:jsonpb:/:jsonpb_test_proto:/:test_objects.proto", - "def": { - "enums": [ - { - "name": "Widget.Color", - "enum_fields": [ - { - "name": "RED", - "integer": 0 - }, - { - "name": "GREEN", - "integer": 1 - }, - { - "name": "BLUE", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "Simple", - "fields": [ - { - "id": 1, - "name": "o_bool", - "type": "bool" - }, - { - "id": 2, - "name": "o_int32", - "type": "int32" - }, - { - "id": 3, - "name": "o_int64", - "type": "int64" - }, - { - "id": 4, - "name": "o_uint32", - "type": "uint32" - }, - { - "id": 5, - "name": "o_uint64", - "type": "uint64" - }, - { - "id": 6, - "name": "o_sint32", - "type": "sint32" - }, - { - "id": 7, - "name": "o_sint64", - "type": "sint64" - }, - { - "id": 8, - "name": "o_float", - "type": "float" - }, - { - "id": 9, - "name": "o_double", - "type": "double" - }, - { - "id": 10, - "name": "o_string", - "type": "string" - }, - { - "id": 11, - "name": "o_bytes", - "type": "bytes" - }, - { - "id": 12, - "name": "o_cast_bytes", - "type": "bytes" - } - ] - }, - { - "name": "NonFinites", - "fields": [ - { - "id": 1, - "name": "f_nan", - "type": "float" - }, - { - "id": 2, - "name": "f_pinf", - "type": "float" - }, - { - "id": 3, - "name": "f_ninf", - "type": "float" - }, - { - "id": 4, - "name": "d_nan", - "type": "double" - }, - { - "id": 5, - "name": "d_pinf", - "type": "double" - }, - { - "id": 6, - "name": "d_ninf", - "type": "double" - } - ] - }, - { - "name": "Repeats", - "fields": [ - { - "id": 1, - "name": "r_bool", - "type": "bool", - "is_repeated": true - }, - { - "id": 2, - "name": "r_int32", - "type": "int32", - "is_repeated": true - }, - { - "id": 3, - "name": "r_int64", - "type": "int64", - "is_repeated": true - }, - { - "id": 4, - "name": "r_uint32", - "type": "uint32", - "is_repeated": true - }, - { - "id": 5, - "name": "r_uint64", - "type": "uint64", - "is_repeated": true - }, - { - "id": 6, - "name": "r_sint32", - "type": "sint32", - "is_repeated": true - }, - { - "id": 7, - "name": "r_sint64", - "type": "sint64", - "is_repeated": true - }, - { - "id": 8, - "name": "r_float", - "type": "float", - "is_repeated": true - }, - { - "id": 9, - "name": "r_double", - "type": "double", - "is_repeated": true - }, - { - "id": 10, - "name": "r_string", - "type": "string", - "is_repeated": true - }, - { - "id": 11, - "name": "r_bytes", - "type": "bytes", - "is_repeated": true - } - ] - }, - { - "name": "Widget", - "fields": [ - { - "id": 1, - "name": "color", - "type": "Color" - }, - { - "id": 2, - "name": "r_color", - "type": "Color", - "is_repeated": true - }, - { - "id": 10, - "name": "simple", - "type": "Simple" - }, - { - "id": 11, - "name": "r_simple", - "type": "Simple", - "is_repeated": true - }, - { - "id": 20, - "name": "repeats", - "type": "Repeats" - }, - { - "id": 21, - "name": "r_repeats", - "type": "Repeats", - "is_repeated": true - } - ] - }, - { - "name": "Maps", - "maps": [ - { - "key_type": "int64", - "field": { - "id": 1, - "name": "m_int64_str", - "type": "string" - } - }, - { - "key_type": "bool", - "field": { - "id": 2, - "name": "m_bool_simple", - "type": "Simple" - } - } - ] - }, - { - "name": "MsgWithOneof", - "fields": [ - { - "id": 1, - "name": "title", - "type": "string" - }, - { - "id": 2, - "name": "salary", - "type": "int64" - }, - { - "id": 3, - "name": "Country", - "type": "string" - }, - { - "id": 4, - "name": "home_address", - "type": "string" - } - ] - }, - { - "name": "Real", - "fields": [ - { - "id": 1, - "name": "value", - "type": "double" - } - ] - }, - { - "name": "Real", - "fields": [ - { - "id": 124, - "name": "name", - "type": "string" - } - ] - }, - { - "name": "Complex", - "fields": [ - { - "id": 1, - "name": "imaginary", - "type": "double" - } - ], - "messages": [ - { - "name": "Real", - "fields": [ - { - "id": 123, - "name": "real_extension", - "type": "Complex" - } - ] - } - ] - }, - { - "name": "KnownTypes", - "fields": [ - { - "id": 14, - "name": "an", - "type": "google.protobuf.Any" - }, - { - "id": 1, - "name": "dur", - "type": "google.protobuf.Duration" - }, - { - "id": 12, - "name": "st", - "type": "google.protobuf.Struct" - }, - { - "id": 2, - "name": "ts", - "type": "google.protobuf.Timestamp" - }, - { - "id": 15, - "name": "lv", - "type": "google.protobuf.ListValue" - }, - { - "id": 16, - "name": "val", - "type": "google.protobuf.Value" - }, - { - "id": 3, - "name": "dbl", - "type": "google.protobuf.DoubleValue" - }, - { - "id": 4, - "name": "flt", - "type": "google.protobuf.FloatValue" - }, - { - "id": 5, - "name": "i64", - "type": "google.protobuf.Int64Value" - }, - { - "id": 6, - "name": "u64", - "type": "google.protobuf.UInt64Value" - }, - { - "id": 7, - "name": "i32", - "type": "google.protobuf.Int32Value" - }, - { - "id": 8, - "name": "u32", - "type": "google.protobuf.UInt32Value" - }, - { - "id": 9, - "name": "bool", - "type": "google.protobuf.BoolValue" - }, - { - "id": 10, - "name": "str", - "type": "google.protobuf.StringValue" - }, - { - "id": 11, - "name": "bytes", - "type": "google.protobuf.BytesValue" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:proto:/:proto3_proto:/:proto3.proto", - "def": { - "enums": [ - { - "name": "Message.Humour", - "enum_fields": [ - { - "name": "UNKNOWN", - "integer": 0 - }, - { - "name": "PUNS", - "integer": 1 - }, - { - "name": "SLAPSTICK", - "integer": 2 - }, - { - "name": "BILL_BAILEY", - "integer": 3 - } - ] - } - ], - "messages": [ - { - "name": "Message", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "hilarity", - "type": "Humour" - }, - { - "id": 3, - "name": "height_in_cm", - "type": "uint32" - }, - { - "id": 4, - "name": "data", - "type": "bytes" - }, - { - "id": 7, - "name": "result_count", - "type": "int64" - }, - { - "id": 8, - "name": "true_scotsman", - "type": "bool" - }, - { - "id": 9, - "name": "score", - "type": "float" - }, - { - "id": 5, - "name": "key", - "type": "uint64", - "is_repeated": true - }, - { - "id": 19, - "name": "short_key", - "type": "int32", - "is_repeated": true - }, - { - "id": 6, - "name": "nested", - "type": "Nested" - }, - { - "id": 16, - "name": "r_funny", - "type": "Humour", - "is_repeated": true - }, - { - "id": 11, - "name": "proto2_field", - "type": "testdata.SubDefaults" - }, - { - "id": 14, - "name": "anything", - "type": "google.protobuf.Any" - }, - { - "id": 15, - "name": "many_things", - "type": "google.protobuf.Any", - "is_repeated": true - }, - { - "id": 17, - "name": "submessage", - "type": "Message" - }, - { - "id": 18, - "name": "children", - "type": "Message", - "is_repeated": true - } - ], - "maps": [ - { - "key_type": "string", - "field": { - "id": 10, - "name": "terrain", - "type": "Nested" - } - }, - { - "key_type": "string", - "field": { - "id": 13, - "name": "proto2_value", - "type": "testdata.SubDefaults" - } - } - ] - }, - { - "name": "Nested", - "fields": [ - { - "id": 1, - "name": "bunny", - "type": "string" - }, - { - "id": 2, - "name": "cute", - "type": "bool" - } - ] - }, - { - "name": "MessageWithMap", - "maps": [ - { - "key_type": "bool", - "field": { - "id": 1, - "name": "byte_mapping", - "type": "bytes" - } - } - ] - }, - { - "name": "IntMap", - "maps": [ - { - "key_type": "int32", - "field": { - "id": 1, - "name": "rtt", - "type": "int32" - } - } - ] - }, - { - "name": "IntMaps", - "fields": [ - { - "id": 1, - "name": "maps", - "type": "IntMap", - "is_repeated": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:proto:/:testdata:/:test.proto", - "def": { - "enums": [ - { - "name": "FOO", - "enum_fields": [ - { - "name": "FOO1", - "integer": 1 - } - ] - }, - { - "name": "GoTest.KIND", - "enum_fields": [ - { - "name": "VOID", - "integer": 0 - }, - { - "name": "BOOL", - "integer": 1 - }, - { - "name": "BYTES", - "integer": 2 - }, - { - "name": "FINGERPRINT", - "integer": 3 - }, - { - "name": "FLOAT", - "integer": 4 - }, - { - "name": "INT", - "integer": 5 - }, - { - "name": "STRING", - "integer": 6 - }, - { - "name": "TIME", - "integer": 7 - }, - { - "name": "TUPLE", - "integer": 8 - }, - { - "name": "ARRAY", - "integer": 9 - }, - { - "name": "MAP", - "integer": 10 - }, - { - "name": "TABLE", - "integer": 11 - }, - { - "name": "FUNCTION", - "integer": 12 - } - ] - }, - { - "name": "MyMessage.Color", - "enum_fields": [ - { - "name": "RED", - "integer": 0 - }, - { - "name": "GREEN", - "integer": 1 - }, - { - "name": "BLUE", - "integer": 2 - } - ] - }, - { - "name": "DefaultsMessage.DefaultsEnum", - "enum_fields": [ - { - "name": "ZERO", - "integer": 0 - }, - { - "name": "ONE", - "integer": 1 - }, - { - "name": "TWO", - "integer": 2 - } - ] - }, - { - "name": "Defaults.Color", - "enum_fields": [ - { - "name": "RED", - "integer": 0 - }, - { - "name": "GREEN", - "integer": 1 - }, - { - "name": "BLUE", - "integer": 2 - } - ] - }, - { - "name": "RepeatedEnum.Color", - "enum_fields": [ - { - "name": "RED", - "integer": 1 - } - ] - } - ], - "messages": [ - { - "name": "GoEnum", - "fields": [ - { - "id": 1, - "name": "foo", - "type": "FOO" - } - ] - }, - { - "name": "GoTestField", - "fields": [ - { - "id": 1, - "name": "Label", - "type": "string" - }, - { - "id": 2, - "name": "Type", - "type": "string" - } - ] - }, - { - "name": "GoTest", - "fields": [ - { - "id": 1, - "name": "Kind", - "type": "KIND" - }, - { - "id": 2, - "name": "Table", - "type": "string" - }, - { - "id": 3, - "name": "Param", - "type": "int32" - }, - { - "id": 4, - "name": "RequiredField", - "type": "GoTestField" - }, - { - "id": 5, - "name": "RepeatedField", - "type": "GoTestField", - "is_repeated": true - }, - { - "id": 6, - "name": "OptionalField", - "type": "GoTestField" - }, - { - "id": 10, - "name": "F_Bool_required", - "type": "bool" - }, - { - "id": 11, - "name": "F_Int32_required", - "type": "int32" - }, - { - "id": 12, - "name": "F_Int64_required", - "type": "int64" - }, - { - "id": 13, - "name": "F_Fixed32_required", - "type": "fixed32" - }, - { - "id": 14, - "name": "F_Fixed64_required", - "type": "fixed64" - }, - { - "id": 15, - "name": "F_Uint32_required", - "type": "uint32" - }, - { - "id": 16, - "name": "F_Uint64_required", - "type": "uint64" - }, - { - "id": 17, - "name": "F_Float_required", - "type": "float" - }, - { - "id": 18, - "name": "F_Double_required", - "type": "double" - }, - { - "id": 19, - "name": "F_String_required", - "type": "string" - }, - { - "id": 101, - "name": "F_Bytes_required", - "type": "bytes" - }, - { - "id": 102, - "name": "F_Sint32_required", - "type": "sint32" - }, - { - "id": 103, - "name": "F_Sint64_required", - "type": "sint64" - }, - { - "id": 20, - "name": "F_Bool_repeated", - "type": "bool", - "is_repeated": true - }, - { - "id": 21, - "name": "F_Int32_repeated", - "type": "int32", - "is_repeated": true - }, - { - "id": 22, - "name": "F_Int64_repeated", - "type": "int64", - "is_repeated": true - }, - { - "id": 23, - "name": "F_Fixed32_repeated", - "type": "fixed32", - "is_repeated": true - }, - { - "id": 24, - "name": "F_Fixed64_repeated", - "type": "fixed64", - "is_repeated": true - }, - { - "id": 25, - "name": "F_Uint32_repeated", - "type": "uint32", - "is_repeated": true - }, - { - "id": 26, - "name": "F_Uint64_repeated", - "type": "uint64", - "is_repeated": true - }, - { - "id": 27, - "name": "F_Float_repeated", - "type": "float", - "is_repeated": true - }, - { - "id": 28, - "name": "F_Double_repeated", - "type": "double", - "is_repeated": true - }, - { - "id": 29, - "name": "F_String_repeated", - "type": "string", - "is_repeated": true - }, - { - "id": 201, - "name": "F_Bytes_repeated", - "type": "bytes", - "is_repeated": true - }, - { - "id": 202, - "name": "F_Sint32_repeated", - "type": "sint32", - "is_repeated": true - }, - { - "id": 203, - "name": "F_Sint64_repeated", - "type": "sint64", - "is_repeated": true - }, - { - "id": 30, - "name": "F_Bool_optional", - "type": "bool" - }, - { - "id": 31, - "name": "F_Int32_optional", - "type": "int32" - }, - { - "id": 32, - "name": "F_Int64_optional", - "type": "int64" - }, - { - "id": 33, - "name": "F_Fixed32_optional", - "type": "fixed32" - }, - { - "id": 34, - "name": "F_Fixed64_optional", - "type": "fixed64" - }, - { - "id": 35, - "name": "F_Uint32_optional", - "type": "uint32" - }, - { - "id": 36, - "name": "F_Uint64_optional", - "type": "uint64" - }, - { - "id": 37, - "name": "F_Float_optional", - "type": "float" - }, - { - "id": 38, - "name": "F_Double_optional", - "type": "double" - }, - { - "id": 39, - "name": "F_String_optional", - "type": "string" - }, - { - "id": 301, - "name": "F_Bytes_optional", - "type": "bytes" - }, - { - "id": 302, - "name": "F_Sint32_optional", - "type": "sint32" - }, - { - "id": 303, - "name": "F_Sint64_optional", - "type": "sint64" - }, - { - "id": 40, - "name": "F_Bool_defaulted", - "type": "bool" - }, - { - "id": 41, - "name": "F_Int32_defaulted", - "type": "int32" - }, - { - "id": 42, - "name": "F_Int64_defaulted", - "type": "int64" - }, - { - "id": 43, - "name": "F_Fixed32_defaulted", - "type": "fixed32" - }, - { - "id": 44, - "name": "F_Fixed64_defaulted", - "type": "fixed64" - }, - { - "id": 45, - "name": "F_Uint32_defaulted", - "type": "uint32" - }, - { - "id": 46, - "name": "F_Uint64_defaulted", - "type": "uint64" - }, - { - "id": 47, - "name": "F_Float_defaulted", - "type": "float" - }, - { - "id": 48, - "name": "F_Double_defaulted", - "type": "double" - }, - { - "id": 49, - "name": "F_String_defaulted", - "type": "string" - }, - { - "id": 401, - "name": "F_Bytes_defaulted", - "type": "bytes" - }, - { - "id": 402, - "name": "F_Sint32_defaulted", - "type": "sint32" - }, - { - "id": 403, - "name": "F_Sint64_defaulted", - "type": "sint64" - }, - { - "id": 50, - "name": "F_Bool_repeated_packed", - "type": "bool", - "is_repeated": true - }, - { - "id": 51, - "name": "F_Int32_repeated_packed", - "type": "int32", - "is_repeated": true - }, - { - "id": 52, - "name": "F_Int64_repeated_packed", - "type": "int64", - "is_repeated": true - }, - { - "id": 53, - "name": "F_Fixed32_repeated_packed", - "type": "fixed32", - "is_repeated": true - }, - { - "id": 54, - "name": "F_Fixed64_repeated_packed", - "type": "fixed64", - "is_repeated": true - }, - { - "id": 55, - "name": "F_Uint32_repeated_packed", - "type": "uint32", - "is_repeated": true - }, - { - "id": 56, - "name": "F_Uint64_repeated_packed", - "type": "uint64", - "is_repeated": true - }, - { - "id": 57, - "name": "F_Float_repeated_packed", - "type": "float", - "is_repeated": true - }, - { - "id": 58, - "name": "F_Double_repeated_packed", - "type": "double", - "is_repeated": true - }, - { - "id": 502, - "name": "F_Sint32_repeated_packed", - "type": "sint32", - "is_repeated": true - }, - { - "id": 503, - "name": "F_Sint64_repeated_packed", - "type": "sint64", - "is_repeated": true - } - ] - }, - { - "name": "GoTestRequiredGroupField" - }, - { - "name": "GoSkipTest", - "fields": [ - { - "id": 11, - "name": "skip_int32", - "type": "int32" - }, - { - "id": 12, - "name": "skip_fixed32", - "type": "fixed32" - }, - { - "id": 13, - "name": "skip_fixed64", - "type": "fixed64" - }, - { - "id": 14, - "name": "skip_string", - "type": "string" - } - ] - }, - { - "name": "NonPackedTest", - "fields": [ - { - "id": 1, - "name": "a", - "type": "int32", - "is_repeated": true - } - ] - }, - { - "name": "PackedTest", - "fields": [ - { - "id": 1, - "name": "b", - "type": "int32", - "is_repeated": true - } - ] - }, - { - "name": "MaxTag", - "fields": [ - { - "id": 536870911, - "name": "last_field", - "type": "string" - } - ] - }, - { - "name": "OldMessage", - "fields": [ - { - "id": 1, - "name": "nested", - "type": "Nested" - }, - { - "id": 2, - "name": "num", - "type": "int32" - } - ], - "messages": [ - { - "name": "Nested", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - } - ] - } - ] - }, - { - "name": "NewMessage", - "fields": [ - { - "id": 1, - "name": "nested", - "type": "Nested" - }, - { - "id": 2, - "name": "num", - "type": "int64" - } - ], - "messages": [ - { - "name": "Nested", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "food_group", - "type": "string" - } - ] - } - ] - }, - { - "name": "InnerMessage", - "fields": [ - { - "id": 1, - "name": "host", - "type": "string" - }, - { - "id": 2, - "name": "port", - "type": "int32" - }, - { - "id": 3, - "name": "connected", - "type": "bool" - } - ] - }, - { - "name": "OtherMessage", - "fields": [ - { - "id": 1, - "name": "key", - "type": "int64" - }, - { - "id": 2, - "name": "value", - "type": "bytes" - }, - { - "id": 3, - "name": "weight", - "type": "float" - }, - { - "id": 4, - "name": "inner", - "type": "InnerMessage" - } - ] - }, - { - "name": "RequiredInnerMessage", - "fields": [ - { - "id": 1, - "name": "leo_finally_won_an_oscar", - "type": "InnerMessage" - } - ] - }, - { - "name": "MyMessage", - "fields": [ - { - "id": 1, - "name": "count", - "type": "int32" - }, - { - "id": 2, - "name": "name", - "type": "string" - }, - { - "id": 3, - "name": "quote", - "type": "string" - }, - { - "id": 4, - "name": "pet", - "type": "string", - "is_repeated": true - }, - { - "id": 5, - "name": "inner", - "type": "InnerMessage" - }, - { - "id": 6, - "name": "others", - "type": "OtherMessage", - "is_repeated": true - }, - { - "id": 13, - "name": "we_must_go_deeper", - "type": "RequiredInnerMessage" - }, - { - "id": 12, - "name": "rep_inner", - "type": "InnerMessage", - "is_repeated": true - }, - { - "id": 7, - "name": "bikeshed", - "type": "Color" - }, - { - "id": 10, - "name": "rep_bytes", - "type": "bytes", - "is_repeated": true - }, - { - "id": 11, - "name": "bigfloat", - "type": "double" - } - ] - }, - { - "name": "Ext", - "fields": [ - { - "id": 1, - "name": "data", - "type": "string" - } - ], - "messages": [ - { - "name": "MyMessage", - "fields": [ - { - "id": 103, - "name": "more", - "type": "Ext" - }, - { - "id": 104, - "name": "text", - "type": "string" - }, - { - "id": 105, - "name": "number", - "type": "int32" - } - ] - } - ] - }, - { - "name": "MyMessage", - "fields": [ - { - "id": 106, - "name": "greeting", - "type": "string", - "is_repeated": true - } - ] - }, - { - "name": "ComplexExtension", - "fields": [ - { - "id": 1, - "name": "first", - "type": "int32" - }, - { - "id": 2, - "name": "second", - "type": "int32" - }, - { - "id": 3, - "name": "third", - "type": "int32", - "is_repeated": true - } - ] - }, - { - "name": "OtherMessage", - "fields": [ - { - "id": 200, - "name": "complex", - "type": "ComplexExtension" - }, - { - "id": 201, - "name": "r_complex", - "type": "ComplexExtension", - "is_repeated": true - } - ] - }, - { - "name": "DefaultsMessage" - }, - { - "name": "DefaultsMessage", - "fields": [ - { - "id": 101, - "name": "no_default_double", - "type": "double" - }, - { - "id": 102, - "name": "no_default_float", - "type": "float" - }, - { - "id": 103, - "name": "no_default_int32", - "type": "int32" - }, - { - "id": 104, - "name": "no_default_int64", - "type": "int64" - }, - { - "id": 105, - "name": "no_default_uint32", - "type": "uint32" - }, - { - "id": 106, - "name": "no_default_uint64", - "type": "uint64" - }, - { - "id": 107, - "name": "no_default_sint32", - "type": "sint32" - }, - { - "id": 108, - "name": "no_default_sint64", - "type": "sint64" - }, - { - "id": 109, - "name": "no_default_fixed32", - "type": "fixed32" - }, - { - "id": 110, - "name": "no_default_fixed64", - "type": "fixed64" - }, - { - "id": 111, - "name": "no_default_sfixed32", - "type": "sfixed32" - }, - { - "id": 112, - "name": "no_default_sfixed64", - "type": "sfixed64" - }, - { - "id": 113, - "name": "no_default_bool", - "type": "bool" - }, - { - "id": 114, - "name": "no_default_string", - "type": "string" - }, - { - "id": 115, - "name": "no_default_bytes", - "type": "bytes" - }, - { - "id": 116, - "name": "no_default_enum", - "type": "DefaultsMessage.DefaultsEnum" - }, - { - "id": 201, - "name": "default_double", - "type": "double" - }, - { - "id": 202, - "name": "default_float", - "type": "float" - }, - { - "id": 203, - "name": "default_int32", - "type": "int32" - }, - { - "id": 204, - "name": "default_int64", - "type": "int64" - }, - { - "id": 205, - "name": "default_uint32", - "type": "uint32" - }, - { - "id": 206, - "name": "default_uint64", - "type": "uint64" - }, - { - "id": 207, - "name": "default_sint32", - "type": "sint32" - }, - { - "id": 208, - "name": "default_sint64", - "type": "sint64" - }, - { - "id": 209, - "name": "default_fixed32", - "type": "fixed32" - }, - { - "id": 210, - "name": "default_fixed64", - "type": "fixed64" - }, - { - "id": 211, - "name": "default_sfixed32", - "type": "sfixed32" - }, - { - "id": 212, - "name": "default_sfixed64", - "type": "sfixed64" - }, - { - "id": 213, - "name": "default_bool", - "type": "bool" - }, - { - "id": 214, - "name": "default_string", - "type": "string" - }, - { - "id": 215, - "name": "default_bytes", - "type": "bytes" - }, - { - "id": 216, - "name": "default_enum", - "type": "DefaultsMessage.DefaultsEnum" - } - ] - }, - { - "name": "MyMessageSet" - }, - { - "name": "Empty" - }, - { - "name": "MyMessageSet", - "fields": [ - { - "id": 201, - "name": "x201", - "type": "Empty" - }, - { - "id": 202, - "name": "x202", - "type": "Empty" - }, - { - "id": 203, - "name": "x203", - "type": "Empty" - }, - { - "id": 204, - "name": "x204", - "type": "Empty" - }, - { - "id": 205, - "name": "x205", - "type": "Empty" - }, - { - "id": 206, - "name": "x206", - "type": "Empty" - }, - { - "id": 207, - "name": "x207", - "type": "Empty" - }, - { - "id": 208, - "name": "x208", - "type": "Empty" - }, - { - "id": 209, - "name": "x209", - "type": "Empty" - }, - { - "id": 210, - "name": "x210", - "type": "Empty" - }, - { - "id": 211, - "name": "x211", - "type": "Empty" - }, - { - "id": 212, - "name": "x212", - "type": "Empty" - }, - { - "id": 213, - "name": "x213", - "type": "Empty" - }, - { - "id": 214, - "name": "x214", - "type": "Empty" - }, - { - "id": 215, - "name": "x215", - "type": "Empty" - }, - { - "id": 216, - "name": "x216", - "type": "Empty" - }, - { - "id": 217, - "name": "x217", - "type": "Empty" - }, - { - "id": 218, - "name": "x218", - "type": "Empty" - }, - { - "id": 219, - "name": "x219", - "type": "Empty" - }, - { - "id": 220, - "name": "x220", - "type": "Empty" - }, - { - "id": 221, - "name": "x221", - "type": "Empty" - }, - { - "id": 222, - "name": "x222", - "type": "Empty" - }, - { - "id": 223, - "name": "x223", - "type": "Empty" - }, - { - "id": 224, - "name": "x224", - "type": "Empty" - }, - { - "id": 225, - "name": "x225", - "type": "Empty" - }, - { - "id": 226, - "name": "x226", - "type": "Empty" - }, - { - "id": 227, - "name": "x227", - "type": "Empty" - }, - { - "id": 228, - "name": "x228", - "type": "Empty" - }, - { - "id": 229, - "name": "x229", - "type": "Empty" - }, - { - "id": 230, - "name": "x230", - "type": "Empty" - }, - { - "id": 231, - "name": "x231", - "type": "Empty" - }, - { - "id": 232, - "name": "x232", - "type": "Empty" - }, - { - "id": 233, - "name": "x233", - "type": "Empty" - }, - { - "id": 234, - "name": "x234", - "type": "Empty" - }, - { - "id": 235, - "name": "x235", - "type": "Empty" - }, - { - "id": 236, - "name": "x236", - "type": "Empty" - }, - { - "id": 237, - "name": "x237", - "type": "Empty" - }, - { - "id": 238, - "name": "x238", - "type": "Empty" - }, - { - "id": 239, - "name": "x239", - "type": "Empty" - }, - { - "id": 240, - "name": "x240", - "type": "Empty" - }, - { - "id": 241, - "name": "x241", - "type": "Empty" - }, - { - "id": 242, - "name": "x242", - "type": "Empty" - }, - { - "id": 243, - "name": "x243", - "type": "Empty" - }, - { - "id": 244, - "name": "x244", - "type": "Empty" - }, - { - "id": 245, - "name": "x245", - "type": "Empty" - }, - { - "id": 246, - "name": "x246", - "type": "Empty" - }, - { - "id": 247, - "name": "x247", - "type": "Empty" - }, - { - "id": 248, - "name": "x248", - "type": "Empty" - }, - { - "id": 249, - "name": "x249", - "type": "Empty" - }, - { - "id": 250, - "name": "x250", - "type": "Empty" - } - ] - }, - { - "name": "MessageList" - }, - { - "name": "Strings", - "fields": [ - { - "id": 1, - "name": "string_field", - "type": "string" - }, - { - "id": 2, - "name": "bytes_field", - "type": "bytes" - } - ] - }, - { - "name": "Defaults", - "fields": [ - { - "id": 1, - "name": "F_Bool", - "type": "bool" - }, - { - "id": 2, - "name": "F_Int32", - "type": "int32" - }, - { - "id": 3, - "name": "F_Int64", - "type": "int64" - }, - { - "id": 4, - "name": "F_Fixed32", - "type": "fixed32" - }, - { - "id": 5, - "name": "F_Fixed64", - "type": "fixed64" - }, - { - "id": 6, - "name": "F_Uint32", - "type": "uint32" - }, - { - "id": 7, - "name": "F_Uint64", - "type": "uint64" - }, - { - "id": 8, - "name": "F_Float", - "type": "float" - }, - { - "id": 9, - "name": "F_Double", - "type": "double" - }, - { - "id": 10, - "name": "F_String", - "type": "string" - }, - { - "id": 11, - "name": "F_Bytes", - "type": "bytes" - }, - { - "id": 12, - "name": "F_Sint32", - "type": "sint32" - }, - { - "id": 13, - "name": "F_Sint64", - "type": "sint64" - }, - { - "id": 14, - "name": "F_Enum", - "type": "Color" - }, - { - "id": 15, - "name": "F_Pinf", - "type": "float" - }, - { - "id": 16, - "name": "F_Ninf", - "type": "float" - }, - { - "id": 17, - "name": "F_Nan", - "type": "float" - }, - { - "id": 18, - "name": "sub", - "type": "SubDefaults" - }, - { - "id": 19, - "name": "str_zero", - "type": "string" - } - ] - }, - { - "name": "SubDefaults", - "fields": [ - { - "id": 1, - "name": "n", - "type": "int64" - } - ] - }, - { - "name": "RepeatedEnum", - "fields": [ - { - "id": 1, - "name": "color", - "type": "Color", - "is_repeated": true - } - ] - }, - { - "name": "MoreRepeated", - "fields": [ - { - "id": 1, - "name": "bools", - "type": "bool", - "is_repeated": true - }, - { - "id": 2, - "name": "bools_packed", - "type": "bool", - "is_repeated": true - }, - { - "id": 3, - "name": "ints", - "type": "int32", - "is_repeated": true - }, - { - "id": 4, - "name": "ints_packed", - "type": "int32", - "is_repeated": true - }, - { - "id": 7, - "name": "int64s_packed", - "type": "int64", - "is_repeated": true - }, - { - "id": 5, - "name": "strings", - "type": "string", - "is_repeated": true - }, - { - "id": 6, - "name": "fixeds", - "type": "fixed32", - "is_repeated": true - } - ] - }, - { - "name": "GroupOld" - }, - { - "name": "GroupNew" - }, - { - "name": "FloatingPoint", - "fields": [ - { - "id": 1, - "name": "f", - "type": "double" - }, - { - "id": 2, - "name": "exact", - "type": "bool" - } - ] - }, - { - "name": "MessageWithMap", - "maps": [ - { - "key_type": "int32", - "field": { - "id": 1, - "name": "name_mapping", - "type": "string" - } - }, - { - "key_type": "sint64", - "field": { - "id": 2, - "name": "msg_mapping", - "type": "FloatingPoint" - } - }, - { - "key_type": "bool", - "field": { - "id": 3, - "name": "byte_mapping", - "type": "bytes" - } - }, - { - "key_type": "string", - "field": { - "id": 4, - "name": "str_to_str", - "type": "string" - } - } - ] - }, - { - "name": "Oneof", - "fields": [ - { - "id": 1, - "name": "F_Bool", - "type": "bool" - }, - { - "id": 2, - "name": "F_Int32", - "type": "int32" - }, - { - "id": 3, - "name": "F_Int64", - "type": "int64" - }, - { - "id": 4, - "name": "F_Fixed32", - "type": "fixed32" - }, - { - "id": 5, - "name": "F_Fixed64", - "type": "fixed64" - }, - { - "id": 6, - "name": "F_Uint32", - "type": "uint32" - }, - { - "id": 7, - "name": "F_Uint64", - "type": "uint64" - }, - { - "id": 8, - "name": "F_Float", - "type": "float" - }, - { - "id": 9, - "name": "F_Double", - "type": "double" - }, - { - "id": 10, - "name": "F_String", - "type": "string" - }, - { - "id": 11, - "name": "F_Bytes", - "type": "bytes" - }, - { - "id": 12, - "name": "F_Sint32", - "type": "sint32" - }, - { - "id": 13, - "name": "F_Sint64", - "type": "sint64" - }, - { - "id": 14, - "name": "F_Enum", - "type": "MyMessage.Color" - }, - { - "id": 15, - "name": "F_Message", - "type": "GoTestField" - }, - { - "id": 536870911, - "name": "F_Largest_Tag", - "type": "int32" - }, - { - "id": 100, - "name": "value", - "type": "int32" - } - ] - }, - { - "name": "Communique", - "fields": [ - { - "id": 1, - "name": "make_me_cry", - "type": "bool" - }, - { - "id": 5, - "name": "number", - "type": "int32" - }, - { - "id": 6, - "name": "name", - "type": "string" - }, - { - "id": 7, - "name": "data", - "type": "bytes" - }, - { - "id": 8, - "name": "temp_c", - "type": "double" - }, - { - "id": 9, - "name": "col", - "type": "MyMessage.Color" - }, - { - "id": 10, - "name": "msg", - "type": "Strings" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:any.proto", - "def": { - "messages": [ - { - "name": "Any", - "fields": [ - { - "id": 1, - "name": "type_url", - "type": "string" - }, - { - "id": 2, - "name": "value", - "type": "bytes" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:compiler:/:plugin.proto", - "def": { - "messages": [ - { - "name": "Version", - "fields": [ - { - "id": 1, - "name": "major", - "type": "int32" - }, - { - "id": 2, - "name": "minor", - "type": "int32" - }, - { - "id": 3, - "name": "patch", - "type": "int32" - }, - { - "id": 4, - "name": "suffix", - "type": "string" - } - ] - }, - { - "name": "CodeGeneratorRequest", - "fields": [ - { - "id": 1, - "name": "file_to_generate", - "type": "string", - "is_repeated": true - }, - { - "id": 2, - "name": "parameter", - "type": "string" - }, - { - "id": 15, - "name": "proto_file", - "type": "FileDescriptorProto", - "is_repeated": true - }, - { - "id": 3, - "name": "compiler_version", - "type": "Version" - } - ] - }, - { - "name": "CodeGeneratorResponse", - "fields": [ - { - "id": 1, - "name": "error", - "type": "string" - }, - { - "id": 15, - "name": "file", - "type": "File", - "is_repeated": true - } - ], - "messages": [ - { - "name": "File", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "insertion_point", - "type": "string" - }, - { - "id": 15, - "name": "content", - "type": "string" - } - ] - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:descriptor.proto", - "def": { - "enums": [ - { - "name": "FieldDescriptorProto.Type", - "enum_fields": [ - { - "name": "TYPE_DOUBLE", - "integer": 1 - }, - { - "name": "TYPE_FLOAT", - "integer": 2 - }, - { - "name": "TYPE_INT64", - "integer": 3 - }, - { - "name": "TYPE_UINT64", - "integer": 4 - }, - { - "name": "TYPE_INT32", - "integer": 5 - }, - { - "name": "TYPE_FIXED64", - "integer": 6 - }, - { - "name": "TYPE_FIXED32", - "integer": 7 - }, - { - "name": "TYPE_BOOL", - "integer": 8 - }, - { - "name": "TYPE_STRING", - "integer": 9 - }, - { - "name": "TYPE_GROUP", - "integer": 10 - }, - { - "name": "TYPE_MESSAGE", - "integer": 11 - }, - { - "name": "TYPE_BYTES", - "integer": 12 - }, - { - "name": "TYPE_UINT32", - "integer": 13 - }, - { - "name": "TYPE_ENUM", - "integer": 14 - }, - { - "name": "TYPE_SFIXED32", - "integer": 15 - }, - { - "name": "TYPE_SFIXED64", - "integer": 16 - }, - { - "name": "TYPE_SINT32", - "integer": 17 - }, - { - "name": "TYPE_SINT64", - "integer": 18 - } - ] - }, - { - "name": "FieldDescriptorProto.Label", - "enum_fields": [ - { - "name": "LABEL_OPTIONAL", - "integer": 1 - }, - { - "name": "LABEL_REQUIRED", - "integer": 2 - }, - { - "name": "LABEL_REPEATED", - "integer": 3 - } - ] - }, - { - "name": "FileOptions.OptimizeMode", - "enum_fields": [ - { - "name": "SPEED", - "integer": 1 - }, - { - "name": "CODE_SIZE", - "integer": 2 - }, - { - "name": "LITE_RUNTIME", - "integer": 3 - } - ] - }, - { - "name": "FieldOptions.CType", - "enum_fields": [ - { - "name": "STRING", - "integer": 0 - }, - { - "name": "CORD", - "integer": 1 - }, - { - "name": "STRING_PIECE", - "integer": 2 - } - ] - }, - { - "name": "FieldOptions.JSType", - "enum_fields": [ - { - "name": "JS_NORMAL", - "integer": 0 - }, - { - "name": "JS_STRING", - "integer": 1 - }, - { - "name": "JS_NUMBER", - "integer": 2 - } - ] - }, - { - "name": "MethodOptions.IdempotencyLevel", - "enum_fields": [ - { - "name": "IDEMPOTENCY_UNKNOWN", - "integer": 0 - }, - { - "name": "NO_SIDE_EFFECTS", - "integer": 1 - }, - { - "name": "IDEMPOTENT", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "FileDescriptorSet", - "fields": [ - { - "id": 1, - "name": "file", - "type": "FileDescriptorProto", - "is_repeated": true - } - ] - }, - { - "name": "FileDescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "package", - "type": "string" - }, - { - "id": 3, - "name": "dependency", - "type": "string", - "is_repeated": true - }, - { - "id": 10, - "name": "public_dependency", - "type": "int32", - "is_repeated": true - }, - { - "id": 11, - "name": "weak_dependency", - "type": "int32", - "is_repeated": true - }, - { - "id": 4, - "name": "message_type", - "type": "DescriptorProto", - "is_repeated": true - }, - { - "id": 5, - "name": "enum_type", - "type": "EnumDescriptorProto", - "is_repeated": true - }, - { - "id": 6, - "name": "service", - "type": "ServiceDescriptorProto", - "is_repeated": true - }, - { - "id": 7, - "name": "extension", - "type": "FieldDescriptorProto", - "is_repeated": true - }, - { - "id": 8, - "name": "options", - "type": "FileOptions" - }, - { - "id": 9, - "name": "source_code_info", - "type": "SourceCodeInfo" - }, - { - "id": 12, - "name": "syntax", - "type": "string" - } - ] - }, - { - "name": "DescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "field", - "type": "FieldDescriptorProto", - "is_repeated": true - }, - { - "id": 6, - "name": "extension", - "type": "FieldDescriptorProto", - "is_repeated": true - }, - { - "id": 3, - "name": "nested_type", - "type": "DescriptorProto", - "is_repeated": true - }, - { - "id": 4, - "name": "enum_type", - "type": "EnumDescriptorProto", - "is_repeated": true - }, - { - "id": 5, - "name": "extension_range", - "type": "ExtensionRange", - "is_repeated": true - }, - { - "id": 8, - "name": "oneof_decl", - "type": "OneofDescriptorProto", - "is_repeated": true - }, - { - "id": 7, - "name": "options", - "type": "MessageOptions" - }, - { - "id": 9, - "name": "reserved_range", - "type": "ReservedRange", - "is_repeated": true - }, - { - "id": 10, - "name": "reserved_name", - "type": "string", - "is_repeated": true - } - ], - "messages": [ - { - "name": "ExtensionRange", - "fields": [ - { - "id": 1, - "name": "start", - "type": "int32" - }, - { - "id": 2, - "name": "end", - "type": "int32" - }, - { - "id": 3, - "name": "options", - "type": "ExtensionRangeOptions" - } - ] - }, - { - "name": "ReservedRange", - "fields": [ - { - "id": 1, - "name": "start", - "type": "int32" - }, - { - "id": 2, - "name": "end", - "type": "int32" - } - ] - } - ] - }, - { - "name": "ExtensionRangeOptions", - "fields": [ - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ] - }, - { - "name": "FieldDescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 3, - "name": "number", - "type": "int32" - }, - { - "id": 4, - "name": "label", - "type": "Label" - }, - { - "id": 5, - "name": "type", - "type": "Type" - }, - { - "id": 6, - "name": "type_name", - "type": "string" - }, - { - "id": 2, - "name": "extendee", - "type": "string" - }, - { - "id": 7, - "name": "default_value", - "type": "string" - }, - { - "id": 9, - "name": "oneof_index", - "type": "int32" - }, - { - "id": 10, - "name": "json_name", - "type": "string" - }, - { - "id": 8, - "name": "options", - "type": "FieldOptions" - } - ] - }, - { - "name": "OneofDescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "options", - "type": "OneofOptions" - } - ] - }, - { - "name": "EnumDescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "value", - "type": "EnumValueDescriptorProto", - "is_repeated": true - }, - { - "id": 3, - "name": "options", - "type": "EnumOptions" - } - ] - }, - { - "name": "EnumValueDescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "number", - "type": "int32" - }, - { - "id": 3, - "name": "options", - "type": "EnumValueOptions" - } - ] - }, - { - "name": "ServiceDescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "method", - "type": "MethodDescriptorProto", - "is_repeated": true - }, - { - "id": 3, - "name": "options", - "type": "ServiceOptions" - } - ] - }, - { - "name": "MethodDescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "input_type", - "type": "string" - }, - { - "id": 3, - "name": "output_type", - "type": "string" - }, - { - "id": 4, - "name": "options", - "type": "MethodOptions" - }, - { - "id": 5, - "name": "client_streaming", - "type": "bool" - }, - { - "id": 6, - "name": "server_streaming", - "type": "bool" - } - ] - }, - { - "name": "FileOptions", - "fields": [ - { - "id": 1, - "name": "java_package", - "type": "string" - }, - { - "id": 8, - "name": "java_outer_classname", - "type": "string" - }, - { - "id": 10, - "name": "java_multiple_files", - "type": "bool" - }, - { - "id": 20, - "name": "java_generate_equals_and_hash", - "type": "bool" - }, - { - "id": 27, - "name": "java_string_check_utf8", - "type": "bool" - }, - { - "id": 9, - "name": "optimize_for", - "type": "OptimizeMode" - }, - { - "id": 11, - "name": "go_package", - "type": "string" - }, - { - "id": 16, - "name": "cc_generic_services", - "type": "bool" - }, - { - "id": 17, - "name": "java_generic_services", - "type": "bool" - }, - { - "id": 18, - "name": "py_generic_services", - "type": "bool" - }, - { - "id": 19, - "name": "php_generic_services", - "type": "bool" - }, - { - "id": 23, - "name": "deprecated", - "type": "bool" - }, - { - "id": 31, - "name": "cc_enable_arenas", - "type": "bool" - }, - { - "id": 36, - "name": "objc_class_prefix", - "type": "string" - }, - { - "id": 37, - "name": "csharp_namespace", - "type": "string" - }, - { - "id": 39, - "name": "swift_prefix", - "type": "string" - }, - { - "id": 40, - "name": "php_class_prefix", - "type": "string" - }, - { - "id": 41, - "name": "php_namespace", - "type": "string" - }, - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ] - }, - { - "name": "MessageOptions", - "fields": [ - { - "id": 1, - "name": "message_set_wire_format", - "type": "bool" - }, - { - "id": 2, - "name": "no_standard_descriptor_accessor", - "type": "bool" - }, - { - "id": 3, - "name": "deprecated", - "type": "bool" - }, - { - "id": 7, - "name": "map_entry", - "type": "bool" - }, - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ] - }, - { - "name": "FieldOptions", - "fields": [ - { - "id": 1, - "name": "ctype", - "type": "CType" - }, - { - "id": 2, - "name": "packed", - "type": "bool" - }, - { - "id": 6, - "name": "jstype", - "type": "JSType" - }, - { - "id": 5, - "name": "lazy", - "type": "bool" - }, - { - "id": 3, - "name": "deprecated", - "type": "bool" - }, - { - "id": 10, - "name": "weak", - "type": "bool" - }, - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ] - }, - { - "name": "OneofOptions", - "fields": [ - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ] - }, - { - "name": "EnumOptions", - "fields": [ - { - "id": 2, - "name": "allow_alias", - "type": "bool" - }, - { - "id": 3, - "name": "deprecated", - "type": "bool" - }, - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ] - }, - { - "name": "EnumValueOptions", - "fields": [ - { - "id": 1, - "name": "deprecated", - "type": "bool" - }, - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ] - }, - { - "name": "ServiceOptions", - "fields": [ - { - "id": 33, - "name": "deprecated", - "type": "bool" - }, - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ] - }, - { - "name": "MethodOptions", - "fields": [ - { - "id": 33, - "name": "deprecated", - "type": "bool" - }, - { - "id": 34, - "name": "idempotency_level", - "type": "IdempotencyLevel" - }, - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ] - }, - { - "name": "UninterpretedOption", - "fields": [ - { - "id": 2, - "name": "name", - "type": "NamePart", - "is_repeated": true - }, - { - "id": 3, - "name": "identifier_value", - "type": "string" - }, - { - "id": 4, - "name": "positive_int_value", - "type": "uint64" - }, - { - "id": 5, - "name": "negative_int_value", - "type": "int64" - }, - { - "id": 6, - "name": "double_value", - "type": "double" - }, - { - "id": 7, - "name": "string_value", - "type": "bytes" - }, - { - "id": 8, - "name": "aggregate_value", - "type": "string" - } - ], - "messages": [ - { - "name": "NamePart", - "fields": [ - { - "id": 1, - "name": "name_part", - "type": "string" - }, - { - "id": 2, - "name": "is_extension", - "type": "bool" - } - ] - } - ] - }, - { - "name": "SourceCodeInfo", - "fields": [ - { - "id": 1, - "name": "location", - "type": "Location", - "is_repeated": true - } - ], - "messages": [ - { - "name": "Location", - "fields": [ - { - "id": 1, - "name": "path", - "type": "int32", - "is_repeated": true - }, - { - "id": 2, - "name": "span", - "type": "int32", - "is_repeated": true - }, - { - "id": 3, - "name": "leading_comments", - "type": "string" - }, - { - "id": 4, - "name": "trailing_comments", - "type": "string" - }, - { - "id": 6, - "name": "leading_detached_comments", - "type": "string", - "is_repeated": true - } - ] - } - ] - }, - { - "name": "GeneratedCodeInfo", - "fields": [ - { - "id": 1, - "name": "annotation", - "type": "Annotation", - "is_repeated": true - } - ], - "messages": [ - { - "name": "Annotation", - "fields": [ - { - "id": 1, - "name": "path", - "type": "int32", - "is_repeated": true - }, - { - "id": 2, - "name": "source_file", - "type": "string" - }, - { - "id": 3, - "name": "begin", - "type": "int32" - }, - { - "id": 4, - "name": "end", - "type": "int32" - } - ] - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:duration.proto", - "def": { - "messages": [ - { - "name": "Duration", - "fields": [ - { - "id": 1, - "name": "seconds", - "type": "int64" - }, - { - "id": 2, - "name": "nanos", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:empty.proto", - "def": { - "messages": [ - { - "name": "Empty" - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:field_mask.proto", - "def": { - "messages": [ - { - "name": "FieldMask", - "fields": [ - { - "id": 1, - "name": "paths", - "type": "string", - "is_repeated": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:struct.proto", - "def": { - "enums": [ - { - "name": "NullValue", - "enum_fields": [ - { - "name": "NULL_VALUE", - "integer": 0 - } - ] - } - ], - "messages": [ - { - "name": "Struct", - "maps": [ - { - "key_type": "string", - "field": { - "id": 1, - "name": "fields", - "type": "Value" - } - } - ] - }, - { - "name": "Value", - "fields": [ - { - "id": 1, - "name": "null_value", - "type": "NullValue" - }, - { - "id": 2, - "name": "number_value", - "type": "double" - }, - { - "id": 3, - "name": "string_value", - "type": "string" - }, - { - "id": 4, - "name": "bool_value", - "type": "bool" - }, - { - "id": 5, - "name": "struct_value", - "type": "Struct" - }, - { - "id": 6, - "name": "list_value", - "type": "ListValue" - } - ] - }, - { - "name": "ListValue", - "fields": [ - { - "id": 1, - "name": "values", - "type": "Value", - "is_repeated": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:timestamp.proto", - "def": { - "messages": [ - { - "name": "Timestamp", - "fields": [ - { - "id": 1, - "name": "seconds", - "type": "int64" - }, - { - "id": 2, - "name": "nanos", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protobuf:/:google:/:protobuf:/:wrappers.proto", - "def": { - "messages": [ - { - "name": "DoubleValue", - "fields": [ - { - "id": 1, - "name": "value", - "type": "double" - } - ] - }, - { - "name": "FloatValue", - "fields": [ - { - "id": 1, - "name": "value", - "type": "float" - } - ] - }, - { - "name": "Int64Value", - "fields": [ - { - "id": 1, - "name": "value", - "type": "int64" - } - ] - }, - { - "name": "UInt64Value", - "fields": [ - { - "id": 1, - "name": "value", - "type": "uint64" - } - ] - }, - { - "name": "Int32Value", - "fields": [ - { - "id": 1, - "name": "value", - "type": "int32" - } - ] - }, - { - "name": "UInt32Value", - "fields": [ - { - "id": 1, - "name": "value", - "type": "uint32" - } - ] - }, - { - "name": "BoolValue", - "fields": [ - { - "id": 1, - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "StringValue", - "fields": [ - { - "id": 1, - "name": "value", - "type": "string" - } - ] - }, - { - "name": "BytesValue", - "fields": [ - { - "id": 1, - "name": "value", - "type": "bytes" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:extension_base.proto", - "def": { - "messages": [ - { - "name": "BaseMessage", - "fields": [ - { - "id": 1, - "name": "height", - "type": "int32" - } - ] - }, - { - "name": "OldStyleMessage" - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:extension_extra.proto", - "def": { - "messages": [ - { - "name": "ExtraMessage", - "fields": [ - { - "id": 1, - "name": "width", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:extension_user.proto", - "def": { - "messages": [ - { - "name": "UserMessage", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "rank", - "type": "string" - } - ] - }, - { - "name": "extension_base.BaseMessage", - "fields": [ - { - "id": 5, - "name": "user_message", - "type": "UserMessage" - } - ] - }, - { - "name": "extension_base.BaseMessage", - "fields": [ - { - "id": 9, - "name": "extra_message", - "type": "extension_extra.ExtraMessage" - } - ] - }, - { - "name": "extension_base.BaseMessage", - "fields": [ - { - "id": 6, - "name": "width", - "type": "int32" - }, - { - "id": 7, - "name": "area", - "type": "int64" - } - ] - }, - { - "name": "LoudMessage", - "messages": [ - { - "name": "extension_base.BaseMessage", - "fields": [ - { - "id": 8, - "name": "volume", - "type": "uint32" - } - ] - } - ] - }, - { - "name": "LoginMessage", - "messages": [ - { - "name": "extension_base.BaseMessage", - "fields": [ - { - "id": 16, - "name": "user_message", - "type": "UserMessage" - } - ] - } - ] - }, - { - "name": "extension_base.BaseMessage", - "fields": [ - { - "id": 17, - "name": "detail", - "type": "Detail", - "is_repeated": true - } - ] - }, - { - "name": "Detail", - "fields": [ - { - "id": 1, - "name": "color", - "type": "string" - } - ] - }, - { - "name": "Announcement", - "fields": [ - { - "id": 1, - "name": "words", - "type": "string" - } - ], - "messages": [ - { - "name": "LoudMessage", - "fields": [ - { - "id": 100, - "name": "loud_ext", - "type": "Announcement" - } - ] - } - ] - }, - { - "name": "OldStyleParcel", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "height", - "type": "int32" - } - ], - "messages": [ - { - "name": "extension_base.OldStyleMessage", - "fields": [ - { - "id": 2001, - "name": "message_set_extension", - "type": "OldStyleParcel" - } - ] - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:grpc.proto", - "def": { - "messages": [ - { - "name": "SimpleRequest" - }, - { - "name": "SimpleResponse" - }, - { - "name": "StreamMsg" - }, - { - "name": "StreamMsg2" - } - ], - "services": [ - { - "name": "Test", - "rpcs": [ - { - "name": "UnaryCall", - "in_type": "SimpleRequest", - "out_type": "SimpleResponse" - }, - { - "name": "Downstream", - "in_type": "SimpleRequest", - "out_type": "StreamMsg", - "out_streamed": true - }, - { - "name": "Upstream", - "in_type": "StreamMsg", - "out_type": "SimpleResponse", - "in_streamed": true - }, - { - "name": "Bidi", - "in_type": "StreamMsg", - "out_type": "StreamMsg2", - "in_streamed": true, - "out_streamed": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:imp.proto", - "def": { - "enums": [ - { - "name": "ImportedMessage.Owner", - "enum_fields": [ - { - "name": "DAVE", - "integer": 1 - }, - { - "name": "MIKE", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "ImportedMessage", - "fields": [ - { - "id": 1, - "name": "field", - "type": "int64" - }, - { - "id": 2, - "name": "local_msg", - "type": "ImportedMessage2" - }, - { - "id": 3, - "name": "foreign_msg", - "type": "ForeignImportedMessage" - }, - { - "id": 4, - "name": "enum_field", - "type": "Owner" - }, - { - "id": 9, - "name": "state", - "type": "int32" - }, - { - "id": 5, - "name": "name", - "type": "string", - "is_repeated": true - }, - { - "id": 6, - "name": "boss", - "type": "Owner", - "is_repeated": true - }, - { - "id": 7, - "name": "memo", - "type": "ImportedMessage2", - "is_repeated": true - } - ], - "maps": [ - { - "key_type": "string", - "field": { - "id": 8, - "name": "msg_map", - "type": "ImportedMessage2" - } - } - ] - }, - { - "name": "ImportedMessage2" - }, - { - "name": "ImportedExtendable" - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:imp2.proto", - "def": { - "enums": [ - { - "name": "PubliclyImportedEnum", - "enum_fields": [ - { - "name": "GLASSES", - "integer": 1 - }, - { - "name": "HAIR", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "PubliclyImportedMessage", - "fields": [ - { - "id": 1, - "name": "field", - "type": "int64" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:imp3.proto", - "def": { - "messages": [ - { - "name": "ForeignImportedMessage", - "fields": [ - { - "id": 1, - "name": "tuber", - "type": "string" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:multi:/:multi1.proto", - "def": { - "messages": [ - { - "name": "Multi1", - "fields": [ - { - "id": 1, - "name": "multi2", - "type": "Multi2" - }, - { - "id": 2, - "name": "color", - "type": "Multi2.Color" - }, - { - "id": 3, - "name": "hat_type", - "type": "Multi3.HatType" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:multi:/:multi2.proto", - "def": { - "enums": [ - { - "name": "Multi2.Color", - "enum_fields": [ - { - "name": "BLUE", - "integer": 1 - }, - { - "name": "GREEN", - "integer": 2 - }, - { - "name": "RED", - "integer": 3 - } - ] - } - ], - "messages": [ - { - "name": "Multi2", - "fields": [ - { - "id": 1, - "name": "required_value", - "type": "int32" - }, - { - "id": 2, - "name": "color", - "type": "Color" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:multi:/:multi3.proto", - "def": { - "enums": [ - { - "name": "Multi3.HatType", - "enum_fields": [ - { - "name": "FEDORA", - "integer": 1 - }, - { - "name": "FEZ", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "Multi3", - "fields": [ - { - "id": 1, - "name": "hat_type", - "type": "HatType" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:my_test:/:test.proto", - "def": { - "enums": [ - { - "name": "HatType", - "enum_fields": [ - { - "name": "FEDORA", - "integer": 1 - }, - { - "name": "FEZ", - "integer": 2 - } - ] - }, - { - "name": "Days", - "enum_fields": [ - { - "name": "MONDAY", - "integer": 1 - }, - { - "name": "TUESDAY", - "integer": 2 - }, - { - "name": "LUNDI", - "integer": 1 - } - ] - }, - { - "name": "Request.Color", - "enum_fields": [ - { - "name": "RED", - "integer": 0 - }, - { - "name": "GREEN", - "integer": 1 - }, - { - "name": "BLUE", - "integer": 2 - } - ] - }, - { - "name": "Entry.Game", - "enum_fields": [ - { - "name": "FOOTBALL", - "integer": 1 - }, - { - "name": "TENNIS", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "Request", - "fields": [ - { - "id": 1, - "name": "key", - "type": "int64", - "is_repeated": true - }, - { - "id": 3, - "name": "hue", - "type": "Color" - }, - { - "id": 4, - "name": "hat", - "type": "HatType" - }, - { - "id": 7, - "name": "deadline", - "type": "float" - }, - { - "id": 12, - "name": "reset", - "type": "int32" - }, - { - "id": 16, - "name": "get_key", - "type": "string" - } - ], - "maps": [ - { - "key_type": "int32", - "field": { - "id": 14, - "name": "name_mapping", - "type": "string" - } - }, - { - "key_type": "sint64", - "field": { - "id": 15, - "name": "msg_mapping", - "type": "Reply" - } - } - ] - }, - { - "name": "Reply", - "fields": [ - { - "id": 1, - "name": "found", - "type": "Entry", - "is_repeated": true - }, - { - "id": 2, - "name": "compact_keys", - "type": "int32", - "is_repeated": true - } - ], - "messages": [ - { - "name": "Entry", - "fields": [ - { - "id": 1, - "name": "key_that_needs_1234camel_CasIng", - "type": "int64" - }, - { - "id": 2, - "name": "value", - "type": "int64" - }, - { - "id": 3, - "name": "_my_field_name_2", - "type": "int64" - } - ] - } - ] - }, - { - "name": "OtherBase", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - } - ] - }, - { - "name": "ReplyExtensions", - "messages": [ - { - "name": "Reply", - "fields": [ - { - "id": 101, - "name": "time", - "type": "double" - }, - { - "id": 105, - "name": "carrot", - "type": "ReplyExtensions" - } - ] - }, - { - "name": "OtherBase", - "fields": [ - { - "id": 101, - "name": "donut", - "type": "ReplyExtensions" - } - ] - } - ] - }, - { - "name": "OtherReplyExtensions", - "fields": [ - { - "id": 1, - "name": "key", - "type": "int32" - } - ] - }, - { - "name": "Reply", - "fields": [ - { - "id": 103, - "name": "tag", - "type": "string" - }, - { - "id": 106, - "name": "donut", - "type": "OtherReplyExtensions" - } - ] - }, - { - "name": "OldReply" - }, - { - "name": "Communique", - "fields": [ - { - "id": 1, - "name": "make_me_cry", - "type": "bool" - }, - { - "id": 5, - "name": "number", - "type": "int32" - }, - { - "id": 6, - "name": "name", - "type": "string" - }, - { - "id": 7, - "name": "data", - "type": "bytes" - }, - { - "id": 8, - "name": "temp_c", - "type": "double" - }, - { - "id": 9, - "name": "height", - "type": "float" - }, - { - "id": 10, - "name": "today", - "type": "Days" - }, - { - "id": 11, - "name": "maybe", - "type": "bool" - }, - { - "id": 12, - "name": "delta", - "type": "sint32" - }, - { - "id": 13, - "name": "msg", - "type": "Reply" - } - ], - "messages": [ - { - "name": "Delta" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:protoc-gen-gogo:/:testdata:/:proto3.proto", - "def": { - "enums": [ - { - "name": "Request.Flavour", - "enum_fields": [ - { - "name": "SWEET", - "integer": 0 - }, - { - "name": "SOUR", - "integer": 1 - }, - { - "name": "UMAMI", - "integer": 2 - }, - { - "name": "GOPHERLICIOUS", - "integer": 3 - } - ] - } - ], - "messages": [ - { - "name": "Request", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "key", - "type": "int64", - "is_repeated": true - }, - { - "id": 3, - "name": "taste", - "type": "Flavour" - }, - { - "id": 4, - "name": "book", - "type": "Book" - }, - { - "id": 5, - "name": "unpacked", - "type": "int64", - "is_repeated": true - } - ] - }, - { - "name": "Book", - "fields": [ - { - "id": 1, - "name": "title", - "type": "string" - }, - { - "id": 2, - "name": "raw_data", - "type": "bytes" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:vanity:/:test:/:gogovanity.proto", - "def": { - "messages": [ - { - "name": "B", - "fields": [ - { - "id": 1, - "name": "String", - "type": "string" - }, - { - "id": 2, - "name": "Int64", - "type": "int64" - }, - { - "id": 3, - "name": "Int32", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:vanity:/:test:/:proto3.proto", - "def": { - "messages": [ - { - "name": "Aproto3", - "fields": [ - { - "id": 1, - "name": "B", - "type": "string" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:gogo:/:protobuf:/:vanity:/:test:/:vanity.proto", - "def": { - "messages": [ - { - "name": "A", - "fields": [ - { - "id": 1, - "name": "Strings", - "type": "string" - }, - { - "id": 2, - "name": "Int", - "type": "int64" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:_conformance:/:conformance_proto:/:conformance.proto", - "def": { - "enums": [ - { - "name": "WireFormat", - "enum_fields": [ - { - "name": "UNSPECIFIED", - "integer": 0 - }, - { - "name": "PROTOBUF", - "integer": 1 - }, - { - "name": "JSON", - "integer": 2 - } - ] - }, - { - "name": "TestAllTypes.NestedEnum", - "enum_fields": [ - { - "name": "FOO", - "integer": 0 - }, - { - "name": "BAR", - "integer": 1 - }, - { - "name": "BAZ", - "integer": 2 - }, - { - "name": "NEG", - "integer": -1 - } - ] - }, - { - "name": "ForeignEnum", - "enum_fields": [ - { - "name": "FOREIGN_FOO", - "integer": 0 - }, - { - "name": "FOREIGN_BAR", - "integer": 1 - }, - { - "name": "FOREIGN_BAZ", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "ConformanceRequest", - "fields": [ - { - "id": 1, - "name": "protobuf_payload", - "type": "bytes" - }, - { - "id": 2, - "name": "json_payload", - "type": "string" - }, - { - "id": 3, - "name": "requested_output_format", - "type": "WireFormat" - } - ] - }, - { - "name": "ConformanceResponse", - "fields": [ - { - "id": 1, - "name": "parse_error", - "type": "string" - }, - { - "id": 6, - "name": "serialize_error", - "type": "string" - }, - { - "id": 2, - "name": "runtime_error", - "type": "string" - }, - { - "id": 3, - "name": "protobuf_payload", - "type": "bytes" - }, - { - "id": 4, - "name": "json_payload", - "type": "string" - }, - { - "id": 5, - "name": "skipped", - "type": "string" - } - ] - }, - { - "name": "TestAllTypes", - "fields": [ - { - "id": 1, - "name": "optional_int32", - "type": "int32" - }, - { - "id": 2, - "name": "optional_int64", - "type": "int64" - }, - { - "id": 3, - "name": "optional_uint32", - "type": "uint32" - }, - { - "id": 4, - "name": "optional_uint64", - "type": "uint64" - }, - { - "id": 5, - "name": "optional_sint32", - "type": "sint32" - }, - { - "id": 6, - "name": "optional_sint64", - "type": "sint64" - }, - { - "id": 7, - "name": "optional_fixed32", - "type": "fixed32" - }, - { - "id": 8, - "name": "optional_fixed64", - "type": "fixed64" - }, - { - "id": 9, - "name": "optional_sfixed32", - "type": "sfixed32" - }, - { - "id": 10, - "name": "optional_sfixed64", - "type": "sfixed64" - }, - { - "id": 11, - "name": "optional_float", - "type": "float" - }, - { - "id": 12, - "name": "optional_double", - "type": "double" - }, - { - "id": 13, - "name": "optional_bool", - "type": "bool" - }, - { - "id": 14, - "name": "optional_string", - "type": "string" - }, - { - "id": 15, - "name": "optional_bytes", - "type": "bytes" - }, - { - "id": 18, - "name": "optional_nested_message", - "type": "NestedMessage" - }, - { - "id": 19, - "name": "optional_foreign_message", - "type": "ForeignMessage" - }, - { - "id": 21, - "name": "optional_nested_enum", - "type": "NestedEnum" - }, - { - "id": 22, - "name": "optional_foreign_enum", - "type": "ForeignEnum" - }, - { - "id": 24, - "name": "optional_string_piece", - "type": "string" - }, - { - "id": 25, - "name": "optional_cord", - "type": "string" - }, - { - "id": 27, - "name": "recursive_message", - "type": "TestAllTypes" - }, - { - "id": 31, - "name": "repeated_int32", - "type": "int32", - "is_repeated": true - }, - { - "id": 32, - "name": "repeated_int64", - "type": "int64", - "is_repeated": true - }, - { - "id": 33, - "name": "repeated_uint32", - "type": "uint32", - "is_repeated": true - }, - { - "id": 34, - "name": "repeated_uint64", - "type": "uint64", - "is_repeated": true - }, - { - "id": 35, - "name": "repeated_sint32", - "type": "sint32", - "is_repeated": true - }, - { - "id": 36, - "name": "repeated_sint64", - "type": "sint64", - "is_repeated": true - }, - { - "id": 37, - "name": "repeated_fixed32", - "type": "fixed32", - "is_repeated": true - }, - { - "id": 38, - "name": "repeated_fixed64", - "type": "fixed64", - "is_repeated": true - }, - { - "id": 39, - "name": "repeated_sfixed32", - "type": "sfixed32", - "is_repeated": true - }, - { - "id": 40, - "name": "repeated_sfixed64", - "type": "sfixed64", - "is_repeated": true - }, - { - "id": 41, - "name": "repeated_float", - "type": "float", - "is_repeated": true - }, - { - "id": 42, - "name": "repeated_double", - "type": "double", - "is_repeated": true - }, - { - "id": 43, - "name": "repeated_bool", - "type": "bool", - "is_repeated": true - }, - { - "id": 44, - "name": "repeated_string", - "type": "string", - "is_repeated": true - }, - { - "id": 45, - "name": "repeated_bytes", - "type": "bytes", - "is_repeated": true - }, - { - "id": 48, - "name": "repeated_nested_message", - "type": "NestedMessage", - "is_repeated": true - }, - { - "id": 49, - "name": "repeated_foreign_message", - "type": "ForeignMessage", - "is_repeated": true - }, - { - "id": 51, - "name": "repeated_nested_enum", - "type": "NestedEnum", - "is_repeated": true - }, - { - "id": 52, - "name": "repeated_foreign_enum", - "type": "ForeignEnum", - "is_repeated": true - }, - { - "id": 54, - "name": "repeated_string_piece", - "type": "string", - "is_repeated": true - }, - { - "id": 55, - "name": "repeated_cord", - "type": "string", - "is_repeated": true - }, - { - "id": 111, - "name": "oneof_uint32", - "type": "uint32" - }, - { - "id": 112, - "name": "oneof_nested_message", - "type": "NestedMessage" - }, - { - "id": 113, - "name": "oneof_string", - "type": "string" - }, - { - "id": 114, - "name": "oneof_bytes", - "type": "bytes" - }, - { - "id": 115, - "name": "oneof_bool", - "type": "bool" - }, - { - "id": 116, - "name": "oneof_uint64", - "type": "uint64" - }, - { - "id": 117, - "name": "oneof_float", - "type": "float" - }, - { - "id": 118, - "name": "oneof_double", - "type": "double" - }, - { - "id": 119, - "name": "oneof_enum", - "type": "NestedEnum" - }, - { - "id": 201, - "name": "optional_bool_wrapper", - "type": "google.protobuf.BoolValue" - }, - { - "id": 202, - "name": "optional_int32_wrapper", - "type": "google.protobuf.Int32Value" - }, - { - "id": 203, - "name": "optional_int64_wrapper", - "type": "google.protobuf.Int64Value" - }, - { - "id": 204, - "name": "optional_uint32_wrapper", - "type": "google.protobuf.UInt32Value" - }, - { - "id": 205, - "name": "optional_uint64_wrapper", - "type": "google.protobuf.UInt64Value" - }, - { - "id": 206, - "name": "optional_float_wrapper", - "type": "google.protobuf.FloatValue" - }, - { - "id": 207, - "name": "optional_double_wrapper", - "type": "google.protobuf.DoubleValue" - }, - { - "id": 208, - "name": "optional_string_wrapper", - "type": "google.protobuf.StringValue" - }, - { - "id": 209, - "name": "optional_bytes_wrapper", - "type": "google.protobuf.BytesValue" - }, - { - "id": 211, - "name": "repeated_bool_wrapper", - "type": "google.protobuf.BoolValue", - "is_repeated": true - }, - { - "id": 212, - "name": "repeated_int32_wrapper", - "type": "google.protobuf.Int32Value", - "is_repeated": true - }, - { - "id": 213, - "name": "repeated_int64_wrapper", - "type": "google.protobuf.Int64Value", - "is_repeated": true - }, - { - "id": 214, - "name": "repeated_uint32_wrapper", - "type": "google.protobuf.UInt32Value", - "is_repeated": true - }, - { - "id": 215, - "name": "repeated_uint64_wrapper", - "type": "google.protobuf.UInt64Value", - "is_repeated": true - }, - { - "id": 216, - "name": "repeated_float_wrapper", - "type": "google.protobuf.FloatValue", - "is_repeated": true - }, - { - "id": 217, - "name": "repeated_double_wrapper", - "type": "google.protobuf.DoubleValue", - "is_repeated": true - }, - { - "id": 218, - "name": "repeated_string_wrapper", - "type": "google.protobuf.StringValue", - "is_repeated": true - }, - { - "id": 219, - "name": "repeated_bytes_wrapper", - "type": "google.protobuf.BytesValue", - "is_repeated": true - }, - { - "id": 301, - "name": "optional_duration", - "type": "google.protobuf.Duration" - }, - { - "id": 302, - "name": "optional_timestamp", - "type": "google.protobuf.Timestamp" - }, - { - "id": 303, - "name": "optional_field_mask", - "type": "google.protobuf.FieldMask" - }, - { - "id": 304, - "name": "optional_struct", - "type": "google.protobuf.Struct" - }, - { - "id": 305, - "name": "optional_any", - "type": "google.protobuf.Any" - }, - { - "id": 306, - "name": "optional_value", - "type": "google.protobuf.Value" - }, - { - "id": 311, - "name": "repeated_duration", - "type": "google.protobuf.Duration", - "is_repeated": true - }, - { - "id": 312, - "name": "repeated_timestamp", - "type": "google.protobuf.Timestamp", - "is_repeated": true - }, - { - "id": 313, - "name": "repeated_fieldmask", - "type": "google.protobuf.FieldMask", - "is_repeated": true - }, - { - "id": 324, - "name": "repeated_struct", - "type": "google.protobuf.Struct", - "is_repeated": true - }, - { - "id": 315, - "name": "repeated_any", - "type": "google.protobuf.Any", - "is_repeated": true - }, - { - "id": 316, - "name": "repeated_value", - "type": "google.protobuf.Value", - "is_repeated": true - }, - { - "id": 401, - "name": "fieldname1", - "type": "int32" - }, - { - "id": 402, - "name": "field_name2", - "type": "int32" - }, - { - "id": 403, - "name": "_field_name3", - "type": "int32" - }, - { - "id": 404, - "name": "field__name4_", - "type": "int32" - }, - { - "id": 405, - "name": "field0name5", - "type": "int32" - }, - { - "id": 406, - "name": "field_0_name6", - "type": "int32" - }, - { - "id": 407, - "name": "fieldName7", - "type": "int32" - }, - { - "id": 408, - "name": "FieldName8", - "type": "int32" - }, - { - "id": 409, - "name": "field_Name9", - "type": "int32" - }, - { - "id": 410, - "name": "Field_Name10", - "type": "int32" - }, - { - "id": 411, - "name": "FIELD_NAME11", - "type": "int32" - }, - { - "id": 412, - "name": "FIELD_name12", - "type": "int32" - }, - { - "id": 413, - "name": "__field_name13", - "type": "int32" - }, - { - "id": 414, - "name": "__Field_name14", - "type": "int32" - }, - { - "id": 415, - "name": "field__name15", - "type": "int32" - }, - { - "id": 416, - "name": "field__Name16", - "type": "int32" - }, - { - "id": 417, - "name": "field_name17__", - "type": "int32" - }, - { - "id": 418, - "name": "Field_name18__", - "type": "int32" - } - ], - "maps": [ - { - "key_type": "int32", - "field": { - "id": 56, - "name": "map_int32_int32", - "type": "int32" - } - }, - { - "key_type": "int64", - "field": { - "id": 57, - "name": "map_int64_int64", - "type": "int64" - } - }, - { - "key_type": "uint32", - "field": { - "id": 58, - "name": "map_uint32_uint32", - "type": "uint32" - } - }, - { - "key_type": "uint64", - "field": { - "id": 59, - "name": "map_uint64_uint64", - "type": "uint64" - } - }, - { - "key_type": "sint32", - "field": { - "id": 60, - "name": "map_sint32_sint32", - "type": "sint32" - } - }, - { - "key_type": "sint64", - "field": { - "id": 61, - "name": "map_sint64_sint64", - "type": "sint64" - } - }, - { - "key_type": "fixed32", - "field": { - "id": 62, - "name": "map_fixed32_fixed32", - "type": "fixed32" - } - }, - { - "key_type": "fixed64", - "field": { - "id": 63, - "name": "map_fixed64_fixed64", - "type": "fixed64" - } - }, - { - "key_type": "sfixed32", - "field": { - "id": 64, - "name": "map_sfixed32_sfixed32", - "type": "sfixed32" - } - }, - { - "key_type": "sfixed64", - "field": { - "id": 65, - "name": "map_sfixed64_sfixed64", - "type": "sfixed64" - } - }, - { - "key_type": "int32", - "field": { - "id": 66, - "name": "map_int32_float", - "type": "float" - } - }, - { - "key_type": "int32", - "field": { - "id": 67, - "name": "map_int32_double", - "type": "double" - } - }, - { - "key_type": "bool", - "field": { - "id": 68, - "name": "map_bool_bool", - "type": "bool" - } - }, - { - "key_type": "string", - "field": { - "id": 69, - "name": "map_string_string", - "type": "string" - } - }, - { - "key_type": "string", - "field": { - "id": 70, - "name": "map_string_bytes", - "type": "bytes" - } - }, - { - "key_type": "string", - "field": { - "id": 71, - "name": "map_string_nested_message", - "type": "NestedMessage" - } - }, - { - "key_type": "string", - "field": { - "id": 72, - "name": "map_string_foreign_message", - "type": "ForeignMessage" - } - }, - { - "key_type": "string", - "field": { - "id": 73, - "name": "map_string_nested_enum", - "type": "NestedEnum" - } - }, - { - "key_type": "string", - "field": { - "id": 74, - "name": "map_string_foreign_enum", - "type": "ForeignEnum" - } - } - ], - "messages": [ - { - "name": "NestedMessage", - "fields": [ - { - "id": 1, - "name": "a", - "type": "int32" - }, - { - "id": 2, - "name": "corecursive", - "type": "TestAllTypes" - } - ] - } - ] - }, - { - "name": "ForeignMessage", - "fields": [ - { - "id": 1, - "name": "c", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:jsonpb:/:jsonpb_test_proto:/:more_test_objects.proto", - "def": { - "enums": [ - { - "name": "Numeral", - "enum_fields": [ - { - "name": "UNKNOWN", - "integer": 0 - }, - { - "name": "ARABIC", - "integer": 1 - }, - { - "name": "ROMAN", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "Simple3", - "fields": [ - { - "id": 1, - "name": "dub", - "type": "double" - } - ] - }, - { - "name": "SimpleSlice3", - "fields": [ - { - "id": 1, - "name": "slices", - "type": "string", - "is_repeated": true - } - ] - }, - { - "name": "SimpleMap3", - "maps": [ - { - "key_type": "string", - "field": { - "id": 1, - "name": "stringy", - "type": "string" - } - } - ] - }, - { - "name": "SimpleNull3", - "fields": [ - { - "id": 1, - "name": "simple", - "type": "Simple3" - } - ] - }, - { - "name": "Mappy", - "maps": [ - { - "key_type": "int64", - "field": { - "id": 1, - "name": "nummy", - "type": "int32" - } - }, - { - "key_type": "string", - "field": { - "id": 2, - "name": "strry", - "type": "string" - } - }, - { - "key_type": "int32", - "field": { - "id": 3, - "name": "objjy", - "type": "Simple3" - } - }, - { - "key_type": "int64", - "field": { - "id": 4, - "name": "buggy", - "type": "string" - } - }, - { - "key_type": "bool", - "field": { - "id": 5, - "name": "booly", - "type": "bool" - } - }, - { - "key_type": "string", - "field": { - "id": 6, - "name": "enumy", - "type": "Numeral" - } - }, - { - "key_type": "int32", - "field": { - "id": 7, - "name": "s32booly", - "type": "bool" - } - }, - { - "key_type": "int64", - "field": { - "id": 8, - "name": "s64booly", - "type": "bool" - } - }, - { - "key_type": "uint32", - "field": { - "id": 9, - "name": "u32booly", - "type": "bool" - } - }, - { - "key_type": "uint64", - "field": { - "id": 10, - "name": "u64booly", - "type": "bool" - } - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:jsonpb:/:jsonpb_test_proto:/:test_objects.proto", - "def": { - "enums": [ - { - "name": "Widget.Color", - "enum_fields": [ - { - "name": "RED", - "integer": 0 - }, - { - "name": "GREEN", - "integer": 1 - }, - { - "name": "BLUE", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "Simple", - "fields": [ - { - "id": 1, - "name": "o_bool", - "type": "bool" - }, - { - "id": 2, - "name": "o_int32", - "type": "int32" - }, - { - "id": 3, - "name": "o_int64", - "type": "int64" - }, - { - "id": 4, - "name": "o_uint32", - "type": "uint32" - }, - { - "id": 5, - "name": "o_uint64", - "type": "uint64" - }, - { - "id": 6, - "name": "o_sint32", - "type": "sint32" - }, - { - "id": 7, - "name": "o_sint64", - "type": "sint64" - }, - { - "id": 8, - "name": "o_float", - "type": "float" - }, - { - "id": 9, - "name": "o_double", - "type": "double" - }, - { - "id": 10, - "name": "o_string", - "type": "string" - }, - { - "id": 11, - "name": "o_bytes", - "type": "bytes" - } - ] - }, - { - "name": "NonFinites", - "fields": [ - { - "id": 1, - "name": "f_nan", - "type": "float" - }, - { - "id": 2, - "name": "f_pinf", - "type": "float" - }, - { - "id": 3, - "name": "f_ninf", - "type": "float" - }, - { - "id": 4, - "name": "d_nan", - "type": "double" - }, - { - "id": 5, - "name": "d_pinf", - "type": "double" - }, - { - "id": 6, - "name": "d_ninf", - "type": "double" - } - ] - }, - { - "name": "Repeats", - "fields": [ - { - "id": 1, - "name": "r_bool", - "type": "bool", - "is_repeated": true - }, - { - "id": 2, - "name": "r_int32", - "type": "int32", - "is_repeated": true - }, - { - "id": 3, - "name": "r_int64", - "type": "int64", - "is_repeated": true - }, - { - "id": 4, - "name": "r_uint32", - "type": "uint32", - "is_repeated": true - }, - { - "id": 5, - "name": "r_uint64", - "type": "uint64", - "is_repeated": true - }, - { - "id": 6, - "name": "r_sint32", - "type": "sint32", - "is_repeated": true - }, - { - "id": 7, - "name": "r_sint64", - "type": "sint64", - "is_repeated": true - }, - { - "id": 8, - "name": "r_float", - "type": "float", - "is_repeated": true - }, - { - "id": 9, - "name": "r_double", - "type": "double", - "is_repeated": true - }, - { - "id": 10, - "name": "r_string", - "type": "string", - "is_repeated": true - }, - { - "id": 11, - "name": "r_bytes", - "type": "bytes", - "is_repeated": true - } - ] - }, - { - "name": "Widget", - "fields": [ - { - "id": 1, - "name": "color", - "type": "Color" - }, - { - "id": 2, - "name": "r_color", - "type": "Color", - "is_repeated": true - }, - { - "id": 10, - "name": "simple", - "type": "Simple" - }, - { - "id": 11, - "name": "r_simple", - "type": "Simple", - "is_repeated": true - }, - { - "id": 20, - "name": "repeats", - "type": "Repeats" - }, - { - "id": 21, - "name": "r_repeats", - "type": "Repeats", - "is_repeated": true - } - ] - }, - { - "name": "Maps", - "maps": [ - { - "key_type": "int64", - "field": { - "id": 1, - "name": "m_int64_str", - "type": "string" - } - }, - { - "key_type": "bool", - "field": { - "id": 2, - "name": "m_bool_simple", - "type": "Simple" - } - } - ] - }, - { - "name": "MsgWithOneof", - "fields": [ - { - "id": 1, - "name": "title", - "type": "string" - }, - { - "id": 2, - "name": "salary", - "type": "int64" - }, - { - "id": 3, - "name": "Country", - "type": "string" - }, - { - "id": 4, - "name": "home_address", - "type": "string" - } - ] - }, - { - "name": "Real", - "fields": [ - { - "id": 1, - "name": "value", - "type": "double" - } - ] - }, - { - "name": "Real", - "fields": [ - { - "id": 124, - "name": "name", - "type": "string" - } - ] - }, - { - "name": "Complex", - "fields": [ - { - "id": 1, - "name": "imaginary", - "type": "double" - } - ], - "messages": [ - { - "name": "Real", - "fields": [ - { - "id": 123, - "name": "real_extension", - "type": "Complex" - } - ] - } - ] - }, - { - "name": "KnownTypes", - "fields": [ - { - "id": 14, - "name": "an", - "type": "google.protobuf.Any" - }, - { - "id": 1, - "name": "dur", - "type": "google.protobuf.Duration" - }, - { - "id": 12, - "name": "st", - "type": "google.protobuf.Struct" - }, - { - "id": 2, - "name": "ts", - "type": "google.protobuf.Timestamp" - }, - { - "id": 15, - "name": "lv", - "type": "google.protobuf.ListValue" - }, - { - "id": 16, - "name": "val", - "type": "google.protobuf.Value" - }, - { - "id": 3, - "name": "dbl", - "type": "google.protobuf.DoubleValue" - }, - { - "id": 4, - "name": "flt", - "type": "google.protobuf.FloatValue" - }, - { - "id": 5, - "name": "i64", - "type": "google.protobuf.Int64Value" - }, - { - "id": 6, - "name": "u64", - "type": "google.protobuf.UInt64Value" - }, - { - "id": 7, - "name": "i32", - "type": "google.protobuf.Int32Value" - }, - { - "id": 8, - "name": "u32", - "type": "google.protobuf.UInt32Value" - }, - { - "id": 9, - "name": "bool", - "type": "google.protobuf.BoolValue" - }, - { - "id": 10, - "name": "str", - "type": "google.protobuf.StringValue" - }, - { - "id": 11, - "name": "bytes", - "type": "google.protobuf.BytesValue" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:proto:/:proto3_proto:/:proto3.proto", - "def": { - "enums": [ - { - "name": "Message.Humour", - "enum_fields": [ - { - "name": "UNKNOWN", - "integer": 0 - }, - { - "name": "PUNS", - "integer": 1 - }, - { - "name": "SLAPSTICK", - "integer": 2 - }, - { - "name": "BILL_BAILEY", - "integer": 3 - } - ] - } - ], - "messages": [ - { - "name": "Message", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "hilarity", - "type": "Humour" - }, - { - "id": 3, - "name": "height_in_cm", - "type": "uint32" - }, - { - "id": 4, - "name": "data", - "type": "bytes" - }, - { - "id": 7, - "name": "result_count", - "type": "int64" - }, - { - "id": 8, - "name": "true_scotsman", - "type": "bool" - }, - { - "id": 9, - "name": "score", - "type": "float" - }, - { - "id": 5, - "name": "key", - "type": "uint64", - "is_repeated": true - }, - { - "id": 19, - "name": "short_key", - "type": "int32", - "is_repeated": true - }, - { - "id": 6, - "name": "nested", - "type": "Nested" - }, - { - "id": 16, - "name": "r_funny", - "type": "Humour", - "is_repeated": true - }, - { - "id": 11, - "name": "proto2_field", - "type": "testdata.SubDefaults" - }, - { - "id": 14, - "name": "anything", - "type": "google.protobuf.Any" - }, - { - "id": 15, - "name": "many_things", - "type": "google.protobuf.Any", - "is_repeated": true - }, - { - "id": 17, - "name": "submessage", - "type": "Message" - }, - { - "id": 18, - "name": "children", - "type": "Message", - "is_repeated": true - } - ], - "maps": [ - { - "key_type": "string", - "field": { - "id": 10, - "name": "terrain", - "type": "Nested" - } - }, - { - "key_type": "string", - "field": { - "id": 13, - "name": "proto2_value", - "type": "testdata.SubDefaults" - } - } - ] - }, - { - "name": "Nested", - "fields": [ - { - "id": 1, - "name": "bunny", - "type": "string" - }, - { - "id": 2, - "name": "cute", - "type": "bool" - } - ] - }, - { - "name": "MessageWithMap", - "maps": [ - { - "key_type": "bool", - "field": { - "id": 1, - "name": "byte_mapping", - "type": "bytes" - } - } - ] - }, - { - "name": "IntMap", - "maps": [ - { - "key_type": "int32", - "field": { - "id": 1, - "name": "rtt", - "type": "int32" - } - } - ] - }, - { - "name": "IntMaps", - "fields": [ - { - "id": 1, - "name": "maps", - "type": "IntMap", - "is_repeated": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:proto:/:testdata:/:test.proto", - "def": { - "enums": [ - { - "name": "FOO", - "enum_fields": [ - { - "name": "FOO1", - "integer": 1 - } - ] - }, - { - "name": "GoTest.KIND", - "enum_fields": [ - { - "name": "VOID", - "integer": 0 - }, - { - "name": "BOOL", - "integer": 1 - }, - { - "name": "BYTES", - "integer": 2 - }, - { - "name": "FINGERPRINT", - "integer": 3 - }, - { - "name": "FLOAT", - "integer": 4 - }, - { - "name": "INT", - "integer": 5 - }, - { - "name": "STRING", - "integer": 6 - }, - { - "name": "TIME", - "integer": 7 - }, - { - "name": "TUPLE", - "integer": 8 - }, - { - "name": "ARRAY", - "integer": 9 - }, - { - "name": "MAP", - "integer": 10 - }, - { - "name": "TABLE", - "integer": 11 - }, - { - "name": "FUNCTION", - "integer": 12 - } - ] - }, - { - "name": "MyMessage.Color", - "enum_fields": [ - { - "name": "RED", - "integer": 0 - }, - { - "name": "GREEN", - "integer": 1 - }, - { - "name": "BLUE", - "integer": 2 - } - ] - }, - { - "name": "DefaultsMessage.DefaultsEnum", - "enum_fields": [ - { - "name": "ZERO", - "integer": 0 - }, - { - "name": "ONE", - "integer": 1 - }, - { - "name": "TWO", - "integer": 2 - } - ] - }, - { - "name": "Defaults.Color", - "enum_fields": [ - { - "name": "RED", - "integer": 0 - }, - { - "name": "GREEN", - "integer": 1 - }, - { - "name": "BLUE", - "integer": 2 - } - ] - }, - { - "name": "RepeatedEnum.Color", - "enum_fields": [ - { - "name": "RED", - "integer": 1 - } - ] - } - ], - "messages": [ - { - "name": "GoEnum", - "fields": [ - { - "id": 1, - "name": "foo", - "type": "FOO" - } - ] - }, - { - "name": "GoTestField", - "fields": [ - { - "id": 1, - "name": "Label", - "type": "string" - }, - { - "id": 2, - "name": "Type", - "type": "string" - } - ] - }, - { - "name": "GoTest", - "fields": [ - { - "id": 1, - "name": "Kind", - "type": "KIND" - }, - { - "id": 2, - "name": "Table", - "type": "string" - }, - { - "id": 3, - "name": "Param", - "type": "int32" - }, - { - "id": 4, - "name": "RequiredField", - "type": "GoTestField" - }, - { - "id": 5, - "name": "RepeatedField", - "type": "GoTestField", - "is_repeated": true - }, - { - "id": 6, - "name": "OptionalField", - "type": "GoTestField" - }, - { - "id": 10, - "name": "F_Bool_required", - "type": "bool" - }, - { - "id": 11, - "name": "F_Int32_required", - "type": "int32" - }, - { - "id": 12, - "name": "F_Int64_required", - "type": "int64" - }, - { - "id": 13, - "name": "F_Fixed32_required", - "type": "fixed32" - }, - { - "id": 14, - "name": "F_Fixed64_required", - "type": "fixed64" - }, - { - "id": 15, - "name": "F_Uint32_required", - "type": "uint32" - }, - { - "id": 16, - "name": "F_Uint64_required", - "type": "uint64" - }, - { - "id": 17, - "name": "F_Float_required", - "type": "float" - }, - { - "id": 18, - "name": "F_Double_required", - "type": "double" - }, - { - "id": 19, - "name": "F_String_required", - "type": "string" - }, - { - "id": 101, - "name": "F_Bytes_required", - "type": "bytes" - }, - { - "id": 102, - "name": "F_Sint32_required", - "type": "sint32" - }, - { - "id": 103, - "name": "F_Sint64_required", - "type": "sint64" - }, - { - "id": 20, - "name": "F_Bool_repeated", - "type": "bool", - "is_repeated": true - }, - { - "id": 21, - "name": "F_Int32_repeated", - "type": "int32", - "is_repeated": true - }, - { - "id": 22, - "name": "F_Int64_repeated", - "type": "int64", - "is_repeated": true - }, - { - "id": 23, - "name": "F_Fixed32_repeated", - "type": "fixed32", - "is_repeated": true - }, - { - "id": 24, - "name": "F_Fixed64_repeated", - "type": "fixed64", - "is_repeated": true - }, - { - "id": 25, - "name": "F_Uint32_repeated", - "type": "uint32", - "is_repeated": true - }, - { - "id": 26, - "name": "F_Uint64_repeated", - "type": "uint64", - "is_repeated": true - }, - { - "id": 27, - "name": "F_Float_repeated", - "type": "float", - "is_repeated": true - }, - { - "id": 28, - "name": "F_Double_repeated", - "type": "double", - "is_repeated": true - }, - { - "id": 29, - "name": "F_String_repeated", - "type": "string", - "is_repeated": true - }, - { - "id": 201, - "name": "F_Bytes_repeated", - "type": "bytes", - "is_repeated": true - }, - { - "id": 202, - "name": "F_Sint32_repeated", - "type": "sint32", - "is_repeated": true - }, - { - "id": 203, - "name": "F_Sint64_repeated", - "type": "sint64", - "is_repeated": true - }, - { - "id": 30, - "name": "F_Bool_optional", - "type": "bool" - }, - { - "id": 31, - "name": "F_Int32_optional", - "type": "int32" - }, - { - "id": 32, - "name": "F_Int64_optional", - "type": "int64" - }, - { - "id": 33, - "name": "F_Fixed32_optional", - "type": "fixed32" - }, - { - "id": 34, - "name": "F_Fixed64_optional", - "type": "fixed64" - }, - { - "id": 35, - "name": "F_Uint32_optional", - "type": "uint32" - }, - { - "id": 36, - "name": "F_Uint64_optional", - "type": "uint64" - }, - { - "id": 37, - "name": "F_Float_optional", - "type": "float" - }, - { - "id": 38, - "name": "F_Double_optional", - "type": "double" - }, - { - "id": 39, - "name": "F_String_optional", - "type": "string" - }, - { - "id": 301, - "name": "F_Bytes_optional", - "type": "bytes" - }, - { - "id": 302, - "name": "F_Sint32_optional", - "type": "sint32" - }, - { - "id": 303, - "name": "F_Sint64_optional", - "type": "sint64" - }, - { - "id": 40, - "name": "F_Bool_defaulted", - "type": "bool" - }, - { - "id": 41, - "name": "F_Int32_defaulted", - "type": "int32" - }, - { - "id": 42, - "name": "F_Int64_defaulted", - "type": "int64" - }, - { - "id": 43, - "name": "F_Fixed32_defaulted", - "type": "fixed32" - }, - { - "id": 44, - "name": "F_Fixed64_defaulted", - "type": "fixed64" - }, - { - "id": 45, - "name": "F_Uint32_defaulted", - "type": "uint32" - }, - { - "id": 46, - "name": "F_Uint64_defaulted", - "type": "uint64" - }, - { - "id": 47, - "name": "F_Float_defaulted", - "type": "float" - }, - { - "id": 48, - "name": "F_Double_defaulted", - "type": "double" - }, - { - "id": 49, - "name": "F_String_defaulted", - "type": "string" - }, - { - "id": 401, - "name": "F_Bytes_defaulted", - "type": "bytes" - }, - { - "id": 402, - "name": "F_Sint32_defaulted", - "type": "sint32" - }, - { - "id": 403, - "name": "F_Sint64_defaulted", - "type": "sint64" - }, - { - "id": 50, - "name": "F_Bool_repeated_packed", - "type": "bool", - "is_repeated": true - }, - { - "id": 51, - "name": "F_Int32_repeated_packed", - "type": "int32", - "is_repeated": true - }, - { - "id": 52, - "name": "F_Int64_repeated_packed", - "type": "int64", - "is_repeated": true - }, - { - "id": 53, - "name": "F_Fixed32_repeated_packed", - "type": "fixed32", - "is_repeated": true - }, - { - "id": 54, - "name": "F_Fixed64_repeated_packed", - "type": "fixed64", - "is_repeated": true - }, - { - "id": 55, - "name": "F_Uint32_repeated_packed", - "type": "uint32", - "is_repeated": true - }, - { - "id": 56, - "name": "F_Uint64_repeated_packed", - "type": "uint64", - "is_repeated": true - }, - { - "id": 57, - "name": "F_Float_repeated_packed", - "type": "float", - "is_repeated": true - }, - { - "id": 58, - "name": "F_Double_repeated_packed", - "type": "double", - "is_repeated": true - }, - { - "id": 502, - "name": "F_Sint32_repeated_packed", - "type": "sint32", - "is_repeated": true - }, - { - "id": 503, - "name": "F_Sint64_repeated_packed", - "type": "sint64", - "is_repeated": true - } - ] - }, - { - "name": "GoTestRequiredGroupField" - }, - { - "name": "GoSkipTest", - "fields": [ - { - "id": 11, - "name": "skip_int32", - "type": "int32" - }, - { - "id": 12, - "name": "skip_fixed32", - "type": "fixed32" - }, - { - "id": 13, - "name": "skip_fixed64", - "type": "fixed64" - }, - { - "id": 14, - "name": "skip_string", - "type": "string" - } - ] - }, - { - "name": "NonPackedTest", - "fields": [ - { - "id": 1, - "name": "a", - "type": "int32", - "is_repeated": true - } - ] - }, - { - "name": "PackedTest", - "fields": [ - { - "id": 1, - "name": "b", - "type": "int32", - "is_repeated": true - } - ] - }, - { - "name": "MaxTag", - "fields": [ - { - "id": 536870911, - "name": "last_field", - "type": "string" - } - ] - }, - { - "name": "OldMessage", - "fields": [ - { - "id": 1, - "name": "nested", - "type": "Nested" - }, - { - "id": 2, - "name": "num", - "type": "int32" - } - ], - "messages": [ - { - "name": "Nested", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - } - ] - } - ] - }, - { - "name": "NewMessage", - "fields": [ - { - "id": 1, - "name": "nested", - "type": "Nested" - }, - { - "id": 2, - "name": "num", - "type": "int64" - } - ], - "messages": [ - { - "name": "Nested", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "food_group", - "type": "string" - } - ] - } - ] - }, - { - "name": "InnerMessage", - "fields": [ - { - "id": 1, - "name": "host", - "type": "string" - }, - { - "id": 2, - "name": "port", - "type": "int32" - }, - { - "id": 3, - "name": "connected", - "type": "bool" - } - ] - }, - { - "name": "OtherMessage", - "fields": [ - { - "id": 1, - "name": "key", - "type": "int64" - }, - { - "id": 2, - "name": "value", - "type": "bytes" - }, - { - "id": 3, - "name": "weight", - "type": "float" - }, - { - "id": 4, - "name": "inner", - "type": "InnerMessage" - } - ] - }, - { - "name": "RequiredInnerMessage", - "fields": [ - { - "id": 1, - "name": "leo_finally_won_an_oscar", - "type": "InnerMessage" - } - ] - }, - { - "name": "MyMessage", - "fields": [ - { - "id": 1, - "name": "count", - "type": "int32" - }, - { - "id": 2, - "name": "name", - "type": "string" - }, - { - "id": 3, - "name": "quote", - "type": "string" - }, - { - "id": 4, - "name": "pet", - "type": "string", - "is_repeated": true - }, - { - "id": 5, - "name": "inner", - "type": "InnerMessage" - }, - { - "id": 6, - "name": "others", - "type": "OtherMessage", - "is_repeated": true - }, - { - "id": 13, - "name": "we_must_go_deeper", - "type": "RequiredInnerMessage" - }, - { - "id": 12, - "name": "rep_inner", - "type": "InnerMessage", - "is_repeated": true - }, - { - "id": 7, - "name": "bikeshed", - "type": "Color" - }, - { - "id": 10, - "name": "rep_bytes", - "type": "bytes", - "is_repeated": true - }, - { - "id": 11, - "name": "bigfloat", - "type": "double" - } - ] - }, - { - "name": "Ext", - "fields": [ - { - "id": 1, - "name": "data", - "type": "string" - } - ], - "messages": [ - { - "name": "MyMessage", - "fields": [ - { - "id": 103, - "name": "more", - "type": "Ext" - }, - { - "id": 104, - "name": "text", - "type": "string" - }, - { - "id": 105, - "name": "number", - "type": "int32" - } - ] - } - ] - }, - { - "name": "MyMessage", - "fields": [ - { - "id": 106, - "name": "greeting", - "type": "string", - "is_repeated": true - } - ] - }, - { - "name": "ComplexExtension", - "fields": [ - { - "id": 1, - "name": "first", - "type": "int32" - }, - { - "id": 2, - "name": "second", - "type": "int32" - }, - { - "id": 3, - "name": "third", - "type": "int32", - "is_repeated": true - } - ] - }, - { - "name": "OtherMessage", - "fields": [ - { - "id": 200, - "name": "complex", - "type": "ComplexExtension" - }, - { - "id": 201, - "name": "r_complex", - "type": "ComplexExtension", - "is_repeated": true - } - ] - }, - { - "name": "DefaultsMessage" - }, - { - "name": "DefaultsMessage", - "fields": [ - { - "id": 101, - "name": "no_default_double", - "type": "double" - }, - { - "id": 102, - "name": "no_default_float", - "type": "float" - }, - { - "id": 103, - "name": "no_default_int32", - "type": "int32" - }, - { - "id": 104, - "name": "no_default_int64", - "type": "int64" - }, - { - "id": 105, - "name": "no_default_uint32", - "type": "uint32" - }, - { - "id": 106, - "name": "no_default_uint64", - "type": "uint64" - }, - { - "id": 107, - "name": "no_default_sint32", - "type": "sint32" - }, - { - "id": 108, - "name": "no_default_sint64", - "type": "sint64" - }, - { - "id": 109, - "name": "no_default_fixed32", - "type": "fixed32" - }, - { - "id": 110, - "name": "no_default_fixed64", - "type": "fixed64" - }, - { - "id": 111, - "name": "no_default_sfixed32", - "type": "sfixed32" - }, - { - "id": 112, - "name": "no_default_sfixed64", - "type": "sfixed64" - }, - { - "id": 113, - "name": "no_default_bool", - "type": "bool" - }, - { - "id": 114, - "name": "no_default_string", - "type": "string" - }, - { - "id": 115, - "name": "no_default_bytes", - "type": "bytes" - }, - { - "id": 116, - "name": "no_default_enum", - "type": "DefaultsMessage.DefaultsEnum" - }, - { - "id": 201, - "name": "default_double", - "type": "double" - }, - { - "id": 202, - "name": "default_float", - "type": "float" - }, - { - "id": 203, - "name": "default_int32", - "type": "int32" - }, - { - "id": 204, - "name": "default_int64", - "type": "int64" - }, - { - "id": 205, - "name": "default_uint32", - "type": "uint32" - }, - { - "id": 206, - "name": "default_uint64", - "type": "uint64" - }, - { - "id": 207, - "name": "default_sint32", - "type": "sint32" - }, - { - "id": 208, - "name": "default_sint64", - "type": "sint64" - }, - { - "id": 209, - "name": "default_fixed32", - "type": "fixed32" - }, - { - "id": 210, - "name": "default_fixed64", - "type": "fixed64" - }, - { - "id": 211, - "name": "default_sfixed32", - "type": "sfixed32" - }, - { - "id": 212, - "name": "default_sfixed64", - "type": "sfixed64" - }, - { - "id": 213, - "name": "default_bool", - "type": "bool" - }, - { - "id": 214, - "name": "default_string", - "type": "string" - }, - { - "id": 215, - "name": "default_bytes", - "type": "bytes" - }, - { - "id": 216, - "name": "default_enum", - "type": "DefaultsMessage.DefaultsEnum" - } - ] - }, - { - "name": "MyMessageSet" - }, - { - "name": "Empty" - }, - { - "name": "MyMessageSet", - "fields": [ - { - "id": 201, - "name": "x201", - "type": "Empty" - }, - { - "id": 202, - "name": "x202", - "type": "Empty" - }, - { - "id": 203, - "name": "x203", - "type": "Empty" - }, - { - "id": 204, - "name": "x204", - "type": "Empty" - }, - { - "id": 205, - "name": "x205", - "type": "Empty" - }, - { - "id": 206, - "name": "x206", - "type": "Empty" - }, - { - "id": 207, - "name": "x207", - "type": "Empty" - }, - { - "id": 208, - "name": "x208", - "type": "Empty" - }, - { - "id": 209, - "name": "x209", - "type": "Empty" - }, - { - "id": 210, - "name": "x210", - "type": "Empty" - }, - { - "id": 211, - "name": "x211", - "type": "Empty" - }, - { - "id": 212, - "name": "x212", - "type": "Empty" - }, - { - "id": 213, - "name": "x213", - "type": "Empty" - }, - { - "id": 214, - "name": "x214", - "type": "Empty" - }, - { - "id": 215, - "name": "x215", - "type": "Empty" - }, - { - "id": 216, - "name": "x216", - "type": "Empty" - }, - { - "id": 217, - "name": "x217", - "type": "Empty" - }, - { - "id": 218, - "name": "x218", - "type": "Empty" - }, - { - "id": 219, - "name": "x219", - "type": "Empty" - }, - { - "id": 220, - "name": "x220", - "type": "Empty" - }, - { - "id": 221, - "name": "x221", - "type": "Empty" - }, - { - "id": 222, - "name": "x222", - "type": "Empty" - }, - { - "id": 223, - "name": "x223", - "type": "Empty" - }, - { - "id": 224, - "name": "x224", - "type": "Empty" - }, - { - "id": 225, - "name": "x225", - "type": "Empty" - }, - { - "id": 226, - "name": "x226", - "type": "Empty" - }, - { - "id": 227, - "name": "x227", - "type": "Empty" - }, - { - "id": 228, - "name": "x228", - "type": "Empty" - }, - { - "id": 229, - "name": "x229", - "type": "Empty" - }, - { - "id": 230, - "name": "x230", - "type": "Empty" - }, - { - "id": 231, - "name": "x231", - "type": "Empty" - }, - { - "id": 232, - "name": "x232", - "type": "Empty" - }, - { - "id": 233, - "name": "x233", - "type": "Empty" - }, - { - "id": 234, - "name": "x234", - "type": "Empty" - }, - { - "id": 235, - "name": "x235", - "type": "Empty" - }, - { - "id": 236, - "name": "x236", - "type": "Empty" - }, - { - "id": 237, - "name": "x237", - "type": "Empty" - }, - { - "id": 238, - "name": "x238", - "type": "Empty" - }, - { - "id": 239, - "name": "x239", - "type": "Empty" - }, - { - "id": 240, - "name": "x240", - "type": "Empty" - }, - { - "id": 241, - "name": "x241", - "type": "Empty" - }, - { - "id": 242, - "name": "x242", - "type": "Empty" - }, - { - "id": 243, - "name": "x243", - "type": "Empty" - }, - { - "id": 244, - "name": "x244", - "type": "Empty" - }, - { - "id": 245, - "name": "x245", - "type": "Empty" - }, - { - "id": 246, - "name": "x246", - "type": "Empty" - }, - { - "id": 247, - "name": "x247", - "type": "Empty" - }, - { - "id": 248, - "name": "x248", - "type": "Empty" - }, - { - "id": 249, - "name": "x249", - "type": "Empty" - }, - { - "id": 250, - "name": "x250", - "type": "Empty" - } - ] - }, - { - "name": "MessageList" - }, - { - "name": "Strings", - "fields": [ - { - "id": 1, - "name": "string_field", - "type": "string" - }, - { - "id": 2, - "name": "bytes_field", - "type": "bytes" - } - ] - }, - { - "name": "Defaults", - "fields": [ - { - "id": 1, - "name": "F_Bool", - "type": "bool" - }, - { - "id": 2, - "name": "F_Int32", - "type": "int32" - }, - { - "id": 3, - "name": "F_Int64", - "type": "int64" - }, - { - "id": 4, - "name": "F_Fixed32", - "type": "fixed32" - }, - { - "id": 5, - "name": "F_Fixed64", - "type": "fixed64" - }, - { - "id": 6, - "name": "F_Uint32", - "type": "uint32" - }, - { - "id": 7, - "name": "F_Uint64", - "type": "uint64" - }, - { - "id": 8, - "name": "F_Float", - "type": "float" - }, - { - "id": 9, - "name": "F_Double", - "type": "double" - }, - { - "id": 10, - "name": "F_String", - "type": "string" - }, - { - "id": 11, - "name": "F_Bytes", - "type": "bytes" - }, - { - "id": 12, - "name": "F_Sint32", - "type": "sint32" - }, - { - "id": 13, - "name": "F_Sint64", - "type": "sint64" - }, - { - "id": 14, - "name": "F_Enum", - "type": "Color" - }, - { - "id": 15, - "name": "F_Pinf", - "type": "float" - }, - { - "id": 16, - "name": "F_Ninf", - "type": "float" - }, - { - "id": 17, - "name": "F_Nan", - "type": "float" - }, - { - "id": 18, - "name": "sub", - "type": "SubDefaults" - }, - { - "id": 19, - "name": "str_zero", - "type": "string" - } - ] - }, - { - "name": "SubDefaults", - "fields": [ - { - "id": 1, - "name": "n", - "type": "int64" - } - ] - }, - { - "name": "RepeatedEnum", - "fields": [ - { - "id": 1, - "name": "color", - "type": "Color", - "is_repeated": true - } - ] - }, - { - "name": "MoreRepeated", - "fields": [ - { - "id": 1, - "name": "bools", - "type": "bool", - "is_repeated": true - }, - { - "id": 2, - "name": "bools_packed", - "type": "bool", - "is_repeated": true - }, - { - "id": 3, - "name": "ints", - "type": "int32", - "is_repeated": true - }, - { - "id": 4, - "name": "ints_packed", - "type": "int32", - "is_repeated": true - }, - { - "id": 7, - "name": "int64s_packed", - "type": "int64", - "is_repeated": true - }, - { - "id": 5, - "name": "strings", - "type": "string", - "is_repeated": true - }, - { - "id": 6, - "name": "fixeds", - "type": "fixed32", - "is_repeated": true - } - ] - }, - { - "name": "GroupOld" - }, - { - "name": "GroupNew" - }, - { - "name": "FloatingPoint", - "fields": [ - { - "id": 1, - "name": "f", - "type": "double" - }, - { - "id": 2, - "name": "exact", - "type": "bool" - } - ] - }, - { - "name": "MessageWithMap", - "maps": [ - { - "key_type": "int32", - "field": { - "id": 1, - "name": "name_mapping", - "type": "string" - } - }, - { - "key_type": "sint64", - "field": { - "id": 2, - "name": "msg_mapping", - "type": "FloatingPoint" - } - }, - { - "key_type": "bool", - "field": { - "id": 3, - "name": "byte_mapping", - "type": "bytes" - } - }, - { - "key_type": "string", - "field": { - "id": 4, - "name": "str_to_str", - "type": "string" - } - } - ] - }, - { - "name": "Oneof", - "fields": [ - { - "id": 1, - "name": "F_Bool", - "type": "bool" - }, - { - "id": 2, - "name": "F_Int32", - "type": "int32" - }, - { - "id": 3, - "name": "F_Int64", - "type": "int64" - }, - { - "id": 4, - "name": "F_Fixed32", - "type": "fixed32" - }, - { - "id": 5, - "name": "F_Fixed64", - "type": "fixed64" - }, - { - "id": 6, - "name": "F_Uint32", - "type": "uint32" - }, - { - "id": 7, - "name": "F_Uint64", - "type": "uint64" - }, - { - "id": 8, - "name": "F_Float", - "type": "float" - }, - { - "id": 9, - "name": "F_Double", - "type": "double" - }, - { - "id": 10, - "name": "F_String", - "type": "string" - }, - { - "id": 11, - "name": "F_Bytes", - "type": "bytes" - }, - { - "id": 12, - "name": "F_Sint32", - "type": "sint32" - }, - { - "id": 13, - "name": "F_Sint64", - "type": "sint64" - }, - { - "id": 14, - "name": "F_Enum", - "type": "MyMessage.Color" - }, - { - "id": 15, - "name": "F_Message", - "type": "GoTestField" - }, - { - "id": 536870911, - "name": "F_Largest_Tag", - "type": "int32" - }, - { - "id": 100, - "name": "value", - "type": "int32" - } - ] - }, - { - "name": "Communique", - "fields": [ - { - "id": 1, - "name": "make_me_cry", - "type": "bool" - }, - { - "id": 5, - "name": "number", - "type": "int32" - }, - { - "id": 6, - "name": "name", - "type": "string" - }, - { - "id": 7, - "name": "data", - "type": "bytes" - }, - { - "id": 8, - "name": "temp_c", - "type": "double" - }, - { - "id": 9, - "name": "col", - "type": "MyMessage.Color" - }, - { - "id": 10, - "name": "msg", - "type": "Strings" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:descriptor:/:descriptor.proto", - "def": { - "enums": [ - { - "name": "FieldDescriptorProto.Type", - "enum_fields": [ - { - "name": "TYPE_DOUBLE", - "integer": 1 - }, - { - "name": "TYPE_FLOAT", - "integer": 2 - }, - { - "name": "TYPE_INT64", - "integer": 3 - }, - { - "name": "TYPE_UINT64", - "integer": 4 - }, - { - "name": "TYPE_INT32", - "integer": 5 - }, - { - "name": "TYPE_FIXED64", - "integer": 6 - }, - { - "name": "TYPE_FIXED32", - "integer": 7 - }, - { - "name": "TYPE_BOOL", - "integer": 8 - }, - { - "name": "TYPE_STRING", - "integer": 9 - }, - { - "name": "TYPE_GROUP", - "integer": 10 - }, - { - "name": "TYPE_MESSAGE", - "integer": 11 - }, - { - "name": "TYPE_BYTES", - "integer": 12 - }, - { - "name": "TYPE_UINT32", - "integer": 13 - }, - { - "name": "TYPE_ENUM", - "integer": 14 - }, - { - "name": "TYPE_SFIXED32", - "integer": 15 - }, - { - "name": "TYPE_SFIXED64", - "integer": 16 - }, - { - "name": "TYPE_SINT32", - "integer": 17 - }, - { - "name": "TYPE_SINT64", - "integer": 18 - } - ] - }, - { - "name": "FieldDescriptorProto.Label", - "enum_fields": [ - { - "name": "LABEL_OPTIONAL", - "integer": 1 - }, - { - "name": "LABEL_REQUIRED", - "integer": 2 - }, - { - "name": "LABEL_REPEATED", - "integer": 3 - } - ] - }, - { - "name": "FileOptions.OptimizeMode", - "enum_fields": [ - { - "name": "SPEED", - "integer": 1 - }, - { - "name": "CODE_SIZE", - "integer": 2 - }, - { - "name": "LITE_RUNTIME", - "integer": 3 - } - ] - }, - { - "name": "FieldOptions.CType", - "enum_fields": [ - { - "name": "STRING", - "integer": 0 - }, - { - "name": "CORD", - "integer": 1 - }, - { - "name": "STRING_PIECE", - "integer": 2 - } - ] - }, - { - "name": "FieldOptions.JSType", - "enum_fields": [ - { - "name": "JS_NORMAL", - "integer": 0 - }, - { - "name": "JS_STRING", - "integer": 1 - }, - { - "name": "JS_NUMBER", - "integer": 2 - } - ] - }, - { - "name": "MethodOptions.IdempotencyLevel", - "enum_fields": [ - { - "name": "IDEMPOTENCY_UNKNOWN", - "integer": 0 - }, - { - "name": "NO_SIDE_EFFECTS", - "integer": 1 - }, - { - "name": "IDEMPOTENT", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "FileDescriptorSet", - "fields": [ - { - "id": 1, - "name": "file", - "type": "FileDescriptorProto", - "is_repeated": true - } - ] - }, - { - "name": "FileDescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "package", - "type": "string" - }, - { - "id": 3, - "name": "dependency", - "type": "string", - "is_repeated": true - }, - { - "id": 10, - "name": "public_dependency", - "type": "int32", - "is_repeated": true - }, - { - "id": 11, - "name": "weak_dependency", - "type": "int32", - "is_repeated": true - }, - { - "id": 4, - "name": "message_type", - "type": "DescriptorProto", - "is_repeated": true - }, - { - "id": 5, - "name": "enum_type", - "type": "EnumDescriptorProto", - "is_repeated": true - }, - { - "id": 6, - "name": "service", - "type": "ServiceDescriptorProto", - "is_repeated": true - }, - { - "id": 7, - "name": "extension", - "type": "FieldDescriptorProto", - "is_repeated": true - }, - { - "id": 8, - "name": "options", - "type": "FileOptions" - }, - { - "id": 9, - "name": "source_code_info", - "type": "SourceCodeInfo" - }, - { - "id": 12, - "name": "syntax", - "type": "string" - } - ] - }, - { - "name": "DescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "field", - "type": "FieldDescriptorProto", - "is_repeated": true - }, - { - "id": 6, - "name": "extension", - "type": "FieldDescriptorProto", - "is_repeated": true - }, - { - "id": 3, - "name": "nested_type", - "type": "DescriptorProto", - "is_repeated": true - }, - { - "id": 4, - "name": "enum_type", - "type": "EnumDescriptorProto", - "is_repeated": true - }, - { - "id": 5, - "name": "extension_range", - "type": "ExtensionRange", - "is_repeated": true - }, - { - "id": 8, - "name": "oneof_decl", - "type": "OneofDescriptorProto", - "is_repeated": true - }, - { - "id": 7, - "name": "options", - "type": "MessageOptions" - }, - { - "id": 9, - "name": "reserved_range", - "type": "ReservedRange", - "is_repeated": true - }, - { - "id": 10, - "name": "reserved_name", - "type": "string", - "is_repeated": true - } - ], - "messages": [ - { - "name": "ExtensionRange", - "fields": [ - { - "id": 1, - "name": "start", - "type": "int32" - }, - { - "id": 2, - "name": "end", - "type": "int32" - }, - { - "id": 3, - "name": "options", - "type": "ExtensionRangeOptions" - } - ] - }, - { - "name": "ReservedRange", - "fields": [ - { - "id": 1, - "name": "start", - "type": "int32" - }, - { - "id": 2, - "name": "end", - "type": "int32" - } - ] - } - ] - }, - { - "name": "ExtensionRangeOptions", - "fields": [ - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ] - }, - { - "name": "FieldDescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 3, - "name": "number", - "type": "int32" - }, - { - "id": 4, - "name": "label", - "type": "Label" - }, - { - "id": 5, - "name": "type", - "type": "Type" - }, - { - "id": 6, - "name": "type_name", - "type": "string" - }, - { - "id": 2, - "name": "extendee", - "type": "string" - }, - { - "id": 7, - "name": "default_value", - "type": "string" - }, - { - "id": 9, - "name": "oneof_index", - "type": "int32" - }, - { - "id": 10, - "name": "json_name", - "type": "string" - }, - { - "id": 8, - "name": "options", - "type": "FieldOptions" - } - ] - }, - { - "name": "OneofDescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "options", - "type": "OneofOptions" - } - ] - }, - { - "name": "EnumDescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "value", - "type": "EnumValueDescriptorProto", - "is_repeated": true - }, - { - "id": 3, - "name": "options", - "type": "EnumOptions" - } - ] - }, - { - "name": "EnumValueDescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "number", - "type": "int32" - }, - { - "id": 3, - "name": "options", - "type": "EnumValueOptions" - } - ] - }, - { - "name": "ServiceDescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "method", - "type": "MethodDescriptorProto", - "is_repeated": true - }, - { - "id": 3, - "name": "options", - "type": "ServiceOptions" - } - ] - }, - { - "name": "MethodDescriptorProto", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "input_type", - "type": "string" - }, - { - "id": 3, - "name": "output_type", - "type": "string" - }, - { - "id": 4, - "name": "options", - "type": "MethodOptions" - }, - { - "id": 5, - "name": "client_streaming", - "type": "bool" - }, - { - "id": 6, - "name": "server_streaming", - "type": "bool" - } - ] - }, - { - "name": "FileOptions", - "fields": [ - { - "id": 1, - "name": "java_package", - "type": "string" - }, - { - "id": 8, - "name": "java_outer_classname", - "type": "string" - }, - { - "id": 10, - "name": "java_multiple_files", - "type": "bool" - }, - { - "id": 20, - "name": "java_generate_equals_and_hash", - "type": "bool" - }, - { - "id": 27, - "name": "java_string_check_utf8", - "type": "bool" - }, - { - "id": 9, - "name": "optimize_for", - "type": "OptimizeMode" - }, - { - "id": 11, - "name": "go_package", - "type": "string" - }, - { - "id": 16, - "name": "cc_generic_services", - "type": "bool" - }, - { - "id": 17, - "name": "java_generic_services", - "type": "bool" - }, - { - "id": 18, - "name": "py_generic_services", - "type": "bool" - }, - { - "id": 42, - "name": "php_generic_services", - "type": "bool" - }, - { - "id": 23, - "name": "deprecated", - "type": "bool" - }, - { - "id": 31, - "name": "cc_enable_arenas", - "type": "bool" - }, - { - "id": 36, - "name": "objc_class_prefix", - "type": "string" - }, - { - "id": 37, - "name": "csharp_namespace", - "type": "string" - }, - { - "id": 39, - "name": "swift_prefix", - "type": "string" - }, - { - "id": 40, - "name": "php_class_prefix", - "type": "string" - }, - { - "id": 41, - "name": "php_namespace", - "type": "string" - }, - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ], - "reserved_ids": [ - 38 - ] - }, - { - "name": "MessageOptions", - "fields": [ - { - "id": 1, - "name": "message_set_wire_format", - "type": "bool" - }, - { - "id": 2, - "name": "no_standard_descriptor_accessor", - "type": "bool" - }, - { - "id": 3, - "name": "deprecated", - "type": "bool" - }, - { - "id": 7, - "name": "map_entry", - "type": "bool" - }, - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ], - "reserved_ids": [ - 8, - 9 - ] - }, - { - "name": "FieldOptions", - "fields": [ - { - "id": 1, - "name": "ctype", - "type": "CType" - }, - { - "id": 2, - "name": "packed", - "type": "bool" - }, - { - "id": 6, - "name": "jstype", - "type": "JSType" - }, - { - "id": 5, - "name": "lazy", - "type": "bool" - }, - { - "id": 3, - "name": "deprecated", - "type": "bool" - }, - { - "id": 10, - "name": "weak", - "type": "bool" - }, - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ], - "reserved_ids": [ - 4 - ] - }, - { - "name": "OneofOptions", - "fields": [ - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ] - }, - { - "name": "EnumOptions", - "fields": [ - { - "id": 2, - "name": "allow_alias", - "type": "bool" - }, - { - "id": 3, - "name": "deprecated", - "type": "bool" - }, - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ], - "reserved_ids": [ - 5 - ] - }, - { - "name": "EnumValueOptions", - "fields": [ - { - "id": 1, - "name": "deprecated", - "type": "bool" - }, - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ] - }, - { - "name": "ServiceOptions", - "fields": [ - { - "id": 33, - "name": "deprecated", - "type": "bool" - }, - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ] - }, - { - "name": "MethodOptions", - "fields": [ - { - "id": 33, - "name": "deprecated", - "type": "bool" - }, - { - "id": 34, - "name": "idempotency_level", - "type": "IdempotencyLevel" - }, - { - "id": 999, - "name": "uninterpreted_option", - "type": "UninterpretedOption", - "is_repeated": true - } - ] - }, - { - "name": "UninterpretedOption", - "fields": [ - { - "id": 2, - "name": "name", - "type": "NamePart", - "is_repeated": true - }, - { - "id": 3, - "name": "identifier_value", - "type": "string" - }, - { - "id": 4, - "name": "positive_int_value", - "type": "uint64" - }, - { - "id": 5, - "name": "negative_int_value", - "type": "int64" - }, - { - "id": 6, - "name": "double_value", - "type": "double" - }, - { - "id": 7, - "name": "string_value", - "type": "bytes" - }, - { - "id": 8, - "name": "aggregate_value", - "type": "string" - } - ], - "messages": [ - { - "name": "NamePart", - "fields": [ - { - "id": 1, - "name": "name_part", - "type": "string" - }, - { - "id": 2, - "name": "is_extension", - "type": "bool" - } - ] - } - ] - }, - { - "name": "SourceCodeInfo", - "fields": [ - { - "id": 1, - "name": "location", - "type": "Location", - "is_repeated": true - } - ], - "messages": [ - { - "name": "Location", - "fields": [ - { - "id": 1, - "name": "path", - "type": "int32", - "is_repeated": true - }, - { - "id": 2, - "name": "span", - "type": "int32", - "is_repeated": true - }, - { - "id": 3, - "name": "leading_comments", - "type": "string" - }, - { - "id": 4, - "name": "trailing_comments", - "type": "string" - }, - { - "id": 6, - "name": "leading_detached_comments", - "type": "string", - "is_repeated": true - } - ] - } - ] - }, - { - "name": "GeneratedCodeInfo", - "fields": [ - { - "id": 1, - "name": "annotation", - "type": "Annotation", - "is_repeated": true - } - ], - "messages": [ - { - "name": "Annotation", - "fields": [ - { - "id": 1, - "name": "path", - "type": "int32", - "is_repeated": true - }, - { - "id": 2, - "name": "source_file", - "type": "string" - }, - { - "id": 3, - "name": "begin", - "type": "int32" - }, - { - "id": 4, - "name": "end", - "type": "int32" - } - ] - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:plugin:/:plugin.proto", - "def": { - "messages": [ - { - "name": "Version", - "fields": [ - { - "id": 1, - "name": "major", - "type": "int32" - }, - { - "id": 2, - "name": "minor", - "type": "int32" - }, - { - "id": 3, - "name": "patch", - "type": "int32" - }, - { - "id": 4, - "name": "suffix", - "type": "string" - } - ] - }, - { - "name": "CodeGeneratorRequest", - "fields": [ - { - "id": 1, - "name": "file_to_generate", - "type": "string", - "is_repeated": true - }, - { - "id": 2, - "name": "parameter", - "type": "string" - }, - { - "id": 15, - "name": "proto_file", - "type": "FileDescriptorProto", - "is_repeated": true - }, - { - "id": 3, - "name": "compiler_version", - "type": "Version" - } - ] - }, - { - "name": "CodeGeneratorResponse", - "fields": [ - { - "id": 1, - "name": "error", - "type": "string" - }, - { - "id": 15, - "name": "file", - "type": "File", - "is_repeated": true - } - ], - "messages": [ - { - "name": "File", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "insertion_point", - "type": "string" - }, - { - "id": 15, - "name": "content", - "type": "string" - } - ] - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:extension_base.proto", - "def": { - "messages": [ - { - "name": "BaseMessage", - "fields": [ - { - "id": 1, - "name": "height", - "type": "int32" - } - ] - }, - { - "name": "OldStyleMessage" - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:extension_extra.proto", - "def": { - "messages": [ - { - "name": "ExtraMessage", - "fields": [ - { - "id": 1, - "name": "width", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:extension_user.proto", - "def": { - "messages": [ - { - "name": "UserMessage", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "rank", - "type": "string" - } - ] - }, - { - "name": "extension_base.BaseMessage", - "fields": [ - { - "id": 5, - "name": "user_message", - "type": "UserMessage" - } - ] - }, - { - "name": "extension_base.BaseMessage", - "fields": [ - { - "id": 9, - "name": "extra_message", - "type": "extension_extra.ExtraMessage" - } - ] - }, - { - "name": "extension_base.BaseMessage", - "fields": [ - { - "id": 6, - "name": "width", - "type": "int32" - }, - { - "id": 7, - "name": "area", - "type": "int64" - } - ] - }, - { - "name": "LoudMessage", - "messages": [ - { - "name": "extension_base.BaseMessage", - "fields": [ - { - "id": 8, - "name": "volume", - "type": "uint32" - } - ] - } - ] - }, - { - "name": "LoginMessage", - "messages": [ - { - "name": "extension_base.BaseMessage", - "fields": [ - { - "id": 16, - "name": "user_message", - "type": "UserMessage" - } - ] - } - ] - }, - { - "name": "extension_base.BaseMessage", - "fields": [ - { - "id": 17, - "name": "detail", - "type": "Detail", - "is_repeated": true - } - ] - }, - { - "name": "Detail", - "fields": [ - { - "id": 1, - "name": "color", - "type": "string" - } - ] - }, - { - "name": "Announcement", - "fields": [ - { - "id": 1, - "name": "words", - "type": "string" - } - ], - "messages": [ - { - "name": "LoudMessage", - "fields": [ - { - "id": 100, - "name": "loud_ext", - "type": "Announcement" - } - ] - } - ] - }, - { - "name": "OldStyleParcel", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "height", - "type": "int32" - } - ], - "messages": [ - { - "name": "extension_base.OldStyleMessage", - "fields": [ - { - "id": 2001, - "name": "message_set_extension", - "type": "OldStyleParcel" - } - ] - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:grpc.proto", - "def": { - "messages": [ - { - "name": "SimpleRequest" - }, - { - "name": "SimpleResponse" - }, - { - "name": "StreamMsg" - }, - { - "name": "StreamMsg2" - } - ], - "services": [ - { - "name": "Test", - "rpcs": [ - { - "name": "UnaryCall", - "in_type": "SimpleRequest", - "out_type": "SimpleResponse" - }, - { - "name": "Downstream", - "in_type": "SimpleRequest", - "out_type": "StreamMsg", - "out_streamed": true - }, - { - "name": "Upstream", - "in_type": "StreamMsg", - "out_type": "SimpleResponse", - "in_streamed": true - }, - { - "name": "Bidi", - "in_type": "StreamMsg", - "out_type": "StreamMsg2", - "in_streamed": true, - "out_streamed": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:imp.proto", - "def": { - "enums": [ - { - "name": "ImportedMessage.Owner", - "enum_fields": [ - { - "name": "DAVE", - "integer": 1 - }, - { - "name": "MIKE", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "ImportedMessage", - "fields": [ - { - "id": 1, - "name": "field", - "type": "int64" - }, - { - "id": 2, - "name": "local_msg", - "type": "ImportedMessage2" - }, - { - "id": 3, - "name": "foreign_msg", - "type": "ForeignImportedMessage" - }, - { - "id": 4, - "name": "enum_field", - "type": "Owner" - }, - { - "id": 9, - "name": "state", - "type": "int32" - }, - { - "id": 5, - "name": "name", - "type": "string", - "is_repeated": true - }, - { - "id": 6, - "name": "boss", - "type": "Owner", - "is_repeated": true - }, - { - "id": 7, - "name": "memo", - "type": "ImportedMessage2", - "is_repeated": true - } - ], - "maps": [ - { - "key_type": "string", - "field": { - "id": 8, - "name": "msg_map", - "type": "ImportedMessage2" - } - } - ] - }, - { - "name": "ImportedMessage2" - }, - { - "name": "ImportedExtendable" - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:imp2.proto", - "def": { - "enums": [ - { - "name": "PubliclyImportedEnum", - "enum_fields": [ - { - "name": "GLASSES", - "integer": 1 - }, - { - "name": "HAIR", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "PubliclyImportedMessage", - "fields": [ - { - "id": 1, - "name": "field", - "type": "int64" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:imp3.proto", - "def": { - "messages": [ - { - "name": "ForeignImportedMessage", - "fields": [ - { - "id": 1, - "name": "tuber", - "type": "string" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:multi:/:multi1.proto", - "def": { - "messages": [ - { - "name": "Multi1", - "fields": [ - { - "id": 1, - "name": "multi2", - "type": "Multi2" - }, - { - "id": 2, - "name": "color", - "type": "Multi2.Color" - }, - { - "id": 3, - "name": "hat_type", - "type": "Multi3.HatType" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:multi:/:multi2.proto", - "def": { - "enums": [ - { - "name": "Multi2.Color", - "enum_fields": [ - { - "name": "BLUE", - "integer": 1 - }, - { - "name": "GREEN", - "integer": 2 - }, - { - "name": "RED", - "integer": 3 - } - ] - } - ], - "messages": [ - { - "name": "Multi2", - "fields": [ - { - "id": 1, - "name": "required_value", - "type": "int32" - }, - { - "id": 2, - "name": "color", - "type": "Color" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:multi:/:multi3.proto", - "def": { - "enums": [ - { - "name": "Multi3.HatType", - "enum_fields": [ - { - "name": "FEDORA", - "integer": 1 - }, - { - "name": "FEZ", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "Multi3", - "fields": [ - { - "id": 1, - "name": "hat_type", - "type": "HatType" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:my_test:/:test.proto", - "def": { - "enums": [ - { - "name": "HatType", - "enum_fields": [ - { - "name": "FEDORA", - "integer": 1 - }, - { - "name": "FEZ", - "integer": 2 - } - ] - }, - { - "name": "Days", - "enum_fields": [ - { - "name": "MONDAY", - "integer": 1 - }, - { - "name": "TUESDAY", - "integer": 2 - }, - { - "name": "LUNDI", - "integer": 1 - } - ] - }, - { - "name": "Request.Color", - "enum_fields": [ - { - "name": "RED", - "integer": 0 - }, - { - "name": "GREEN", - "integer": 1 - }, - { - "name": "BLUE", - "integer": 2 - } - ] - }, - { - "name": "Entry.Game", - "enum_fields": [ - { - "name": "FOOTBALL", - "integer": 1 - }, - { - "name": "TENNIS", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "Request", - "fields": [ - { - "id": 1, - "name": "key", - "type": "int64", - "is_repeated": true - }, - { - "id": 3, - "name": "hue", - "type": "Color" - }, - { - "id": 4, - "name": "hat", - "type": "HatType" - }, - { - "id": 7, - "name": "deadline", - "type": "float" - }, - { - "id": 12, - "name": "reset", - "type": "int32" - }, - { - "id": 16, - "name": "get_key", - "type": "string" - } - ], - "maps": [ - { - "key_type": "int32", - "field": { - "id": 14, - "name": "name_mapping", - "type": "string" - } - }, - { - "key_type": "sint64", - "field": { - "id": 15, - "name": "msg_mapping", - "type": "Reply" - } - } - ] - }, - { - "name": "Reply", - "fields": [ - { - "id": 1, - "name": "found", - "type": "Entry", - "is_repeated": true - }, - { - "id": 2, - "name": "compact_keys", - "type": "int32", - "is_repeated": true - } - ], - "messages": [ - { - "name": "Entry", - "fields": [ - { - "id": 1, - "name": "key_that_needs_1234camel_CasIng", - "type": "int64" - }, - { - "id": 2, - "name": "value", - "type": "int64" - }, - { - "id": 3, - "name": "_my_field_name_2", - "type": "int64" - } - ] - } - ] - }, - { - "name": "OtherBase", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - } - ] - }, - { - "name": "ReplyExtensions", - "messages": [ - { - "name": "Reply", - "fields": [ - { - "id": 101, - "name": "time", - "type": "double" - }, - { - "id": 105, - "name": "carrot", - "type": "ReplyExtensions" - } - ] - }, - { - "name": "OtherBase", - "fields": [ - { - "id": 101, - "name": "donut", - "type": "ReplyExtensions" - } - ] - } - ] - }, - { - "name": "OtherReplyExtensions", - "fields": [ - { - "id": 1, - "name": "key", - "type": "int32" - } - ] - }, - { - "name": "Reply", - "fields": [ - { - "id": 103, - "name": "tag", - "type": "string" - }, - { - "id": 106, - "name": "donut", - "type": "OtherReplyExtensions" - } - ] - }, - { - "name": "OldReply" - }, - { - "name": "Communique", - "fields": [ - { - "id": 1, - "name": "make_me_cry", - "type": "bool" - }, - { - "id": 5, - "name": "number", - "type": "int32" - }, - { - "id": 6, - "name": "name", - "type": "string" - }, - { - "id": 7, - "name": "data", - "type": "bytes" - }, - { - "id": 8, - "name": "temp_c", - "type": "double" - }, - { - "id": 9, - "name": "height", - "type": "float" - }, - { - "id": 10, - "name": "today", - "type": "Days" - }, - { - "id": 11, - "name": "maybe", - "type": "bool" - }, - { - "id": 12, - "name": "delta", - "type": "sint32" - }, - { - "id": 13, - "name": "msg", - "type": "Reply" - } - ], - "messages": [ - { - "name": "Delta" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:protoc-gen-go:/:testdata:/:proto3.proto", - "def": { - "enums": [ - { - "name": "Request.Flavour", - "enum_fields": [ - { - "name": "SWEET", - "integer": 0 - }, - { - "name": "SOUR", - "integer": 1 - }, - { - "name": "UMAMI", - "integer": 2 - }, - { - "name": "GOPHERLICIOUS", - "integer": 3 - } - ] - } - ], - "messages": [ - { - "name": "Request", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "key", - "type": "int64", - "is_repeated": true - }, - { - "id": 3, - "name": "taste", - "type": "Flavour" - }, - { - "id": 4, - "name": "book", - "type": "Book" - }, - { - "id": 5, - "name": "unpacked", - "type": "int64", - "is_repeated": true - } - ] - }, - { - "name": "Book", - "fields": [ - { - "id": 1, - "name": "title", - "type": "string" - }, - { - "id": 2, - "name": "raw_data", - "type": "bytes" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:ptypes:/:any:/:any.proto", - "def": { - "messages": [ - { - "name": "Any", - "fields": [ - { - "id": 1, - "name": "type_url", - "type": "string" - }, - { - "id": 2, - "name": "value", - "type": "bytes" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:ptypes:/:duration:/:duration.proto", - "def": { - "messages": [ - { - "name": "Duration", - "fields": [ - { - "id": 1, - "name": "seconds", - "type": "int64" - }, - { - "id": 2, - "name": "nanos", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:ptypes:/:empty:/:empty.proto", - "def": { - "messages": [ - { - "name": "Empty" - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:ptypes:/:struct:/:struct.proto", - "def": { - "enums": [ - { - "name": "NullValue", - "enum_fields": [ - { - "name": "NULL_VALUE", - "integer": 0 - } - ] - } - ], - "messages": [ - { - "name": "Struct", - "maps": [ - { - "key_type": "string", - "field": { - "id": 1, - "name": "fields", - "type": "Value" - } - } - ] - }, - { - "name": "Value", - "fields": [ - { - "id": 1, - "name": "null_value", - "type": "NullValue" - }, - { - "id": 2, - "name": "number_value", - "type": "double" - }, - { - "id": 3, - "name": "string_value", - "type": "string" - }, - { - "id": 4, - "name": "bool_value", - "type": "bool" - }, - { - "id": 5, - "name": "struct_value", - "type": "Struct" - }, - { - "id": 6, - "name": "list_value", - "type": "ListValue" - } - ] - }, - { - "name": "ListValue", - "fields": [ - { - "id": 1, - "name": "values", - "type": "Value", - "is_repeated": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:ptypes:/:timestamp:/:timestamp.proto", - "def": { - "messages": [ - { - "name": "Timestamp", - "fields": [ - { - "id": 1, - "name": "seconds", - "type": "int64" - }, - { - "id": 2, - "name": "nanos", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:golang:/:protobuf:/:ptypes:/:wrappers:/:wrappers.proto", - "def": { - "messages": [ - { - "name": "DoubleValue", - "fields": [ - { - "id": 1, - "name": "value", - "type": "double" - } - ] - }, - { - "name": "FloatValue", - "fields": [ - { - "id": 1, - "name": "value", - "type": "float" - } - ] - }, - { - "name": "Int64Value", - "fields": [ - { - "id": 1, - "name": "value", - "type": "int64" - } - ] - }, - { - "name": "UInt64Value", - "fields": [ - { - "id": 1, - "name": "value", - "type": "uint64" - } - ] - }, - { - "name": "Int32Value", - "fields": [ - { - "id": 1, - "name": "value", - "type": "int32" - } - ] - }, - { - "name": "UInt32Value", - "fields": [ - { - "id": 1, - "name": "value", - "type": "uint32" - } - ] - }, - { - "name": "BoolValue", - "fields": [ - { - "id": 1, - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "StringValue", - "fields": [ - { - "id": 1, - "name": "value", - "type": "string" - } - ] - }, - { - "name": "BytesValue", - "fields": [ - { - "id": 1, - "name": "value", - "type": "bytes" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:istio:/:tools:/:protoc-gen-docs:/:testdata:/:test1.proto", - "def": { - "enums": [ - { - "name": "Test.Color", - "enum_fields": [ - { - "name": "RED", - "integer": 0 - }, - { - "name": "INDIGO", - "integer": 0 - }, - { - "name": "GREEN", - "integer": 1 - }, - { - "name": "BLUE", - "integer": 2 - }, - { - "name": "ORANGE", - "integer": 3 - } - ] - }, - { - "name": "Days", - "enum_fields": [ - { - "name": "MONDAY", - "integer": 0 - }, - { - "name": "TUESDAY", - "integer": 1 - }, - { - "name": "WEDNESDAY", - "integer": 2 - } - ] - }, - { - "name": "HiddenEnum", - "enum_fields": [ - { - "name": "E1", - "integer": 0 - } - ] - }, - { - "name": "ExperimentalEnum", - "enum_fields": [ - { - "name": "E10", - "integer": 0 - } - ] - } - ], - "messages": [ - { - "name": "Test", - "fields": [ - { - "id": 1, - "name": "field1", - "type": "int32" - }, - { - "id": 2, - "name": "field2", - "type": "string" - }, - { - "id": 3, - "name": "field3", - "type": "string", - "is_repeated": true - }, - { - "id": 4, - "name": "field_four", - "type": "string" - }, - { - "id": 5, - "name": "nested", - "type": "Test2" - }, - { - "id": 6, - "name": "color", - "type": "Color" - }, - { - "id": 7, - "name": "days", - "type": "Days" - }, - { - "id": 8, - "name": "duration", - "type": "google.protobuf.Duration" - }, - { - "id": 9, - "name": "string_value", - "type": "string" - }, - { - "id": 10, - "name": "int32_value", - "type": "int32" - }, - { - "id": 12, - "name": "nested2", - "type": "testpkg2.Test3" - }, - { - "id": 13, - "name": "nested3", - "type": "NestedMsg" - }, - { - "id": 14, - "name": "nested4", - "type": "testpkg2.Test3.Nested" - }, - { - "id": 15, - "name": "nested5", - "type": "Test4" - }, - { - "id": 16, - "name": "hidden", - "type": "int32" - } - ], - "maps": [ - { - "key_type": "string", - "field": { - "id": 11, - "name": "mapping", - "type": "Color" - } - } - ], - "messages": [ - { - "name": "NestedMsg", - "fields": [ - { - "id": 1, - "name": "field", - "type": "int32" - }, - { - "id": 2, - "name": "field2", - "type": "Nested2Msg" - } - ], - "messages": [ - { - "name": "Nested2Msg" - } - ] - } - ] - }, - { - "name": "HiddenMessage", - "fields": [ - { - "id": 1, - "name": "f1", - "type": "int32" - } - ] - }, - { - "name": "ExperimentalField", - "fields": [ - { - "id": 1, - "name": "f1", - "type": "int32" - }, - { - "id": 2, - "name": "f2", - "type": "int32" - }, - { - "id": 4, - "name": "f3", - "type": "int32" - } - ] - } - ], - "services": [ - { - "name": "Svc", - "rpcs": [ - { - "name": "Check", - "in_type": "Test", - "out_type": "Test2" - }, - { - "name": "Check2", - "in_type": "Test", - "out_type": "Test2" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:istio:/:tools:/:protoc-gen-docs:/:testdata:/:test2.proto", - "def": { - "messages": [ - { - "name": "Test2", - "fields": [ - { - "id": 1, - "name": "field1", - "type": "int32" - }, - { - "id": 2, - "name": "str", - "type": "string", - "is_repeated": true - }, - { - "id": 3, - "name": "field3", - "type": "double" - }, - { - "id": 4, - "name": "field4", - "type": "float" - }, - { - "id": 5, - "name": "field5", - "type": "fixed32" - }, - { - "id": 6, - "name": "field6", - "type": "sfixed32" - }, - { - "id": 7, - "name": "field7", - "type": "sint32" - }, - { - "id": 8, - "name": "field8", - "type": "uint32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:istio:/:tools:/:protoc-gen-docs:/:testdata:/:test3.proto", - "def": { - "enums": [ - { - "name": "Test3.Nested", - "enum_fields": [ - { - "name": "ONE", - "integer": 0 - }, - { - "name": "TWO", - "integer": 1 - }, - { - "name": "THREE", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "Test3", - "fields": [ - { - "id": 1, - "name": "field1", - "type": "int32" - }, - { - "id": 2, - "name": "str", - "type": "string", - "is_repeated": true - }, - { - "id": 3, - "name": "field3", - "type": "double" - }, - { - "id": 4, - "name": "field4", - "type": "float" - }, - { - "id": 5, - "name": "field5", - "type": "fixed32" - }, - { - "id": 6, - "name": "field6", - "type": "sfixed32" - }, - { - "id": 7, - "name": "field7", - "type": "sint32" - }, - { - "id": 8, - "name": "field8", - "type": "uint32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:github.com:/:istio:/:tools:/:protoc-gen-docs:/:testdata:/:test4.proto", - "def": { - "enums": [ - { - "name": "Test4.Nested", - "enum_fields": [ - { - "name": "ONE", - "integer": 0 - }, - { - "name": "TWO", - "integer": 1 - }, - { - "name": "THREE", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "Test4", - "fields": [ - { - "id": 1, - "name": "field1", - "type": "int32" - }, - { - "id": 2, - "name": "str", - "type": "string", - "is_repeated": true - }, - { - "id": 3, - "name": "field3", - "type": "double" - }, - { - "id": 4, - "name": "field4", - "type": "float" - }, - { - "id": 5, - "name": "field5", - "type": "fixed32" - }, - { - "id": 6, - "name": "field6", - "type": "sfixed32" - }, - { - "id": 7, - "name": "field7", - "type": "sint32" - }, - { - "id": 8, - "name": "field8", - "type": "uint32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:benchmark:/:grpc_testing:/:control.proto", - "def": { - "enums": [ - { - "name": "ClientType", - "enum_fields": [ - { - "name": "SYNC_CLIENT", - "integer": 0 - }, - { - "name": "ASYNC_CLIENT", - "integer": 1 - } - ] - }, - { - "name": "ServerType", - "enum_fields": [ - { - "name": "SYNC_SERVER", - "integer": 0 - }, - { - "name": "ASYNC_SERVER", - "integer": 1 - }, - { - "name": "ASYNC_GENERIC_SERVER", - "integer": 2 - } - ] - }, - { - "name": "RpcType", - "enum_fields": [ - { - "name": "UNARY", - "integer": 0 - }, - { - "name": "STREAMING", - "integer": 1 - } - ] - } - ], - "messages": [ - { - "name": "PoissonParams", - "fields": [ - { - "id": 1, - "name": "offered_load", - "type": "double" - } - ] - }, - { - "name": "UniformParams", - "fields": [ - { - "id": 1, - "name": "interarrival_lo", - "type": "double" - }, - { - "id": 2, - "name": "interarrival_hi", - "type": "double" - } - ] - }, - { - "name": "DeterministicParams", - "fields": [ - { - "id": 1, - "name": "offered_load", - "type": "double" - } - ] - }, - { - "name": "ParetoParams", - "fields": [ - { - "id": 1, - "name": "interarrival_base", - "type": "double" - }, - { - "id": 2, - "name": "alpha", - "type": "double" - } - ] - }, - { - "name": "ClosedLoopParams" - }, - { - "name": "LoadParams", - "fields": [ - { - "id": 1, - "name": "closed_loop", - "type": "ClosedLoopParams" - }, - { - "id": 2, - "name": "poisson", - "type": "PoissonParams" - }, - { - "id": 3, - "name": "uniform", - "type": "UniformParams" - }, - { - "id": 4, - "name": "determ", - "type": "DeterministicParams" - }, - { - "id": 5, - "name": "pareto", - "type": "ParetoParams" - } - ] - }, - { - "name": "SecurityParams", - "fields": [ - { - "id": 1, - "name": "use_test_ca", - "type": "bool" - }, - { - "id": 2, - "name": "server_host_override", - "type": "string" - } - ] - }, - { - "name": "ClientConfig", - "fields": [ - { - "id": 1, - "name": "server_targets", - "type": "string", - "is_repeated": true - }, - { - "id": 2, - "name": "client_type", - "type": "ClientType" - }, - { - "id": 3, - "name": "security_params", - "type": "SecurityParams" - }, - { - "id": 4, - "name": "outstanding_rpcs_per_channel", - "type": "int32" - }, - { - "id": 5, - "name": "client_channels", - "type": "int32" - }, - { - "id": 7, - "name": "async_client_threads", - "type": "int32" - }, - { - "id": 8, - "name": "rpc_type", - "type": "RpcType" - }, - { - "id": 10, - "name": "load_params", - "type": "LoadParams" - }, - { - "id": 11, - "name": "payload_config", - "type": "PayloadConfig" - }, - { - "id": 12, - "name": "histogram_params", - "type": "HistogramParams" - }, - { - "id": 13, - "name": "core_list", - "type": "int32", - "is_repeated": true - }, - { - "id": 14, - "name": "core_limit", - "type": "int32" - } - ] - }, - { - "name": "ClientStatus", - "fields": [ - { - "id": 1, - "name": "stats", - "type": "ClientStats" - } - ] - }, - { - "name": "Mark", - "fields": [ - { - "id": 1, - "name": "reset", - "type": "bool" - } - ] - }, - { - "name": "ClientArgs", - "fields": [ - { - "id": 1, - "name": "setup", - "type": "ClientConfig" - }, - { - "id": 2, - "name": "mark", - "type": "Mark" - } - ] - }, - { - "name": "ServerConfig", - "fields": [ - { - "id": 1, - "name": "server_type", - "type": "ServerType" - }, - { - "id": 2, - "name": "security_params", - "type": "SecurityParams" - }, - { - "id": 4, - "name": "port", - "type": "int32" - }, - { - "id": 7, - "name": "async_server_threads", - "type": "int32" - }, - { - "id": 8, - "name": "core_limit", - "type": "int32" - }, - { - "id": 9, - "name": "payload_config", - "type": "PayloadConfig" - }, - { - "id": 10, - "name": "core_list", - "type": "int32", - "is_repeated": true - } - ] - }, - { - "name": "ServerArgs", - "fields": [ - { - "id": 1, - "name": "setup", - "type": "ServerConfig" - }, - { - "id": 2, - "name": "mark", - "type": "Mark" - } - ] - }, - { - "name": "ServerStatus", - "fields": [ - { - "id": 1, - "name": "stats", - "type": "ServerStats" - }, - { - "id": 2, - "name": "port", - "type": "int32" - }, - { - "id": 3, - "name": "cores", - "type": "int32" - } - ] - }, - { - "name": "CoreRequest" - }, - { - "name": "CoreResponse", - "fields": [ - { - "id": 1, - "name": "cores", - "type": "int32" - } - ] - }, - { - "name": "Void" - }, - { - "name": "Scenario", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "client_config", - "type": "ClientConfig" - }, - { - "id": 3, - "name": "num_clients", - "type": "int32" - }, - { - "id": 4, - "name": "server_config", - "type": "ServerConfig" - }, - { - "id": 5, - "name": "num_servers", - "type": "int32" - }, - { - "id": 6, - "name": "warmup_seconds", - "type": "int32" - }, - { - "id": 7, - "name": "benchmark_seconds", - "type": "int32" - }, - { - "id": 8, - "name": "spawn_local_worker_count", - "type": "int32" - } - ] - }, - { - "name": "Scenarios", - "fields": [ - { - "id": 1, - "name": "scenarios", - "type": "Scenario", - "is_repeated": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:benchmark:/:grpc_testing:/:messages.proto", - "def": { - "enums": [ - { - "name": "PayloadType", - "enum_fields": [ - { - "name": "COMPRESSABLE", - "integer": 0 - }, - { - "name": "UNCOMPRESSABLE", - "integer": 1 - }, - { - "name": "RANDOM", - "integer": 2 - } - ] - }, - { - "name": "CompressionType", - "enum_fields": [ - { - "name": "NONE", - "integer": 0 - }, - { - "name": "GZIP", - "integer": 1 - }, - { - "name": "DEFLATE", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "Payload", - "fields": [ - { - "id": 1, - "name": "type", - "type": "PayloadType" - }, - { - "id": 2, - "name": "body", - "type": "bytes" - } - ] - }, - { - "name": "EchoStatus", - "fields": [ - { - "id": 1, - "name": "code", - "type": "int32" - }, - { - "id": 2, - "name": "message", - "type": "string" - } - ] - }, - { - "name": "SimpleRequest", - "fields": [ - { - "id": 1, - "name": "response_type", - "type": "PayloadType" - }, - { - "id": 2, - "name": "response_size", - "type": "int32" - }, - { - "id": 3, - "name": "payload", - "type": "Payload" - }, - { - "id": 4, - "name": "fill_username", - "type": "bool" - }, - { - "id": 5, - "name": "fill_oauth_scope", - "type": "bool" - }, - { - "id": 6, - "name": "response_compression", - "type": "CompressionType" - }, - { - "id": 7, - "name": "response_status", - "type": "EchoStatus" - } - ] - }, - { - "name": "SimpleResponse", - "fields": [ - { - "id": 1, - "name": "payload", - "type": "Payload" - }, - { - "id": 2, - "name": "username", - "type": "string" - }, - { - "id": 3, - "name": "oauth_scope", - "type": "string" - } - ] - }, - { - "name": "StreamingInputCallRequest", - "fields": [ - { - "id": 1, - "name": "payload", - "type": "Payload" - } - ] - }, - { - "name": "StreamingInputCallResponse", - "fields": [ - { - "id": 1, - "name": "aggregated_payload_size", - "type": "int32" - } - ] - }, - { - "name": "ResponseParameters", - "fields": [ - { - "id": 1, - "name": "size", - "type": "int32" - }, - { - "id": 2, - "name": "interval_us", - "type": "int32" - } - ] - }, - { - "name": "StreamingOutputCallRequest", - "fields": [ - { - "id": 1, - "name": "response_type", - "type": "PayloadType" - }, - { - "id": 2, - "name": "response_parameters", - "type": "ResponseParameters", - "is_repeated": true - }, - { - "id": 3, - "name": "payload", - "type": "Payload" - }, - { - "id": 6, - "name": "response_compression", - "type": "CompressionType" - }, - { - "id": 7, - "name": "response_status", - "type": "EchoStatus" - } - ] - }, - { - "name": "StreamingOutputCallResponse", - "fields": [ - { - "id": 1, - "name": "payload", - "type": "Payload" - } - ] - }, - { - "name": "ReconnectParams", - "fields": [ - { - "id": 1, - "name": "max_reconnect_backoff_ms", - "type": "int32" - } - ] - }, - { - "name": "ReconnectInfo", - "fields": [ - { - "id": 1, - "name": "passed", - "type": "bool" - }, - { - "id": 2, - "name": "backoff_ms", - "type": "int32", - "is_repeated": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:benchmark:/:grpc_testing:/:payloads.proto", - "def": { - "messages": [ - { - "name": "ByteBufferParams", - "fields": [ - { - "id": 1, - "name": "req_size", - "type": "int32" - }, - { - "id": 2, - "name": "resp_size", - "type": "int32" - } - ] - }, - { - "name": "SimpleProtoParams", - "fields": [ - { - "id": 1, - "name": "req_size", - "type": "int32" - }, - { - "id": 2, - "name": "resp_size", - "type": "int32" - } - ] - }, - { - "name": "ComplexProtoParams" - }, - { - "name": "PayloadConfig", - "fields": [ - { - "id": 1, - "name": "bytebuf_params", - "type": "ByteBufferParams" - }, - { - "id": 2, - "name": "simple_params", - "type": "SimpleProtoParams" - }, - { - "id": 3, - "name": "complex_params", - "type": "ComplexProtoParams" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:benchmark:/:grpc_testing:/:services.proto", - "def": { - "services": [ - { - "name": "BenchmarkService", - "rpcs": [ - { - "name": "UnaryCall", - "in_type": "SimpleRequest", - "out_type": "SimpleResponse" - }, - { - "name": "StreamingCall", - "in_type": "SimpleRequest", - "out_type": "SimpleResponse", - "in_streamed": true, - "out_streamed": true - } - ] - }, - { - "name": "WorkerService", - "rpcs": [ - { - "name": "RunServer", - "in_type": "ServerArgs", - "out_type": "ServerStatus", - "in_streamed": true, - "out_streamed": true - }, - { - "name": "RunClient", - "in_type": "ClientArgs", - "out_type": "ClientStatus", - "in_streamed": true, - "out_streamed": true - }, - { - "name": "CoreCount", - "in_type": "CoreRequest", - "out_type": "CoreResponse" - }, - { - "name": "QuitWorker", - "in_type": "Void", - "out_type": "Void" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:benchmark:/:grpc_testing:/:stats.proto", - "def": { - "messages": [ - { - "name": "ServerStats", - "fields": [ - { - "id": 1, - "name": "time_elapsed", - "type": "double" - }, - { - "id": 2, - "name": "time_user", - "type": "double" - }, - { - "id": 3, - "name": "time_system", - "type": "double" - } - ] - }, - { - "name": "HistogramParams", - "fields": [ - { - "id": 1, - "name": "resolution", - "type": "double" - }, - { - "id": 2, - "name": "max_possible", - "type": "double" - } - ] - }, - { - "name": "HistogramData", - "fields": [ - { - "id": 1, - "name": "bucket", - "type": "uint32", - "is_repeated": true - }, - { - "id": 2, - "name": "min_seen", - "type": "double" - }, - { - "id": 3, - "name": "max_seen", - "type": "double" - }, - { - "id": 4, - "name": "sum", - "type": "double" - }, - { - "id": 5, - "name": "sum_of_squares", - "type": "double" - }, - { - "id": 6, - "name": "count", - "type": "double" - } - ] - }, - { - "name": "ClientStats", - "fields": [ - { - "id": 1, - "name": "latencies", - "type": "HistogramData" - }, - { - "id": 2, - "name": "time_elapsed", - "type": "double" - }, - { - "id": 3, - "name": "time_user", - "type": "double" - }, - { - "id": 4, - "name": "time_system", - "type": "double" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:examples:/:helloworld:/:helloworld:/:helloworld.proto", - "def": { - "messages": [ - { - "name": "HelloRequest", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - } - ] - }, - { - "name": "HelloReply", - "fields": [ - { - "id": 1, - "name": "message", - "type": "string" - } - ] - } - ], - "services": [ - { - "name": "Greeter", - "rpcs": [ - { - "name": "SayHello", - "in_type": "HelloRequest", - "out_type": "HelloReply" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:examples:/:route_guide:/:routeguide:/:route_guide.proto", - "def": { - "messages": [ - { - "name": "Point", - "fields": [ - { - "id": 1, - "name": "latitude", - "type": "int32" - }, - { - "id": 2, - "name": "longitude", - "type": "int32" - } - ] - }, - { - "name": "Rectangle", - "fields": [ - { - "id": 1, - "name": "lo", - "type": "Point" - }, - { - "id": 2, - "name": "hi", - "type": "Point" - } - ] - }, - { - "name": "Feature", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "location", - "type": "Point" - } - ] - }, - { - "name": "RouteNote", - "fields": [ - { - "id": 1, - "name": "location", - "type": "Point" - }, - { - "id": 2, - "name": "message", - "type": "string" - } - ] - }, - { - "name": "RouteSummary", - "fields": [ - { - "id": 1, - "name": "point_count", - "type": "int32" - }, - { - "id": 2, - "name": "feature_count", - "type": "int32" - }, - { - "id": 3, - "name": "distance", - "type": "int32" - }, - { - "id": 4, - "name": "elapsed_time", - "type": "int32" - } - ] - } - ], - "services": [ - { - "name": "RouteGuide", - "rpcs": [ - { - "name": "GetFeature", - "in_type": "Point", - "out_type": "Feature" - }, - { - "name": "ListFeatures", - "in_type": "Rectangle", - "out_type": "Feature", - "out_streamed": true - }, - { - "name": "RecordRoute", - "in_type": "Point", - "out_type": "RouteSummary", - "in_streamed": true - }, - { - "name": "RouteChat", - "in_type": "RouteNote", - "out_type": "RouteNote", - "in_streamed": true, - "out_streamed": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:grpclb:/:grpc_lb_v1:/:messages:/:messages.proto", - "def": { - "messages": [ - { - "name": "Duration", - "fields": [ - { - "id": 1, - "name": "seconds", - "type": "int64" - }, - { - "id": 2, - "name": "nanos", - "type": "int32" - } - ] - }, - { - "name": "Timestamp", - "fields": [ - { - "id": 1, - "name": "seconds", - "type": "int64" - }, - { - "id": 2, - "name": "nanos", - "type": "int32" - } - ] - }, - { - "name": "LoadBalanceRequest", - "fields": [ - { - "id": 1, - "name": "initial_request", - "type": "InitialLoadBalanceRequest" - }, - { - "id": 2, - "name": "client_stats", - "type": "ClientStats" - } - ] - }, - { - "name": "InitialLoadBalanceRequest", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - } - ] - }, - { - "name": "ClientStats", - "fields": [ - { - "id": 1, - "name": "timestamp", - "type": "Timestamp" - }, - { - "id": 2, - "name": "num_calls_started", - "type": "int64" - }, - { - "id": 3, - "name": "num_calls_finished", - "type": "int64" - }, - { - "id": 4, - "name": "num_calls_finished_with_drop_for_rate_limiting", - "type": "int64" - }, - { - "id": 5, - "name": "num_calls_finished_with_drop_for_load_balancing", - "type": "int64" - }, - { - "id": 6, - "name": "num_calls_finished_with_client_failed_to_send", - "type": "int64" - }, - { - "id": 7, - "name": "num_calls_finished_known_received", - "type": "int64" - } - ] - }, - { - "name": "LoadBalanceResponse", - "fields": [ - { - "id": 1, - "name": "initial_response", - "type": "InitialLoadBalanceResponse" - }, - { - "id": 2, - "name": "server_list", - "type": "ServerList" - } - ] - }, - { - "name": "InitialLoadBalanceResponse", - "fields": [ - { - "id": 1, - "name": "load_balancer_delegate", - "type": "string" - }, - { - "id": 2, - "name": "client_stats_report_interval", - "type": "Duration" - } - ] - }, - { - "name": "ServerList", - "fields": [ - { - "id": 1, - "name": "servers", - "type": "Server", - "is_repeated": true - } - ], - "reserved_ids": [ - 3 - ] - }, - { - "name": "Server", - "fields": [ - { - "id": 1, - "name": "ip_address", - "type": "bytes" - }, - { - "id": 2, - "name": "port", - "type": "int32" - }, - { - "id": 3, - "name": "load_balance_token", - "type": "string" - }, - { - "id": 4, - "name": "drop_for_rate_limiting", - "type": "bool" - }, - { - "id": 5, - "name": "drop_for_load_balancing", - "type": "bool" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:grpclb:/:grpc_lb_v1:/:service:/:service.proto", - "def": { - "services": [ - { - "name": "LoadBalancer", - "rpcs": [ - { - "name": "BalanceLoad", - "in_type": "LoadBalanceRequest", - "out_type": "LoadBalanceResponse", - "in_streamed": true, - "out_streamed": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:health:/:grpc_health_v1:/:health.proto", - "def": { - "enums": [ - { - "name": "HealthCheckResponse.ServingStatus", - "enum_fields": [ - { - "name": "UNKNOWN", - "integer": 0 - }, - { - "name": "SERVING", - "integer": 1 - }, - { - "name": "NOT_SERVING", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "HealthCheckRequest", - "fields": [ - { - "id": 1, - "name": "service", - "type": "string" - } - ] - }, - { - "name": "HealthCheckResponse", - "fields": [ - { - "id": 1, - "name": "status", - "type": "ServingStatus" - } - ] - } - ], - "services": [ - { - "name": "Health", - "rpcs": [ - { - "name": "Check", - "in_type": "HealthCheckRequest", - "out_type": "HealthCheckResponse" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:interop:/:grpc_testing:/:test.proto", - "def": { - "enums": [ - { - "name": "PayloadType", - "enum_fields": [ - { - "name": "COMPRESSABLE", - "integer": 0 - }, - { - "name": "UNCOMPRESSABLE", - "integer": 1 - }, - { - "name": "RANDOM", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "Empty" - }, - { - "name": "Payload", - "fields": [ - { - "id": 1, - "name": "type", - "type": "PayloadType" - }, - { - "id": 2, - "name": "body", - "type": "bytes" - } - ] - }, - { - "name": "EchoStatus", - "fields": [ - { - "id": 1, - "name": "code", - "type": "int32" - }, - { - "id": 2, - "name": "message", - "type": "string" - } - ] - }, - { - "name": "SimpleRequest", - "fields": [ - { - "id": 1, - "name": "response_type", - "type": "PayloadType" - }, - { - "id": 2, - "name": "response_size", - "type": "int32" - }, - { - "id": 3, - "name": "payload", - "type": "Payload" - }, - { - "id": 4, - "name": "fill_username", - "type": "bool" - }, - { - "id": 5, - "name": "fill_oauth_scope", - "type": "bool" - }, - { - "id": 7, - "name": "response_status", - "type": "EchoStatus" - } - ] - }, - { - "name": "SimpleResponse", - "fields": [ - { - "id": 1, - "name": "payload", - "type": "Payload" - }, - { - "id": 2, - "name": "username", - "type": "string" - }, - { - "id": 3, - "name": "oauth_scope", - "type": "string" - } - ] - }, - { - "name": "StreamingInputCallRequest", - "fields": [ - { - "id": 1, - "name": "payload", - "type": "Payload" - } - ] - }, - { - "name": "StreamingInputCallResponse", - "fields": [ - { - "id": 1, - "name": "aggregated_payload_size", - "type": "int32" - } - ] - }, - { - "name": "ResponseParameters", - "fields": [ - { - "id": 1, - "name": "size", - "type": "int32" - }, - { - "id": 2, - "name": "interval_us", - "type": "int32" - } - ] - }, - { - "name": "StreamingOutputCallRequest", - "fields": [ - { - "id": 1, - "name": "response_type", - "type": "PayloadType" - }, - { - "id": 2, - "name": "response_parameters", - "type": "ResponseParameters", - "is_repeated": true - }, - { - "id": 3, - "name": "payload", - "type": "Payload" - }, - { - "id": 7, - "name": "response_status", - "type": "EchoStatus" - } - ] - }, - { - "name": "StreamingOutputCallResponse", - "fields": [ - { - "id": 1, - "name": "payload", - "type": "Payload" - } - ] - } - ], - "services": [ - { - "name": "TestService", - "rpcs": [ - { - "name": "EmptyCall", - "in_type": "Empty", - "out_type": "Empty" - }, - { - "name": "UnaryCall", - "in_type": "SimpleRequest", - "out_type": "SimpleResponse" - }, - { - "name": "StreamingOutputCall", - "in_type": "StreamingOutputCallRequest", - "out_type": "StreamingOutputCallResponse", - "out_streamed": true - }, - { - "name": "StreamingInputCall", - "in_type": "StreamingInputCallRequest", - "out_type": "StreamingInputCallResponse", - "in_streamed": true - }, - { - "name": "FullDuplexCall", - "in_type": "StreamingOutputCallRequest", - "out_type": "StreamingOutputCallResponse", - "in_streamed": true, - "out_streamed": true - }, - { - "name": "HalfDuplexCall", - "in_type": "StreamingOutputCallRequest", - "out_type": "StreamingOutputCallResponse", - "in_streamed": true, - "out_streamed": true - } - ] - }, - { - "name": "UnimplementedService", - "rpcs": [ - { - "name": "UnimplementedCall", - "in_type": "grpc.testing.Empty", - "out_type": "grpc.testing.Empty" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:reflection:/:grpc_reflection_v1alpha:/:reflection.proto", - "def": { - "messages": [ - { - "name": "ServerReflectionRequest", - "fields": [ - { - "id": 1, - "name": "host", - "type": "string" - }, - { - "id": 3, - "name": "file_by_filename", - "type": "string" - }, - { - "id": 4, - "name": "file_containing_symbol", - "type": "string" - }, - { - "id": 5, - "name": "file_containing_extension", - "type": "ExtensionRequest" - }, - { - "id": 6, - "name": "all_extension_numbers_of_type", - "type": "string" - }, - { - "id": 7, - "name": "list_services", - "type": "string" - } - ] - }, - { - "name": "ExtensionRequest", - "fields": [ - { - "id": 1, - "name": "containing_type", - "type": "string" - }, - { - "id": 2, - "name": "extension_number", - "type": "int32" - } - ] - }, - { - "name": "ServerReflectionResponse", - "fields": [ - { - "id": 1, - "name": "valid_host", - "type": "string" - }, - { - "id": 2, - "name": "original_request", - "type": "ServerReflectionRequest" - }, - { - "id": 4, - "name": "file_descriptor_response", - "type": "FileDescriptorResponse" - }, - { - "id": 5, - "name": "all_extension_numbers_response", - "type": "ExtensionNumberResponse" - }, - { - "id": 6, - "name": "list_services_response", - "type": "ListServiceResponse" - }, - { - "id": 7, - "name": "error_response", - "type": "ErrorResponse" - } - ] - }, - { - "name": "FileDescriptorResponse", - "fields": [ - { - "id": 1, - "name": "file_descriptor_proto", - "type": "bytes", - "is_repeated": true - } - ] - }, - { - "name": "ExtensionNumberResponse", - "fields": [ - { - "id": 1, - "name": "base_type_name", - "type": "string" - }, - { - "id": 2, - "name": "extension_number", - "type": "int32", - "is_repeated": true - } - ] - }, - { - "name": "ListServiceResponse", - "fields": [ - { - "id": 1, - "name": "service", - "type": "ServiceResponse", - "is_repeated": true - } - ] - }, - { - "name": "ServiceResponse", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - } - ] - }, - { - "name": "ErrorResponse", - "fields": [ - { - "id": 1, - "name": "error_code", - "type": "int32" - }, - { - "id": 2, - "name": "error_message", - "type": "string" - } - ] - } - ], - "services": [ - { - "name": "ServerReflection", - "rpcs": [ - { - "name": "ServerReflectionInfo", - "in_type": "ServerReflectionRequest", - "out_type": "ServerReflectionResponse", - "in_streamed": true, - "out_streamed": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:reflection:/:grpc_testing:/:proto2.proto", - "def": { - "messages": [ - { - "name": "ToBeExtended", - "fields": [ - { - "id": 1, - "name": "foo", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:reflection:/:grpc_testing:/:proto2_ext.proto", - "def": { - "messages": [ - { - "name": "ToBeExtended", - "fields": [ - { - "id": 13, - "name": "foo", - "type": "int32" - }, - { - "id": 17, - "name": "bar", - "type": "Extension" - }, - { - "id": 19, - "name": "baz", - "type": "SearchRequest" - } - ] - }, - { - "name": "Extension", - "fields": [ - { - "id": 1, - "name": "whatzit", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:reflection:/:grpc_testing:/:proto2_ext2.proto", - "def": { - "messages": [ - { - "name": "ToBeExtended", - "fields": [ - { - "id": 23, - "name": "frob", - "type": "string" - }, - { - "id": 29, - "name": "nitz", - "type": "AnotherExtension" - } - ] - }, - { - "name": "AnotherExtension", - "fields": [ - { - "id": 1, - "name": "whatchamacallit", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:reflection:/:grpc_testing:/:test.proto", - "def": { - "messages": [ - { - "name": "SearchResponse", - "fields": [ - { - "id": 1, - "name": "results", - "type": "Result", - "is_repeated": true - } - ], - "messages": [ - { - "name": "Result", - "fields": [ - { - "id": 1, - "name": "url", - "type": "string" - }, - { - "id": 2, - "name": "title", - "type": "string" - }, - { - "id": 3, - "name": "snippets", - "type": "string", - "is_repeated": true - } - ] - } - ] - }, - { - "name": "SearchRequest", - "fields": [ - { - "id": 1, - "name": "query", - "type": "string" - } - ] - } - ], - "services": [ - { - "name": "SearchService", - "rpcs": [ - { - "name": "Search", - "in_type": "SearchRequest", - "out_type": "SearchResponse" - }, - { - "name": "StreamingSearch", - "in_type": "SearchRequest", - "out_type": "SearchResponse", - "in_streamed": true, - "out_streamed": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:reflection:/:grpc_testingv3:/:testv3.proto", - "def": { - "messages": [ - { - "name": "SearchResponseV3", - "fields": [ - { - "id": 1, - "name": "results", - "type": "Result", - "is_repeated": true - } - ], - "messages": [ - { - "name": "Result", - "fields": [ - { - "id": 1, - "name": "url", - "type": "string" - }, - { - "id": 2, - "name": "title", - "type": "string" - }, - { - "id": 3, - "name": "snippets", - "type": "string", - "is_repeated": true - } - ] - } - ] - }, - { - "name": "SearchRequestV3", - "fields": [ - { - "id": 1, - "name": "query", - "type": "string" - } - ] - } - ], - "services": [ - { - "name": "SearchServiceV3", - "rpcs": [ - { - "name": "Search", - "in_type": "SearchRequestV3", - "out_type": "SearchResponseV3" - }, - { - "name": "StreamingSearch", - "in_type": "SearchRequestV3", - "out_type": "SearchResponseV3", - "in_streamed": true, - "out_streamed": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:stats:/:grpc_testing:/:test.proto", - "def": { - "messages": [ - { - "name": "SimpleRequest", - "fields": [ - { - "id": 2, - "name": "id", - "type": "int32" - } - ] - }, - { - "name": "SimpleResponse", - "fields": [ - { - "id": 3, - "name": "id", - "type": "int32" - } - ] - } - ], - "services": [ - { - "name": "TestService", - "rpcs": [ - { - "name": "UnaryCall", - "in_type": "SimpleRequest", - "out_type": "SimpleResponse" - }, - { - "name": "FullDuplexCall", - "in_type": "SimpleRequest", - "out_type": "SimpleResponse", - "in_streamed": true, - "out_streamed": true - }, - { - "name": "ClientStreamCall", - "in_type": "SimpleRequest", - "out_type": "SimpleResponse", - "in_streamed": true - }, - { - "name": "ServerStreamCall", - "in_type": "SimpleRequest", - "out_type": "SimpleResponse", - "out_streamed": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:stress:/:grpc_testing:/:metrics.proto", - "def": { - "messages": [ - { - "name": "GaugeResponse", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "long_value", - "type": "int64" - }, - { - "id": 3, - "name": "double_value", - "type": "double" - }, - { - "id": 4, - "name": "string_value", - "type": "string" - } - ] - }, - { - "name": "GaugeRequest", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - } - ] - }, - { - "name": "EmptyMessage" - } - ], - "services": [ - { - "name": "MetricsService", - "rpcs": [ - { - "name": "GetAllGauges", - "in_type": "EmptyMessage", - "out_type": "GaugeResponse", - "out_streamed": true - }, - { - "name": "GetGauge", - "in_type": "GaugeRequest", - "out_type": "GaugeResponse" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:test:/:codec_perf:/:perf.proto", - "def": { - "messages": [ - { - "name": "Buffer", - "fields": [ - { - "id": 1, - "name": "body", - "type": "bytes" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:google.golang.org:/:grpc:/:test:/:grpc_testing:/:test.proto", - "def": { - "enums": [ - { - "name": "PayloadType", - "enum_fields": [ - { - "name": "COMPRESSABLE", - "integer": 0 - }, - { - "name": "UNCOMPRESSABLE", - "integer": 1 - }, - { - "name": "RANDOM", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "Empty" - }, - { - "name": "Payload", - "fields": [ - { - "id": 1, - "name": "type", - "type": "PayloadType" - }, - { - "id": 2, - "name": "body", - "type": "bytes" - } - ] - }, - { - "name": "SimpleRequest", - "fields": [ - { - "id": 1, - "name": "response_type", - "type": "PayloadType" - }, - { - "id": 2, - "name": "response_size", - "type": "int32" - }, - { - "id": 3, - "name": "payload", - "type": "Payload" - }, - { - "id": 4, - "name": "fill_username", - "type": "bool" - }, - { - "id": 5, - "name": "fill_oauth_scope", - "type": "bool" - } - ] - }, - { - "name": "SimpleResponse", - "fields": [ - { - "id": 1, - "name": "payload", - "type": "Payload" - }, - { - "id": 2, - "name": "username", - "type": "string" - }, - { - "id": 3, - "name": "oauth_scope", - "type": "string" - } - ] - }, - { - "name": "StreamingInputCallRequest", - "fields": [ - { - "id": 1, - "name": "payload", - "type": "Payload" - } - ] - }, - { - "name": "StreamingInputCallResponse", - "fields": [ - { - "id": 1, - "name": "aggregated_payload_size", - "type": "int32" - } - ] - }, - { - "name": "ResponseParameters", - "fields": [ - { - "id": 1, - "name": "size", - "type": "int32" - }, - { - "id": 2, - "name": "interval_us", - "type": "int32" - } - ] - }, - { - "name": "StreamingOutputCallRequest", - "fields": [ - { - "id": 1, - "name": "response_type", - "type": "PayloadType" - }, - { - "id": 2, - "name": "response_parameters", - "type": "ResponseParameters", - "is_repeated": true - }, - { - "id": 3, - "name": "payload", - "type": "Payload" - } - ] - }, - { - "name": "StreamingOutputCallResponse", - "fields": [ - { - "id": 1, - "name": "payload", - "type": "Payload" - } - ] - } - ], - "services": [ - { - "name": "TestService", - "rpcs": [ - { - "name": "EmptyCall", - "in_type": "Empty", - "out_type": "Empty" - }, - { - "name": "UnaryCall", - "in_type": "SimpleRequest", - "out_type": "SimpleResponse" - }, - { - "name": "StreamingOutputCall", - "in_type": "StreamingOutputCallRequest", - "out_type": "StreamingOutputCallResponse", - "out_streamed": true - }, - { - "name": "StreamingInputCall", - "in_type": "StreamingInputCallRequest", - "out_type": "StreamingInputCallResponse", - "in_streamed": true - }, - { - "name": "FullDuplexCall", - "in_type": "StreamingOutputCallRequest", - "out_type": "StreamingOutputCallResponse", - "in_streamed": true, - "out_streamed": true - }, - { - "name": "HalfDuplexCall", - "in_type": "StreamingOutputCallRequest", - "out_type": "StreamingOutputCallResponse", - "in_streamed": true, - "out_streamed": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:api:/:annotations.proto", - "def": { - "messages": [ - { - "name": "google.protobuf.MethodOptions", - "fields": [ - { - "id": 72295728, - "name": "http", - "type": "HttpRule" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:api:/:http.proto", - "def": { - "messages": [ - { - "name": "Http", - "fields": [ - { - "id": 1, - "name": "rules", - "type": "HttpRule", - "is_repeated": true - } - ] - }, - { - "name": "HttpRule", - "fields": [ - { - "id": 1, - "name": "selector", - "type": "string" - }, - { - "id": 2, - "name": "get", - "type": "string" - }, - { - "id": 3, - "name": "put", - "type": "string" - }, - { - "id": 4, - "name": "post", - "type": "string" - }, - { - "id": 5, - "name": "delete", - "type": "string" - }, - { - "id": 6, - "name": "patch", - "type": "string" - }, - { - "id": 8, - "name": "custom", - "type": "CustomHttpPattern" - }, - { - "id": 7, - "name": "body", - "type": "string" - }, - { - "id": 11, - "name": "additional_bindings", - "type": "HttpRule", - "is_repeated": true - } - ] - }, - { - "name": "CustomHttpPattern", - "fields": [ - { - "id": 1, - "name": "kind", - "type": "string" - }, - { - "id": 2, - "name": "path", - "type": "string" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:rpc:/:code.proto", - "def": { - "enums": [ - { - "name": "Code", - "enum_fields": [ - { - "name": "OK", - "integer": 0 - }, - { - "name": "CANCELLED", - "integer": 1 - }, - { - "name": "UNKNOWN", - "integer": 2 - }, - { - "name": "INVALID_ARGUMENT", - "integer": 3 - }, - { - "name": "DEADLINE_EXCEEDED", - "integer": 4 - }, - { - "name": "NOT_FOUND", - "integer": 5 - }, - { - "name": "ALREADY_EXISTS", - "integer": 6 - }, - { - "name": "PERMISSION_DENIED", - "integer": 7 - }, - { - "name": "UNAUTHENTICATED", - "integer": 16 - }, - { - "name": "RESOURCE_EXHAUSTED", - "integer": 8 - }, - { - "name": "FAILED_PRECONDITION", - "integer": 9 - }, - { - "name": "ABORTED", - "integer": 10 - }, - { - "name": "OUT_OF_RANGE", - "integer": 11 - }, - { - "name": "UNIMPLEMENTED", - "integer": 12 - }, - { - "name": "INTERNAL", - "integer": 13 - }, - { - "name": "UNAVAILABLE", - "integer": 14 - }, - { - "name": "DATA_LOSS", - "integer": 15 - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:rpc:/:error_details.proto", - "def": { - "messages": [ - { - "name": "RetryInfo", - "fields": [ - { - "id": 1, - "name": "retry_delay", - "type": "google.protobuf.Duration" - } - ] - }, - { - "name": "DebugInfo", - "fields": [ - { - "id": 1, - "name": "stack_entries", - "type": "string", - "is_repeated": true - }, - { - "id": 2, - "name": "detail", - "type": "string" - } - ] - }, - { - "name": "QuotaFailure", - "fields": [ - { - "id": 1, - "name": "violations", - "type": "Violation", - "is_repeated": true - } - ], - "messages": [ - { - "name": "Violation", - "fields": [ - { - "id": 1, - "name": "subject", - "type": "string" - }, - { - "id": 2, - "name": "description", - "type": "string" - } - ] - } - ] - }, - { - "name": "PreconditionFailure", - "fields": [ - { - "id": 1, - "name": "violations", - "type": "Violation", - "is_repeated": true - } - ], - "messages": [ - { - "name": "Violation", - "fields": [ - { - "id": 1, - "name": "type", - "type": "string" - }, - { - "id": 2, - "name": "subject", - "type": "string" - }, - { - "id": 3, - "name": "description", - "type": "string" - } - ] - } - ] - }, - { - "name": "BadRequest", - "fields": [ - { - "id": 1, - "name": "field_violations", - "type": "FieldViolation", - "is_repeated": true - } - ], - "messages": [ - { - "name": "FieldViolation", - "fields": [ - { - "id": 1, - "name": "field", - "type": "string" - }, - { - "id": 2, - "name": "description", - "type": "string" - } - ] - } - ] - }, - { - "name": "RequestInfo", - "fields": [ - { - "id": 1, - "name": "request_id", - "type": "string" - }, - { - "id": 2, - "name": "serving_data", - "type": "string" - } - ] - }, - { - "name": "ResourceInfo", - "fields": [ - { - "id": 1, - "name": "resource_type", - "type": "string" - }, - { - "id": 2, - "name": "resource_name", - "type": "string" - }, - { - "id": 3, - "name": "owner", - "type": "string" - }, - { - "id": 4, - "name": "description", - "type": "string" - } - ] - }, - { - "name": "Help", - "fields": [ - { - "id": 1, - "name": "links", - "type": "Link", - "is_repeated": true - } - ], - "messages": [ - { - "name": "Link", - "fields": [ - { - "id": 1, - "name": "description", - "type": "string" - }, - { - "id": 2, - "name": "url", - "type": "string" - } - ] - } - ] - }, - { - "name": "LocalizedMessage", - "fields": [ - { - "id": 1, - "name": "locale", - "type": "string" - }, - { - "id": 2, - "name": "message", - "type": "string" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:rpc:/:status.proto", - "def": { - "messages": [ - { - "name": "Status", - "fields": [ - { - "id": 1, - "name": "code", - "type": "int32" - }, - { - "id": 2, - "name": "message", - "type": "string" - }, - { - "id": 3, - "name": "details", - "type": "google.protobuf.Any", - "is_repeated": true - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:type:/:color.proto", - "def": { - "messages": [ - { - "name": "Color", - "fields": [ - { - "id": 1, - "name": "red", - "type": "float" - }, - { - "id": 2, - "name": "green", - "type": "float" - }, - { - "id": 3, - "name": "blue", - "type": "float" - }, - { - "id": 4, - "name": "alpha", - "type": "google.protobuf.FloatValue" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:type:/:date.proto", - "def": { - "messages": [ - { - "name": "Date", - "fields": [ - { - "id": 1, - "name": "year", - "type": "int32" - }, - { - "id": 2, - "name": "month", - "type": "int32" - }, - { - "id": 3, - "name": "day", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:type:/:dayofweek.proto", - "def": { - "enums": [ - { - "name": "DayOfWeek", - "enum_fields": [ - { - "name": "DAY_OF_WEEK_UNSPECIFIED", - "integer": 0 - }, - { - "name": "MONDAY", - "integer": 1 - }, - { - "name": "TUESDAY", - "integer": 2 - }, - { - "name": "WEDNESDAY", - "integer": 3 - }, - { - "name": "THURSDAY", - "integer": 4 - }, - { - "name": "FRIDAY", - "integer": 5 - }, - { - "name": "SATURDAY", - "integer": 6 - }, - { - "name": "SUNDAY", - "integer": 7 - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:type:/:latlng.proto", - "def": { - "messages": [ - { - "name": "LatLng", - "fields": [ - { - "id": 1, - "name": "latitude", - "type": "double" - }, - { - "id": 2, - "name": "longitude", - "type": "double" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:type:/:money.proto", - "def": { - "messages": [ - { - "name": "Money", - "fields": [ - { - "id": 1, - "name": "currency_code", - "type": "string" - }, - { - "id": 2, - "name": "units", - "type": "int64" - }, - { - "id": 3, - "name": "nanos", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:type:/:postal_address.proto", - "def": { - "messages": [ - { - "name": "PostalAddress", - "fields": [ - { - "id": 1, - "name": "revision", - "type": "int32" - }, - { - "id": 2, - "name": "region_code", - "type": "string" - }, - { - "id": 3, - "name": "language_code", - "type": "string" - }, - { - "id": 4, - "name": "postal_code", - "type": "string" - }, - { - "id": 5, - "name": "sorting_code", - "type": "string" - }, - { - "id": 6, - "name": "administrative_area", - "type": "string" - }, - { - "id": 7, - "name": "locality", - "type": "string" - }, - { - "id": 8, - "name": "sublocality", - "type": "string" - }, - { - "id": 9, - "name": "address_lines", - "type": "string", - "is_repeated": true - }, - { - "id": 10, - "name": "recipients", - "type": "string", - "is_repeated": true - }, - { - "id": 11, - "name": "organization", - "type": "string" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:istio.io:/:gogo-genproto:/:googleapis:/:google:/:type:/:timeofday.proto", - "def": { - "messages": [ - { - "name": "TimeOfDay", - "fields": [ - { - "id": 1, - "name": "hours", - "type": "int32" - }, - { - "id": 2, - "name": "minutes", - "type": "int32" - }, - { - "id": 3, - "name": "seconds", - "type": "int32" - }, - { - "id": 4, - "name": "nanos", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:istio.io:/:gogo-genproto:/:opencensus:/:proto:/:stats:/:stats.proto", - "def": { - "enums": [ - { - "name": "MeasurementDescriptor.BasicUnit", - "enum_fields": [ - { - "name": "UNKNOWN", - "integer": 0 - }, - { - "name": "SCALAR", - "integer": 1 - }, - { - "name": "BITS", - "integer": 2 - }, - { - "name": "BYTES", - "integer": 3 - }, - { - "name": "SECONDS", - "integer": 4 - }, - { - "name": "CORES", - "integer": 5 - }, - { - "name": "MAX_UNITS", - "integer": 6 - } - ] - } - ], - "messages": [ - { - "name": "MeasurementDescriptor", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "description", - "type": "string" - }, - { - "id": 3, - "name": "unit", - "type": "MeasurementUnit" - } - ], - "messages": [ - { - "name": "MeasurementUnit", - "fields": [ - { - "id": 1, - "name": "power10", - "type": "int32" - }, - { - "id": 2, - "name": "numerators", - "type": "BasicUnit", - "is_repeated": true - }, - { - "id": 3, - "name": "denominators", - "type": "BasicUnit", - "is_repeated": true - } - ] - } - ] - }, - { - "name": "DistributionAggregation", - "fields": [ - { - "id": 1, - "name": "count", - "type": "int64" - }, - { - "id": 2, - "name": "mean", - "type": "double" - }, - { - "id": 3, - "name": "sum", - "type": "double" - }, - { - "id": 4, - "name": "range", - "type": "Range" - }, - { - "id": 5, - "name": "bucket_counts", - "type": "int64", - "is_repeated": true - }, - { - "id": 6, - "name": "tags", - "type": "Tag", - "is_repeated": true - } - ], - "messages": [ - { - "name": "Range", - "fields": [ - { - "id": 1, - "name": "min", - "type": "double" - }, - { - "id": 2, - "name": "max", - "type": "double" - } - ] - } - ] - }, - { - "name": "DistributionAggregationDescriptor", - "fields": [ - { - "id": 1, - "name": "bucket_bounds", - "type": "double", - "is_repeated": true - } - ] - }, - { - "name": "IntervalAggregation", - "fields": [ - { - "id": 1, - "name": "intervals", - "type": "Interval", - "is_repeated": true - }, - { - "id": 2, - "name": "tags", - "type": "Tag", - "is_repeated": true - } - ], - "messages": [ - { - "name": "Interval", - "fields": [ - { - "id": 1, - "name": "interval_size", - "type": "google.protobuf.Duration" - }, - { - "id": 2, - "name": "count", - "type": "double" - }, - { - "id": 3, - "name": "sum", - "type": "double" - } - ] - } - ] - }, - { - "name": "IntervalAggregationDescriptor", - "fields": [ - { - "id": 1, - "name": "n_sub_intervals", - "type": "int32" - }, - { - "id": 2, - "name": "interval_sizes", - "type": "google.protobuf.Duration", - "is_repeated": true - } - ] - }, - { - "name": "Tag", - "fields": [ - { - "id": 1, - "name": "key", - "type": "string" - }, - { - "id": 2, - "name": "value", - "type": "string" - } - ] - }, - { - "name": "ViewDescriptor", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "description", - "type": "string" - }, - { - "id": 3, - "name": "measurement_descriptor_name", - "type": "string" - }, - { - "id": 4, - "name": "interval_aggregation", - "type": "IntervalAggregationDescriptor" - }, - { - "id": 5, - "name": "distribution_aggregation", - "type": "DistributionAggregationDescriptor" - }, - { - "id": 6, - "name": "tag_keys", - "type": "string", - "is_repeated": true - } - ] - }, - { - "name": "DistributionView", - "fields": [ - { - "id": 1, - "name": "aggregations", - "type": "DistributionAggregation", - "is_repeated": true - }, - { - "id": 2, - "name": "start", - "type": "google.protobuf.Timestamp" - }, - { - "id": 3, - "name": "end", - "type": "google.protobuf.Timestamp" - } - ] - }, - { - "name": "IntervalView", - "fields": [ - { - "id": 1, - "name": "aggregations", - "type": "IntervalAggregation", - "is_repeated": true - } - ] - }, - { - "name": "View", - "fields": [ - { - "id": 1, - "name": "view_name", - "type": "string" - }, - { - "id": 2, - "name": "distribution_view", - "type": "DistributionView" - }, - { - "id": 3, - "name": "interval_view", - "type": "IntervalView" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:istio.io:/:gogo-genproto:/:opencensus:/:proto:/:trace:/:trace.proto", - "def": { - "enums": [ - { - "name": "MessageEvent.Type", - "enum_fields": [ - { - "name": "TYPE_UNSPECIFIED", - "integer": 0 - }, - { - "name": "SENT", - "integer": 1 - }, - { - "name": "RECEIVED", - "integer": 2 - } - ] - }, - { - "name": "Link.Type", - "enum_fields": [ - { - "name": "TYPE_UNSPECIFIED", - "integer": 0 - }, - { - "name": "CHILD_LINKED_SPAN", - "integer": 1 - }, - { - "name": "PARENT_LINKED_SPAN", - "integer": 2 - } - ] - } - ], - "messages": [ - { - "name": "Span", - "fields": [ - { - "id": 1, - "name": "trace_id", - "type": "bytes" - }, - { - "id": 2, - "name": "span_id", - "type": "bytes" - }, - { - "id": 3, - "name": "parent_span_id", - "type": "bytes" - }, - { - "id": 4, - "name": "name", - "type": "TruncatableString" - }, - { - "id": 5, - "name": "start_time", - "type": "google.protobuf.Timestamp" - }, - { - "id": 6, - "name": "end_time", - "type": "google.protobuf.Timestamp" - }, - { - "id": 7, - "name": "attributes", - "type": "Attributes" - }, - { - "id": 8, - "name": "stack_trace", - "type": "StackTrace" - }, - { - "id": 9, - "name": "time_events", - "type": "TimeEvents" - }, - { - "id": 10, - "name": "links", - "type": "Links" - }, - { - "id": 11, - "name": "status", - "type": "Status" - }, - { - "id": 12, - "name": "same_process_as_parent_span", - "type": "google.protobuf.BoolValue" - }, - { - "id": 13, - "name": "child_span_count", - "type": "google.protobuf.UInt32Value" - } - ], - "messages": [ - { - "name": "Attributes", - "fields": [ - { - "id": 2, - "name": "dropped_attributes_count", - "type": "int32" - } - ], - "maps": [ - { - "key_type": "string", - "field": { - "id": 1, - "name": "attribute_map", - "type": "AttributeValue" - } - } - ] - }, - { - "name": "TimeEvent", - "fields": [ - { - "id": 1, - "name": "time", - "type": "google.protobuf.Timestamp" - }, - { - "id": 2, - "name": "annotation", - "type": "Annotation" - }, - { - "id": 3, - "name": "message_event", - "type": "MessageEvent" - } - ], - "messages": [ - { - "name": "Annotation", - "fields": [ - { - "id": 1, - "name": "description", - "type": "TruncatableString" - }, - { - "id": 2, - "name": "attributes", - "type": "Attributes" - } - ] - }, - { - "name": "MessageEvent", - "fields": [ - { - "id": 1, - "name": "type", - "type": "Type" - }, - { - "id": 2, - "name": "id", - "type": "uint64" - }, - { - "id": 3, - "name": "uncompressed_size", - "type": "uint64" - }, - { - "id": 4, - "name": "compressed_size", - "type": "uint64" - } - ] - } - ] - }, - { - "name": "TimeEvents", - "fields": [ - { - "id": 1, - "name": "time_event", - "type": "TimeEvent", - "is_repeated": true - }, - { - "id": 2, - "name": "dropped_annotations_count", - "type": "int32" - }, - { - "id": 3, - "name": "dropped_message_events_count", - "type": "int32" - } - ] - }, - { - "name": "Link", - "fields": [ - { - "id": 1, - "name": "trace_id", - "type": "bytes" - }, - { - "id": 2, - "name": "span_id", - "type": "bytes" - }, - { - "id": 3, - "name": "type", - "type": "Type" - }, - { - "id": 4, - "name": "attributes", - "type": "Attributes" - } - ] - }, - { - "name": "Links", - "fields": [ - { - "id": 1, - "name": "link", - "type": "Link", - "is_repeated": true - }, - { - "id": 2, - "name": "dropped_links_count", - "type": "int32" - } - ] - } - ] - }, - { - "name": "Status", - "fields": [ - { - "id": 1, - "name": "code", - "type": "int32" - }, - { - "id": 2, - "name": "message", - "type": "string" - } - ] - }, - { - "name": "AttributeValue", - "fields": [ - { - "id": 1, - "name": "string_value", - "type": "TruncatableString" - }, - { - "id": 2, - "name": "int_value", - "type": "int64" - }, - { - "id": 3, - "name": "bool_value", - "type": "bool" - } - ] - }, - { - "name": "StackTrace", - "fields": [ - { - "id": 1, - "name": "stack_frames", - "type": "StackFrames" - }, - { - "id": 2, - "name": "stack_trace_hash_id", - "type": "uint64" - } - ], - "messages": [ - { - "name": "StackFrame", - "fields": [ - { - "id": 1, - "name": "function_name", - "type": "TruncatableString" - }, - { - "id": 2, - "name": "original_function_name", - "type": "TruncatableString" - }, - { - "id": 3, - "name": "file_name", - "type": "TruncatableString" - }, - { - "id": 4, - "name": "line_number", - "type": "int64" - }, - { - "id": 5, - "name": "column_number", - "type": "int64" - }, - { - "id": 6, - "name": "load_module", - "type": "Module" - }, - { - "id": 7, - "name": "source_version", - "type": "TruncatableString" - } - ] - }, - { - "name": "StackFrames", - "fields": [ - { - "id": 1, - "name": "frame", - "type": "StackFrame", - "is_repeated": true - }, - { - "id": 2, - "name": "dropped_frames_count", - "type": "int32" - } - ] - } - ] - }, - { - "name": "Module", - "fields": [ - { - "id": 1, - "name": "module", - "type": "TruncatableString" - }, - { - "id": 2, - "name": "build_id", - "type": "TruncatableString" - } - ] - }, - { - "name": "TruncatableString", - "fields": [ - { - "id": 1, - "name": "value", - "type": "string" - }, - { - "id": 2, - "name": "truncated_byte_count", - "type": "int32" - } - ] - } - ] - } - }, - { - "protopath": "vendor:/:istio.io:/:gogo-genproto:/:prometheus:/:metrics.proto", - "def": { - "enums": [ - { - "name": "MetricType", - "enum_fields": [ - { - "name": "COUNTER", - "integer": 0 - }, - { - "name": "GAUGE", - "integer": 1 - }, - { - "name": "SUMMARY", - "integer": 2 - }, - { - "name": "UNTYPED", - "integer": 3 - }, - { - "name": "HISTOGRAM", - "integer": 4 - } - ] - } - ], - "messages": [ - { - "name": "LabelPair", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "value", - "type": "string" - } - ] - }, - { - "name": "Gauge", - "fields": [ - { - "id": 1, - "name": "value", - "type": "double" - } - ] - }, - { - "name": "Counter", - "fields": [ - { - "id": 1, - "name": "value", - "type": "double" - } - ] - }, - { - "name": "Quantile", - "fields": [ - { - "id": 1, - "name": "quantile", - "type": "double" - }, - { - "id": 2, - "name": "value", - "type": "double" - } - ] - }, - { - "name": "Summary", - "fields": [ - { - "id": 1, - "name": "sample_count", - "type": "uint64" - }, - { - "id": 2, - "name": "sample_sum", - "type": "double" - }, - { - "id": 3, - "name": "quantile", - "type": "Quantile", - "is_repeated": true - } - ] - }, - { - "name": "Untyped", - "fields": [ - { - "id": 1, - "name": "value", - "type": "double" - } - ] - }, - { - "name": "Histogram", - "fields": [ - { - "id": 1, - "name": "sample_count", - "type": "uint64" - }, - { - "id": 2, - "name": "sample_sum", - "type": "double" - }, - { - "id": 3, - "name": "bucket", - "type": "Bucket", - "is_repeated": true - } - ] - }, - { - "name": "Bucket", - "fields": [ - { - "id": 1, - "name": "cumulative_count", - "type": "uint64" - }, - { - "id": 2, - "name": "upper_bound", - "type": "double" - } - ] - }, - { - "name": "Metric", - "fields": [ - { - "id": 1, - "name": "label", - "type": "LabelPair", - "is_repeated": true - }, - { - "id": 2, - "name": "gauge", - "type": "Gauge" - }, - { - "id": 3, - "name": "counter", - "type": "Counter" - }, - { - "id": 4, - "name": "summary", - "type": "Summary" - }, - { - "id": 5, - "name": "untyped", - "type": "Untyped" - }, - { - "id": 7, - "name": "histogram", - "type": "Histogram" - }, - { - "id": 6, - "name": "timestamp_ms", - "type": "int64" - } - ] - }, - { - "name": "MetricFamily", - "fields": [ - { - "id": 1, - "name": "name", - "type": "string" - }, - { - "id": 2, - "name": "help", - "type": "string" - }, - { - "id": 3, - "name": "type", - "type": "MetricType" - }, - { - "id": 4, - "name": "metric", - "type": "Metric", - "is_repeated": true - } - ] - } - ] - } } ] } \ No newline at end of file From 8471507e27a002f175cef2c1b14fdacb3ee55cd9 Mon Sep 17 00:00:00 2001 From: Vadim Eisenberg Date: Mon, 31 Dec 2018 17:32:10 +0200 Subject: [PATCH 4/6] Revert "add allow_traffic_to_unknown_ports flag to meshconfig" This reverts commit e6fd415e2f253e7ee6caca4468454f18be5b8d5a. --- mesh/v1alpha1/config.pb.go | 211 +++++++------------ mesh/v1alpha1/config.proto | 38 ++-- mesh/v1alpha1/istio.mesh.v1alpha1.pb.html | 11 - python/istio_api/mesh/v1alpha1/config_pb2.py | 43 ++-- 4 files changed, 115 insertions(+), 188 deletions(-) diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go index f80ae1775f..32a1caa43b 100644 --- a/mesh/v1alpha1/config.pb.go +++ b/mesh/v1alpha1/config.pb.go @@ -293,11 +293,6 @@ type MeshConfig struct { // every service in the mesh. The default scope can be overriden by // supplying a ServiceDependency resource per namespace. DefaultServiceDependency *MeshConfig_DefaultServiceDependency `protobuf:"bytes,29,opt,name=default_service_dependency,json=defaultServiceDependency" json:"default_service_dependency,omitempty"` - // The flag instructs Pilot to allow traffic to ports for which no - // Services/Service Entries exist. In particular, it will allow traffic - // to any external service for which no internal/external Service/ - // Service Entry exist. - AllowTrafficToUnknownPorts bool `protobuf:"varint,31,opt,name=allow_traffic_to_unknown_ports,json=allowTrafficToUnknownPorts,proto3" json:"allow_traffic_to_unknown_ports,omitempty"` } func (m *MeshConfig) Reset() { *m = MeshConfig{} } @@ -501,13 +496,6 @@ func (m *MeshConfig) GetDefaultServiceDependency() *MeshConfig_DefaultServiceDep return nil } -func (m *MeshConfig) GetAllowTrafficToUnknownPorts() bool { - if m != nil { - return m.AllowTrafficToUnknownPorts - } - return false -} - type MeshConfig_OutboundTrafficPolicy struct { Mode MeshConfig_OutboundTrafficPolicy_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=istio.mesh.v1alpha1.MeshConfig_OutboundTrafficPolicy_Mode" json:"mode,omitempty"` } @@ -869,18 +857,6 @@ func (m *MeshConfig) MarshalTo(dAtA []byte) (int, error) { } i++ } - if m.AllowTrafficToUnknownPorts { - dAtA[i] = 0xf8 - i++ - dAtA[i] = 0x1 - i++ - if m.AllowTrafficToUnknownPorts { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i++ - } return i, nil } @@ -1094,9 +1070,6 @@ func (m *MeshConfig) Size() (n int) { if m.SdsUseK8SSaJwt { n += 3 } - if m.AllowTrafficToUnknownPorts { - n += 3 - } return n } @@ -1918,26 +1891,6 @@ func (m *MeshConfig) Unmarshal(dAtA []byte) error { } } m.SdsUseK8SSaJwt = bool(v != 0) - case 31: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowTrafficToUnknownPorts", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowConfig - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - m.AllowTrafficToUnknownPorts = bool(v != 0) default: iNdEx = preIndex skippy, err := skipConfig(dAtA[iNdEx:]) @@ -2346,87 +2299,85 @@ var ( func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptorConfig) } var fileDescriptorConfig = []byte{ - // 1300 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x5f, 0x53, 0xdb, 0x46, - 0x10, 0x47, 0x40, 0x02, 0x39, 0xff, 0x41, 0x3e, 0x42, 0x72, 0x71, 0x52, 0xe2, 0xd0, 0x69, 0xc2, - 0xd0, 0x8e, 0x99, 0xc0, 0x74, 0x26, 0xed, 0x4c, 0x1f, 0x1c, 0x63, 0x12, 0x88, 0xb1, 0x19, 0x49, - 0xa4, 0x4d, 0x1f, 0x7a, 0x23, 0xa4, 0xb3, 0x7d, 0x45, 0xd6, 0xa9, 0xba, 0x13, 0x84, 0xcf, 0xd6, - 0x2f, 0xd0, 0xc7, 0xbe, 0xf5, 0xb5, 0x93, 0x99, 0x7e, 0x8f, 0xce, 0xed, 0x49, 0xd8, 0x49, 0x9c, - 0xd2, 0xc9, 0x9b, 0xf4, 0xdb, 0xdf, 0xee, 0x6a, 0x7f, 0x7b, 0xbb, 0x27, 0x54, 0x1f, 0x33, 0x39, - 0xda, 0x3e, 0x7f, 0xea, 0x47, 0xc9, 0xc8, 0x7f, 0xba, 0x1d, 0x88, 0x78, 0xc0, 0x87, 0xcd, 0x24, - 0x15, 0x4a, 0xe0, 0x55, 0x2e, 0x15, 0x17, 0x4d, 0xcd, 0x68, 0x16, 0x8c, 0xfa, 0xfa, 0x50, 0x88, - 0x61, 0xc4, 0xb6, 0x81, 0x72, 0x9a, 0x0d, 0xb6, 0xc3, 0x2c, 0xf5, 0x15, 0x17, 0xb1, 0x71, 0xaa, - 0xdf, 0x7b, 0x3f, 0x60, 0x92, 0x8a, 0xb7, 0x97, 0xb9, 0x69, 0x2b, 0x66, 0xea, 0x42, 0xa4, 0x67, - 0x3c, 0x1e, 0x16, 0x84, 0xdd, 0xed, 0x90, 0x49, 0xc5, 0x63, 0x88, 0x40, 0xd3, 0x2c, 0x62, 0x86, - 0xbb, 0xf1, 0x0f, 0x46, 0xe8, 0x88, 0xc9, 0x51, 0x1b, 0x3e, 0x08, 0x7f, 0x83, 0xf0, 0x98, 0xbf, - 0x65, 0x29, 0x0d, 0x46, 0x2c, 0x38, 0xa3, 0x92, 0xa5, 0xe7, 0x2c, 0x25, 0x56, 0xc3, 0xda, 0xbc, - 0xe5, 0xd8, 0x60, 0x69, 0x6b, 0x83, 0x0b, 0x38, 0x6e, 0xa2, 0x55, 0xc3, 0x4e, 0x59, 0x22, 0x52, - 0x55, 0xd0, 0xe7, 0x81, 0x5e, 0x03, 0x93, 0x03, 0x96, 0x9c, 0xbf, 0x83, 0xd6, 0x42, 0x2e, 0xfd, - 0xd3, 0x88, 0xd1, 0x44, 0x44, 0x3c, 0xb8, 0x34, 0x69, 0x24, 0x59, 0x68, 0x58, 0x9b, 0xcb, 0xce, - 0x6a, 0x6e, 0x3c, 0x06, 0x1b, 0x24, 0x92, 0x78, 0x0b, 0xd5, 0xa0, 0x36, 0x1a, 0x71, 0xa9, 0x58, - 0x4c, 0x75, 0x38, 0xb2, 0xd8, 0xb0, 0x36, 0x6f, 0x38, 0x2b, 0x60, 0xe8, 0x02, 0x7e, 0x2c, 0x52, - 0x85, 0x1f, 0x23, 0x03, 0xd1, 0x91, 0x52, 0x89, 0x61, 0xde, 0x00, 0x66, 0x05, 0xe0, 0x97, 0x4a, - 0x25, 0xc0, 0x7b, 0x8e, 0x56, 0x02, 0x11, 0xc7, 0x2c, 0x50, 0x54, 0xf1, 0x31, 0x13, 0x99, 0x22, - 0x37, 0x1b, 0xd6, 0x66, 0x69, 0xe7, 0x5e, 0xd3, 0xa8, 0xde, 0x2c, 0x54, 0x6f, 0xee, 0xe5, 0xaa, - 0x3b, 0xd5, 0xdc, 0xc3, 0x33, 0x0e, 0xf8, 0x4b, 0x54, 0xe1, 0xf1, 0x30, 0x65, 0x52, 0xd2, 0x20, - 0xf2, 0xa5, 0x24, 0x4b, 0x50, 0x75, 0x39, 0x07, 0xdb, 0x1a, 0xc3, 0x4f, 0xd0, 0x4a, 0x41, 0xd2, - 0xda, 0xf0, 0x80, 0x91, 0x65, 0xa0, 0x55, 0x73, 0xd8, 0x35, 0x28, 0x1e, 0xa3, 0xbb, 0x57, 0xd1, - 0x44, 0xac, 0x52, 0x11, 0x45, 0x2c, 0xa5, 0x63, 0x11, 0x32, 0x72, 0xab, 0x61, 0x6d, 0x56, 0x77, - 0xbe, 0x6d, 0xce, 0x38, 0x24, 0xcd, 0x49, 0xe7, 0x9a, 0x07, 0x79, 0xde, 0x2b, 0xef, 0x23, 0x11, - 0x32, 0x67, 0x8d, 0xcf, 0x82, 0x71, 0x1f, 0x95, 0xfc, 0x4c, 0x8d, 0xf2, 0x2e, 0x10, 0x04, 0x29, - 0xb6, 0xae, 0x4b, 0xd1, 0xca, 0xd4, 0xc8, 0xf4, 0xe6, 0xf9, 0x3c, 0xb1, 0x1c, 0xe4, 0x5f, 0xbd, - 0xe3, 0x03, 0x54, 0x4b, 0x43, 0x49, 0x53, 0x36, 0x48, 0x99, 0x1c, 0xd1, 0x90, 0x45, 0xfe, 0x25, - 0x29, 0x5d, 0xa3, 0x29, 0x44, 0x59, 0x49, 0x43, 0xe9, 0x18, 0xb7, 0x3d, 0xed, 0x85, 0xbf, 0x42, - 0x55, 0x16, 0xc3, 0x19, 0x51, 0xa9, 0x1f, 0xf0, 0x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d, 0xc3, - 0x30, 0x41, 0x4b, 0xc5, 0x3d, 0x62, 0xfe, 0xae, 0x8a, 0x57, 0x7c, 0x80, 0xca, 0x2a, 0xd2, 0xff, - 0x0b, 0x66, 0xd8, 0xe0, 0x6f, 0xaa, 0xb4, 0xf3, 0xf8, 0x3f, 0x26, 0xd6, 0xeb, 0xba, 0xc5, 0x68, - 0x3a, 0x25, 0x15, 0xc9, 0xe2, 0xe5, 0xf9, 0xe6, 0x1f, 0xef, 0xd6, 0xad, 0x3f, 0xdf, 0xad, 0x5b, - 0x7f, 0xbf, 0x5b, 0xb7, 0x7e, 0xae, 0x9b, 0x08, 0x5c, 0x6c, 0xfb, 0x09, 0xdf, 0x7e, 0xef, 0xf7, - 0xf1, 0xf4, 0x26, 0x6c, 0xed, 0xdd, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x10, 0x93, 0xde, - 0xa7, 0x0a, 0x00, 0x00, + // 1266 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x72, 0xd3, 0xc6, + 0x17, 0x8f, 0x92, 0x40, 0xc2, 0xf1, 0x47, 0xe4, 0x0d, 0x81, 0xc5, 0xf0, 0xcf, 0xdf, 0xa4, 0x53, + 0xc8, 0xa4, 0x1d, 0x67, 0x48, 0xa6, 0x33, 0xb4, 0x33, 0xbd, 0x30, 0xb6, 0x03, 0x0e, 0x8e, 0xed, + 0x91, 0x14, 0x5a, 0x7a, 0xd1, 0x1d, 0x45, 0x5a, 0xdb, 0xdb, 0xc8, 0x5a, 0x55, 0xbb, 0x0e, 0xe4, + 0x71, 0xfa, 0x1c, 0x7d, 0x81, 0x5e, 0xf6, 0xae, 0xb7, 0x1d, 0x9e, 0xa4, 0xb3, 0xbb, 0x52, 0x6c, + 0xc0, 0x34, 0x1d, 0xee, 0xb4, 0xbf, 0xf3, 0xb5, 0xe7, 0x77, 0x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 0x18, + 0xd6, 0xf2, 0x37, 0xc0, 0xfc, 0x19, 0xe5, 0x47, 0xd4, 0x81, 0xa2, 0x8c, 0xd4, 0x5b, 0x6f, 0x06, + 0x45, 0xff, 0x09, 0x15, 0x0e, 0x1e, 0xfd, 0xcb, 0xb4, 0x79, 0x5d, 0x37, 0x1f, 0x2b, 0xa7, 0x20, + 0x23, 0x91, 0x1f, 0x9e, 0xed, 0xfe, 0xf1, 0x6e, 0xdb, 0xfa, 0xf3, 0xdd, 0xb6, 0xf5, 0xf7, 0xbb, + 0x6d, 0xeb, 0xa7, 0xaa, 0xf1, 0xc0, 0xf8, 0xbe, 0x9f, 0xb0, 0xfd, 0xf7, 0x7e, 0xfd, 0xce, 0x6e, + 0xea, 0x8d, 0x7b, 0xf8, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfc, 0x5b, 0xd8, 0x2c, 0x63, 0x0a, + 0x00, 0x00, } diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto index 0b75f73de0..789141debd 100644 --- a/mesh/v1alpha1/config.proto +++ b/mesh/v1alpha1/config.proto @@ -123,9 +123,9 @@ message MeshConfig { // File address for the proxy access log (e.g. /dev/stdout). // Empty value disables access logging. string access_log_file = 13; - - // Format for the proxy access log - // Empty value results in proxy's default access log format + + // Format for the proxy access log + // Empty value results in proxy's default access log format string access_log_format = 24; enum AccessLogEncoding { @@ -145,10 +145,10 @@ message MeshConfig { ProxyConfig default_config = 14; reserved 15; - + // $hide_from_docs string mixer_address = 16 [deprecated=true]; - + message OutboundTrafficPolicy { enum Mode { // outbound traffic will be restricted to services defined in the service registry as well as those defined @@ -178,7 +178,7 @@ message MeshConfig { // Unix Domain Socket through which envoy communicates with NodeAgent SDS to get key/cert for mTLS. // Use secret-mount files instead of SDS if set to empty. string sds_uds_path = 20; - + // $hide_from_docs google.protobuf.Duration sds_refresh_delay = 21 [deprecated=true]; @@ -188,19 +188,19 @@ message MeshConfig { repeated ConfigSource config_sources = 22; // $hide_from_docs - // This flag is used by secret discovery service(SDS). - // If set to true(prerequisite: https://kubernetes.io/docs/concepts/storage/volumes/#projected), Istio will inject volumes mount - // for k8s service account trustworthy JWT(which is avaialbe for k8s 1.12 or higher), so that K8s API server - // mounts k8s service account trustworthy JWT to envoy container, which will be used to request key/cert eventually. + // This flag is used by secret discovery service(SDS). + // If set to true(prerequisite: https://kubernetes.io/docs/concepts/storage/volumes/#projected), Istio will inject volumes mount + // for k8s service account trustworthy JWT(which is avaialbe for k8s 1.12 or higher), so that K8s API server + // mounts k8s service account trustworthy JWT to envoy container, which will be used to request key/cert eventually. // This isn't supported for non-k8s case. bool enable_sds_token_mount = 23; // $hide_from_docs - // This flag is used by secret discovery service(SDS). - // If set to true, envoy will fetch normal k8s service account JWT from '/var/run/secrets/kubernetes.io/serviceaccount/token' - // (https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#accessing-the-api-from-a-pod) - // and pass to sds server, which will be used to request key/cert eventually. - // If both enable_sds_token_mount and sds_use_k8s_sa_jwt are set to true, enable_sds_token_mount(trustworthy jwt) takes precedence. + // This flag is used by secret discovery service(SDS). + // If set to true, envoy will fetch normal k8s service account JWT from '/var/run/secrets/kubernetes.io/serviceaccount/token' + // (https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#accessing-the-api-from-a-pod) + // and pass to sds server, which will be used to request key/cert eventually. + // If both enable_sds_token_mount and sds_use_k8s_sa_jwt are set to true, enable_sds_token_mount(trustworthy jwt) takes precedence. // This isn't supported for non-k8s case. bool sds_use_k8s_sa_jwt = 30; @@ -242,14 +242,8 @@ message MeshConfig { // supplying a ServiceDependency resource per namespace. DefaultServiceDependency default_service_dependency = 29; - // The flag instructs Pilot to allow traffic to ports for which no - // Services/Service Entries exist. In particular, it will allow traffic - // to any external service for which no internal/external Service/ - // Service Entry exist. - bool allow_traffic_to_unknown_ports = 31; - // $hide_from_docs - // Next available field number: 32 + // Next available field number: 31 } // ConfigSource describes information about a configuration store inside a diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html index 03ade38b79..c01ecef561 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html @@ -315,17 +315,6 @@

MeshConfig

every service in the mesh. The default scope can be overriden by supplying a ServiceDependency resource per namespace.

- - - -allowTrafficToUnknownPorts -bool - -

The flag instructs Pilot to allow traffic to ports for which no -Services/Service Entries exist. In particular, it will allow traffic -to any external service for which no internal/external Service/ -Service Entry exist.

- diff --git a/python/istio_api/mesh/v1alpha1/config_pb2.py b/python/istio_api/mesh/v1alpha1/config_pb2.py index 90bc3799ea..45d2e7a478 100644 --- a/python/istio_api/mesh/v1alpha1/config_pb2.py +++ b/python/istio_api/mesh/v1alpha1/config_pb2.py @@ -22,7 +22,7 @@ name='mesh/v1alpha1/config.proto', package='istio.mesh.v1alpha1', syntax='proto3', - serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\"\xbb\x0e\n\nMeshConfig\x12\x1a\n\x12mixer_check_server\x18\x01 \x01(\t\x12\x1b\n\x13mixer_report_server\x18\x02 \x01(\t\x12\x1d\n\x15\x64isable_policy_checks\x18\x03 \x01(\x08\x12\x1e\n\x16policy_check_fail_open\x18\x19 \x01(\x08\x12\x19\n\x11proxy_listen_port\x18\x04 \x01(\x05\x12\x17\n\x0fproxy_http_port\x18\x05 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x61\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\x12\x15\n\ringress_class\x18\x07 \x01(\t\x12\x17\n\x0fingress_service\x18\x08 \x01(\t\x12V\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerMode\x12\x43\n\x0b\x61uth_policy\x18\n \x01(\x0e\x32*.istio.mesh.v1alpha1.MeshConfig.AuthPolicyB\x02\x18\x01\x12\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x16\n\x0e\x65nable_tracing\x18\x0c \x01(\x08\x12\x17\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\t\x12\x19\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\t\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12Z\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyB\x02\x18\x01\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x1a\n\x12sds_use_k8s_sa_jwt\x18\x1e \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x12\\\n\x1a\x64\x65\x66\x61ult_service_dependency\x18\x1d \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency\x12&\n\x1e\x61llow_traffic_to_unknown_ports\x18\x1f \x01(\x08\x1a\xb5\x01\n\x15OutboundTrafficPolicy\x12L\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeB\x02\x18\x01\"N\n\x04Mode\x12\x15\n\rREGISTRY_ONLY\x10\x00\x1a\x02\x08\x01\x12\x11\n\tALLOW_ANY\x10\x01\x1a\x02\x08\x01\x12\x1c\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\x02\x08\x01\x1a\xb9\x01\n\x18\x44\x65\x66\x61ultServiceDependency\x12R\n\x0bimport_mode\x18\x01 \x01(\x0e\x32=.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency.Mode\x12\x19\n\x11import_namespaces\x18\x02 \x03(\t\".\n\x04Mode\x12\x12\n\x0e\x41LL_NAMESPACES\x10\x00\x12\x12\n\x0eSAME_NAMESPACE\x10\x01\"9\n\x15IngressControllerMode\x12\x07\n\x03OFF\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\n\n\x06STRICT\x10\x02\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettingsB\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') + serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\"\x93\x0e\n\nMeshConfig\x12\x1a\n\x12mixer_check_server\x18\x01 \x01(\t\x12\x1b\n\x13mixer_report_server\x18\x02 \x01(\t\x12\x1d\n\x15\x64isable_policy_checks\x18\x03 \x01(\x08\x12\x1e\n\x16policy_check_fail_open\x18\x19 \x01(\x08\x12\x19\n\x11proxy_listen_port\x18\x04 \x01(\x05\x12\x17\n\x0fproxy_http_port\x18\x05 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x61\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\x12\x15\n\ringress_class\x18\x07 \x01(\t\x12\x17\n\x0fingress_service\x18\x08 \x01(\t\x12V\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerMode\x12\x43\n\x0b\x61uth_policy\x18\n \x01(\x0e\x32*.istio.mesh.v1alpha1.MeshConfig.AuthPolicyB\x02\x18\x01\x12\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x16\n\x0e\x65nable_tracing\x18\x0c \x01(\x08\x12\x17\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\t\x12\x19\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\t\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12Z\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyB\x02\x18\x01\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x1a\n\x12sds_use_k8s_sa_jwt\x18\x1e \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x12\\\n\x1a\x64\x65\x66\x61ult_service_dependency\x18\x1d \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency\x1a\xb5\x01\n\x15OutboundTrafficPolicy\x12L\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeB\x02\x18\x01\"N\n\x04Mode\x12\x15\n\rREGISTRY_ONLY\x10\x00\x1a\x02\x08\x01\x12\x11\n\tALLOW_ANY\x10\x01\x1a\x02\x08\x01\x12\x1c\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\x02\x08\x01\x1a\xb9\x01\n\x18\x44\x65\x66\x61ultServiceDependency\x12R\n\x0bimport_mode\x18\x01 \x01(\x0e\x32=.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency.Mode\x12\x19\n\x11import_namespaces\x18\x02 \x03(\t\".\n\x04Mode\x12\x12\n\x0e\x41LL_NAMESPACES\x10\x00\x12\x12\n\x0eSAME_NAMESPACE\x10\x01\"9\n\x15IngressControllerMode\x12\x07\n\x03OFF\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\n\n\x06STRICT\x10\x02\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettingsB\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') , dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,mesh_dot_v1alpha1_dot_proxy__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_destination__rule__pb2.DESCRIPTOR,]) @@ -49,8 +49,8 @@ ], containing_type=None, options=None, - serialized_start=1588, - serialized_end=1666, + serialized_start=1548, + serialized_end=1626, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE) @@ -71,8 +71,8 @@ ], containing_type=None, options=None, - serialized_start=1808, - serialized_end=1854, + serialized_start=1768, + serialized_end=1814, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_DEFAULTSERVICEDEPENDENCY_MODE) @@ -97,8 +97,8 @@ ], containing_type=None, options=None, - serialized_start=1856, - serialized_end=1913, + serialized_start=1816, + serialized_end=1873, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_INGRESSCONTROLLERMODE) @@ -119,8 +119,8 @@ ], containing_type=None, options=None, - serialized_start=1915, - serialized_end=1953, + serialized_start=1875, + serialized_end=1913, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_AUTHPOLICY) @@ -141,8 +141,8 @@ ], containing_type=None, options=None, - serialized_start=1955, - serialized_end=1994, + serialized_start=1915, + serialized_end=1954, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_ACCESSLOGENCODING) @@ -174,8 +174,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1485, - serialized_end=1666, + serialized_start=1445, + serialized_end=1626, ) _MESHCONFIG_DEFAULTSERVICEDEPENDENCY = _descriptor.Descriptor( @@ -212,8 +212,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1669, - serialized_end=1854, + serialized_start=1629, + serialized_end=1814, ) _MESHCONFIG = _descriptor.Descriptor( @@ -419,13 +419,6 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='allow_traffic_to_unknown_ports', full_name='istio.mesh.v1alpha1.MeshConfig.allow_traffic_to_unknown_ports', index=28, - number=31, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -442,7 +435,7 @@ oneofs=[ ], serialized_start=155, - serialized_end=2006, + serialized_end=1966, ) @@ -479,8 +472,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2008, - serialized_end=2101, + serialized_start=1968, + serialized_end=2061, ) _MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode'].enum_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE From 6ef78cfdf0ce1f3a6a99b792318f3a0bca1eeb3f Mon Sep 17 00:00:00 2001 From: Vadim Eisenberg Date: Mon, 31 Dec 2018 17:44:04 +0200 Subject: [PATCH 5/6] remove deprecated from OutboundTrafficPolicy. REGISTRY_ONLY and ALLOW_ALL --- mesh/v1alpha1/config.pb.go | 47 ++++++++++---------- mesh/v1alpha1/config.proto | 36 +++++++-------- mesh/v1alpha1/istio.mesh.v1alpha1.pb.html | 6 +-- python/istio_api/mesh/v1alpha1/config_pb2.py | 40 ++++++++--------- 4 files changed, 62 insertions(+), 67 deletions(-) diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go index 32a1caa43b..ba92748621 100644 --- a/mesh/v1alpha1/config.pb.go +++ b/mesh/v1alpha1/config.pb.go @@ -128,7 +128,7 @@ const ( // outbound traffic will be restricted to services defined in the service registry as well as those defined // through ServiceEntries MeshConfig_OutboundTrafficPolicy_REGISTRY_ONLY MeshConfig_OutboundTrafficPolicy_Mode = 0 - // outbound traffic to unknown destinations will be allowed + // outbound traffic to unknown destinations will be allowed, in case there are no services or ServiceEntries for the destination port MeshConfig_OutboundTrafficPolicy_ALLOW_ANY MeshConfig_OutboundTrafficPolicy_Mode = 1 // not implemented. outbound traffic will be restricted to destinations defined in VirtualServices only MeshConfig_OutboundTrafficPolicy_VIRTUAL_SERVICE_ONLY MeshConfig_OutboundTrafficPolicy_Mode = 2 @@ -2299,12 +2299,12 @@ var ( func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptorConfig) } var fileDescriptorConfig = []byte{ - // 1266 bytes of a gzipped FileDescriptorProto + // 1263 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x72, 0xd3, 0xc6, 0x17, 0x8f, 0x92, 0x40, 0xc2, 0xf1, 0x47, 0xe4, 0x0d, 0x81, 0xc5, 0xf0, 0xcf, 0xdf, 0xa4, 0x53, 0xc8, 0xa4, 0x1d, 0x67, 0x48, 0xa6, 0x33, 0xb4, 0x33, 0xbd, 0x30, 0xb6, 0x03, 0x0e, 0x8e, 0xed, 0x91, 0x14, 0x5a, 0x7a, 0xd1, 0x1d, 0x45, 0x5a, 0xdb, 0xdb, 0xc8, 0x5a, 0x55, 0xbb, 0x0e, 0xe4, - 0x71, 0xfa, 0x1c, 0x7d, 0x81, 0x5e, 0xf6, 0xae, 0xb7, 0x1d, 0x9e, 0xa4, 0xb3, 0xbb, 0x52, 0x6c, + 0x51, 0xfa, 0x1c, 0x7d, 0x89, 0x5e, 0xf6, 0xae, 0xb7, 0x1d, 0x9e, 0xa4, 0xb3, 0xbb, 0x52, 0x6c, 0xc0, 0x34, 0x1d, 0xee, 0xb4, 0xbf, 0xf3, 0xb5, 0xe7, 0x77, 0x3e, 0x56, 0x50, 0x9d, 0x50, 0x31, 0xde, 0xbf, 0x78, 0xe2, 0x47, 0xc9, 0xd8, 0x7f, 0xb2, 0x1f, 0xf0, 0x78, 0xc8, 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b, 0x5f, 0x2f, 0xb4, 0x06, 0x2b, 0xfd, 0xa3, 0x23, 0x7b, 0x09, 0x15, 0x60, 0xad, 0xd5, + 0x3e, 0x6a, 0x9c, 0x76, 0x3d, 0xdb, 0x42, 0x00, 0x37, 0x5d, 0xcf, 0xe9, 0x34, 0x3d, 0x7b, 0x79, + 0xe7, 0x11, 0xc0, 0xec, 0x55, 0x42, 0xeb, 0xb0, 0xda, 0xeb, 0xf7, 0xda, 0xf6, 0x12, 0x2a, 0x03, + 0x9c, 0x9c, 0x6a, 0x26, 0xbd, 0xae, 0x6b, 0x5b, 0x3b, 0x8f, 0xa1, 0xf2, 0xd1, 0xbc, 0x28, 0x75, + 0xaf, 0xfd, 0xa3, 0x67, 0x2f, 0xa9, 0xaf, 0x63, 0xb7, 0xdf, 0xb3, 0xad, 0xe3, 0xd5, 0xf5, 0x0d, + 0xdb, 0x3e, 0x5e, 0x5d, 0x47, 0xf6, 0xe6, 0x8e, 0x80, 0xe2, 0xfc, 0xde, 0x41, 0x18, 0xd6, 0xf2, + 0xdd, 0x6f, 0xfe, 0x88, 0xf2, 0x23, 0xea, 0x40, 0x51, 0x46, 0xea, 0x8d, 0x37, 0x03, 0xa2, 0xff, + 0x80, 0x0a, 0x07, 0x8f, 0xfe, 0x65, 0xca, 0xbc, 0xae, 0x9b, 0x8f, 0x93, 0x53, 0x90, 0x91, 0xc8, + 0x0f, 0xcf, 0x76, 0xff, 0x78, 0xb7, 0x6d, 0xfd, 0xf9, 0x6e, 0xdb, 0xfa, 0xfb, 0xdd, 0xb6, 0xf5, + 0x53, 0xd5, 0x78, 0x60, 0x7c, 0xdf, 0x4f, 0xd8, 0xfe, 0x7b, 0xbf, 0x7c, 0x67, 0x37, 0xf5, 0xa6, + 0x3d, 0xfc, 0x27, 0x00, 0x00, 0xff, 0xff, 0x43, 0x41, 0xbb, 0xe8, 0x5b, 0x0a, 0x00, 0x00, } diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto index 789141debd..e530cbb374 100644 --- a/mesh/v1alpha1/config.proto +++ b/mesh/v1alpha1/config.proto @@ -123,9 +123,9 @@ message MeshConfig { // File address for the proxy access log (e.g. /dev/stdout). // Empty value disables access logging. string access_log_file = 13; - - // Format for the proxy access log - // Empty value results in proxy's default access log format + + // Format for the proxy access log + // Empty value results in proxy's default access log format string access_log_format = 24; enum AccessLogEncoding { @@ -145,17 +145,17 @@ message MeshConfig { ProxyConfig default_config = 14; reserved 15; - + // $hide_from_docs string mixer_address = 16 [deprecated=true]; - + message OutboundTrafficPolicy { enum Mode { // outbound traffic will be restricted to services defined in the service registry as well as those defined // through ServiceEntries - REGISTRY_ONLY = 0 [deprecated=true]; - // outbound traffic to unknown destinations will be allowed - ALLOW_ANY = 1 [deprecated=true]; + REGISTRY_ONLY = 0; + // outbound traffic to unknown destinations will be allowed, in case there are no services or ServiceEntries for the destination port + ALLOW_ANY = 1; // not implemented. outbound traffic will be restricted to destinations defined in VirtualServices only VIRTUAL_SERVICE_ONLY = 2 [deprecated=true]; } @@ -178,7 +178,7 @@ message MeshConfig { // Unix Domain Socket through which envoy communicates with NodeAgent SDS to get key/cert for mTLS. // Use secret-mount files instead of SDS if set to empty. string sds_uds_path = 20; - + // $hide_from_docs google.protobuf.Duration sds_refresh_delay = 21 [deprecated=true]; @@ -188,19 +188,19 @@ message MeshConfig { repeated ConfigSource config_sources = 22; // $hide_from_docs - // This flag is used by secret discovery service(SDS). - // If set to true(prerequisite: https://kubernetes.io/docs/concepts/storage/volumes/#projected), Istio will inject volumes mount - // for k8s service account trustworthy JWT(which is avaialbe for k8s 1.12 or higher), so that K8s API server - // mounts k8s service account trustworthy JWT to envoy container, which will be used to request key/cert eventually. + // This flag is used by secret discovery service(SDS). + // If set to true(prerequisite: https://kubernetes.io/docs/concepts/storage/volumes/#projected), Istio will inject volumes mount + // for k8s service account trustworthy JWT(which is avaialbe for k8s 1.12 or higher), so that K8s API server + // mounts k8s service account trustworthy JWT to envoy container, which will be used to request key/cert eventually. // This isn't supported for non-k8s case. bool enable_sds_token_mount = 23; // $hide_from_docs - // This flag is used by secret discovery service(SDS). - // If set to true, envoy will fetch normal k8s service account JWT from '/var/run/secrets/kubernetes.io/serviceaccount/token' - // (https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#accessing-the-api-from-a-pod) - // and pass to sds server, which will be used to request key/cert eventually. - // If both enable_sds_token_mount and sds_use_k8s_sa_jwt are set to true, enable_sds_token_mount(trustworthy jwt) takes precedence. + // This flag is used by secret discovery service(SDS). + // If set to true, envoy will fetch normal k8s service account JWT from '/var/run/secrets/kubernetes.io/serviceaccount/token' + // (https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#accessing-the-api-from-a-pod) + // and pass to sds server, which will be used to request key/cert eventually. + // If both enable_sds_token_mount and sds_use_k8s_sa_jwt are set to true, enable_sds_token_mount(trustworthy jwt) takes precedence. // This isn't supported for non-k8s case. bool sds_use_k8s_sa_jwt = 30; diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html index c01ecef561..79b3ccb6d0 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html @@ -483,7 +483,7 @@

MeshConfig.OutboundTrafficPolicy. - + REGISTRY_ONLY

outbound traffic will be restricted to services defined in the service registry as well as those defined @@ -491,10 +491,10 @@

MeshConfig.OutboundTrafficPolicy. - + ALLOW_ANY -

outbound traffic to unknown destinations will be allowed

+

outbound traffic to unknown destinations will be allowed, in case there are no services or ServiceEntries for the destination port

diff --git a/python/istio_api/mesh/v1alpha1/config_pb2.py b/python/istio_api/mesh/v1alpha1/config_pb2.py index 45d2e7a478..2362763486 100644 --- a/python/istio_api/mesh/v1alpha1/config_pb2.py +++ b/python/istio_api/mesh/v1alpha1/config_pb2.py @@ -22,7 +22,7 @@ name='mesh/v1alpha1/config.proto', package='istio.mesh.v1alpha1', syntax='proto3', - serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\"\x93\x0e\n\nMeshConfig\x12\x1a\n\x12mixer_check_server\x18\x01 \x01(\t\x12\x1b\n\x13mixer_report_server\x18\x02 \x01(\t\x12\x1d\n\x15\x64isable_policy_checks\x18\x03 \x01(\x08\x12\x1e\n\x16policy_check_fail_open\x18\x19 \x01(\x08\x12\x19\n\x11proxy_listen_port\x18\x04 \x01(\x05\x12\x17\n\x0fproxy_http_port\x18\x05 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x61\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\x12\x15\n\ringress_class\x18\x07 \x01(\t\x12\x17\n\x0fingress_service\x18\x08 \x01(\t\x12V\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerMode\x12\x43\n\x0b\x61uth_policy\x18\n \x01(\x0e\x32*.istio.mesh.v1alpha1.MeshConfig.AuthPolicyB\x02\x18\x01\x12\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x16\n\x0e\x65nable_tracing\x18\x0c \x01(\x08\x12\x17\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\t\x12\x19\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\t\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12Z\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyB\x02\x18\x01\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x1a\n\x12sds_use_k8s_sa_jwt\x18\x1e \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x12\\\n\x1a\x64\x65\x66\x61ult_service_dependency\x18\x1d \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency\x1a\xb5\x01\n\x15OutboundTrafficPolicy\x12L\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeB\x02\x18\x01\"N\n\x04Mode\x12\x15\n\rREGISTRY_ONLY\x10\x00\x1a\x02\x08\x01\x12\x11\n\tALLOW_ANY\x10\x01\x1a\x02\x08\x01\x12\x1c\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\x02\x08\x01\x1a\xb9\x01\n\x18\x44\x65\x66\x61ultServiceDependency\x12R\n\x0bimport_mode\x18\x01 \x01(\x0e\x32=.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency.Mode\x12\x19\n\x11import_namespaces\x18\x02 \x03(\t\".\n\x04Mode\x12\x12\n\x0e\x41LL_NAMESPACES\x10\x00\x12\x12\n\x0eSAME_NAMESPACE\x10\x01\"9\n\x15IngressControllerMode\x12\x07\n\x03OFF\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\n\n\x06STRICT\x10\x02\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettingsB\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') + serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\"\x8b\x0e\n\nMeshConfig\x12\x1a\n\x12mixer_check_server\x18\x01 \x01(\t\x12\x1b\n\x13mixer_report_server\x18\x02 \x01(\t\x12\x1d\n\x15\x64isable_policy_checks\x18\x03 \x01(\x08\x12\x1e\n\x16policy_check_fail_open\x18\x19 \x01(\x08\x12\x19\n\x11proxy_listen_port\x18\x04 \x01(\x05\x12\x17\n\x0fproxy_http_port\x18\x05 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x61\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\x12\x15\n\ringress_class\x18\x07 \x01(\t\x12\x17\n\x0fingress_service\x18\x08 \x01(\t\x12V\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerMode\x12\x43\n\x0b\x61uth_policy\x18\n \x01(\x0e\x32*.istio.mesh.v1alpha1.MeshConfig.AuthPolicyB\x02\x18\x01\x12\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x16\n\x0e\x65nable_tracing\x18\x0c \x01(\x08\x12\x17\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\t\x12\x19\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\t\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12Z\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyB\x02\x18\x01\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x1a\n\x12sds_use_k8s_sa_jwt\x18\x1e \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x12\\\n\x1a\x64\x65\x66\x61ult_service_dependency\x18\x1d \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency\x1a\xad\x01\n\x15OutboundTrafficPolicy\x12L\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeB\x02\x18\x01\"F\n\x04Mode\x12\x11\n\rREGISTRY_ONLY\x10\x00\x12\r\n\tALLOW_ANY\x10\x01\x12\x1c\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\x02\x08\x01\x1a\xb9\x01\n\x18\x44\x65\x66\x61ultServiceDependency\x12R\n\x0bimport_mode\x18\x01 \x01(\x0e\x32=.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency.Mode\x12\x19\n\x11import_namespaces\x18\x02 \x03(\t\".\n\x04Mode\x12\x12\n\x0e\x41LL_NAMESPACES\x10\x00\x12\x12\n\x0eSAME_NAMESPACE\x10\x01\"9\n\x15IngressControllerMode\x12\x07\n\x03OFF\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\n\n\x06STRICT\x10\x02\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettingsB\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') , dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,mesh_dot_v1alpha1_dot_proxy__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_destination__rule__pb2.DESCRIPTOR,]) @@ -36,11 +36,11 @@ values=[ _descriptor.EnumValueDescriptor( name='REGISTRY_ONLY', index=0, number=0, - options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\010\001')), + options=None, type=None), _descriptor.EnumValueDescriptor( name='ALLOW_ANY', index=1, number=1, - options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\010\001')), + options=None, type=None), _descriptor.EnumValueDescriptor( name='VIRTUAL_SERVICE_ONLY', index=2, number=2, @@ -50,7 +50,7 @@ containing_type=None, options=None, serialized_start=1548, - serialized_end=1626, + serialized_end=1618, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE) @@ -71,8 +71,8 @@ ], containing_type=None, options=None, - serialized_start=1768, - serialized_end=1814, + serialized_start=1760, + serialized_end=1806, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_DEFAULTSERVICEDEPENDENCY_MODE) @@ -97,8 +97,8 @@ ], containing_type=None, options=None, - serialized_start=1816, - serialized_end=1873, + serialized_start=1808, + serialized_end=1865, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_INGRESSCONTROLLERMODE) @@ -119,8 +119,8 @@ ], containing_type=None, options=None, - serialized_start=1875, - serialized_end=1913, + serialized_start=1867, + serialized_end=1905, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_AUTHPOLICY) @@ -141,8 +141,8 @@ ], containing_type=None, options=None, - serialized_start=1915, - serialized_end=1954, + serialized_start=1907, + serialized_end=1946, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_ACCESSLOGENCODING) @@ -175,7 +175,7 @@ oneofs=[ ], serialized_start=1445, - serialized_end=1626, + serialized_end=1618, ) _MESHCONFIG_DEFAULTSERVICEDEPENDENCY = _descriptor.Descriptor( @@ -212,8 +212,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1629, - serialized_end=1814, + serialized_start=1621, + serialized_end=1806, ) _MESHCONFIG = _descriptor.Descriptor( @@ -435,7 +435,7 @@ oneofs=[ ], serialized_start=155, - serialized_end=1966, + serialized_end=1958, ) @@ -472,8 +472,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1968, - serialized_end=2061, + serialized_start=1960, + serialized_end=2053, ) _MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode'].enum_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE @@ -534,10 +534,6 @@ DESCRIPTOR.has_options = True DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('Z\032istio.io/api/mesh/v1alpha1')) -_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE.values_by_name["REGISTRY_ONLY"].has_options = True -_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE.values_by_name["REGISTRY_ONLY"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\010\001')) -_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE.values_by_name["ALLOW_ANY"].has_options = True -_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE.values_by_name["ALLOW_ANY"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\010\001')) _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE.values_by_name["VIRTUAL_SERVICE_ONLY"].has_options = True _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE.values_by_name["VIRTUAL_SERVICE_ONLY"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\010\001')) _MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode'].has_options = True From faf8a71cee5622a7460219f03cce102c60684f9e Mon Sep 17 00:00:00 2001 From: Vadim Eisenberg Date: Tue, 1 Jan 2019 09:55:29 +0200 Subject: [PATCH 6/6] remove deprecated from Mode and outbound_traffic_policy --- mesh/v1alpha1/config.pb.go | 160 +++++++++---------- mesh/v1alpha1/config.proto | 4 +- mesh/v1alpha1/istio.mesh.v1alpha1.pb.html | 4 +- python/istio_api/mesh/v1alpha1/config_pb2.py | 44 +++-- 4 files changed, 104 insertions(+), 108 deletions(-) diff --git a/mesh/v1alpha1/config.pb.go b/mesh/v1alpha1/config.pb.go index ba92748621..e2575f1ee0 100644 --- a/mesh/v1alpha1/config.pb.go +++ b/mesh/v1alpha1/config.pb.go @@ -2299,84 +2299,84 @@ var ( func init() { proto.RegisterFile("mesh/v1alpha1/config.proto", fileDescriptorConfig) } var fileDescriptorConfig = []byte{ - // 1263 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,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0xc3, 0x50, 0x51, 0x8a, - 0x6d, 0x15, 0x4e, 0xe7, 0x50, 0xd4, 0x82, 0x86, 0xc1, 0xd1, 0xaf, 0x70, 0x97, 0x4f, 0xe5, 0x19, - 0x9f, 0xc6, 0xa1, 0x4a, 0x61, 0x38, 0x64, 0x41, 0x4e, 0x74, 0x45, 0x87, 0xbe, 0xb6, 0x96, 0xfd, - 0xcc, 0xdc, 0x33, 0xd6, 0x73, 0x9c, 0x6f, 0xf1, 0x45, 0x22, 0xd4, 0x82, 0xff, 0x67, 0x9c, 0x05, - 0x11, 0xa3, 0xb1, 0x24, 0x82, 0x85, 0xef, 0xcf, 0x18, 0xde, 0xd4, 0x24, 0xde, 0x37, 0x6a, 0x4d, - 0xad, 0xe5, 0xb2, 0x70, 0x7e, 0xd6, 0x50, 0x0d, 0x8a, 0x22, 0x14, 0x64, 0x1a, 0x0a, 0x92, 0xf8, - 0x72, 0x8c, 0x6f, 0x6b, 0x3e, 0x41, 0x84, 0xe2, 0x34, 0x14, 0x03, 0x5f, 0x8e, 0x55, 0x99, 0xc5, - 0x47, 0x65, 0xde, 0xfa, 0x4f, 0x65, 0x16, 0x1f, 0x94, 0xf9, 0x05, 0x94, 0x4d, 0x3d, 0x88, 0xe0, - 0xd3, 0x34, 0xa0, 0x02, 0xdf, 0xa9, 0xad, 0xec, 0x16, 0x0e, 0x1e, 0x2e, 0x24, 0xc7, 0x10, 0xe3, - 0x6a, 0x4d, 0xa7, 0x14, 0xcc, 0x9d, 0x04, 0x3a, 0x84, 0x3b, 0x59, 0xf2, 0xea, 0x6e, 0x92, 0x9f, - 0xd3, 0x98, 0x4c, 0xf8, 0x34, 0x96, 0xf8, 0xae, 0x59, 0x2b, 0x46, 0xea, 0x86, 0xc2, 0x53, 0xb2, - 0x13, 0x25, 0x52, 0x6b, 0x65, 0xbe, 0x7d, 0x78, 0x3a, 0xf1, 0x25, 0xc6, 0x3a, 0xe1, 0x8d, 0x59, - 0x03, 0x69, 0x58, 0x05, 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- 0x3e, 0x6a, 0x9c, 0x76, 0x3d, 0xdb, 0x42, 0x00, 0x37, 0x5d, 0xcf, 0xe9, 0x34, 0x3d, 0x7b, 0x79, - 0xe7, 0x11, 0xc0, 0xec, 0x55, 0x42, 0xeb, 0xb0, 0xda, 0xeb, 0xf7, 0xda, 0xf6, 0x12, 0x2a, 0x03, - 0x9c, 0x9c, 0x6a, 0x26, 0xbd, 0xae, 0x6b, 0x5b, 0x3b, 0x8f, 0xa1, 0xf2, 0xd1, 0xbc, 0x28, 0x75, - 0xaf, 0xfd, 0xa3, 0x67, 0x2f, 0xa9, 0xaf, 0x63, 0xb7, 0xdf, 0xb3, 0xad, 0xe3, 0xd5, 0xf5, 0x0d, - 0xdb, 0x3e, 0x5e, 0x5d, 0x47, 0xf6, 0xe6, 0x8e, 0x80, 0xe2, 0xfc, 0xde, 0x41, 0x18, 0xd6, 0xf2, - 0xdd, 0x6f, 0xfe, 0x88, 0xf2, 0x23, 0xea, 0x40, 0x51, 0x46, 0xea, 0x8d, 0x37, 0x03, 0xa2, 0xff, - 0x80, 0x0a, 0x07, 0x8f, 0xfe, 0x65, 0xca, 0xbc, 0xae, 0x9b, 0x8f, 0x93, 0x53, 0x90, 0x91, 0xc8, - 0x0f, 0xcf, 0x76, 0xff, 0x78, 0xb7, 0x6d, 0xfd, 0xf9, 0x6e, 0xdb, 0xfa, 0xfb, 0xdd, 0xb6, 0xf5, - 0x53, 0xd5, 0x78, 0x60, 0x7c, 0xdf, 0x4f, 0xd8, 0xfe, 0x7b, 0xbf, 0x7c, 0x67, 0x37, 0xf5, 0xa6, - 0x3d, 0xfc, 0x27, 0x00, 0x00, 0xff, 0xff, 0x43, 0x41, 0xbb, 0xe8, 0x5b, 0x0a, 0x00, 0x00, + // 1258 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x6e, 0xdb, 0x36, + 0x14, 0x8e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 0x05, 0x4d, 0xb1, 0x55, 0xb3, 0x76, 0x6f, + 0x39, 0xb6, 0x96, 0x34, 0x95, 0xc0, 0xd5, 0x38, 0xaa, 0xc3, 0xa6, 0xd1, 0x4e, 0x69, 0xc2, 0x53, + 0x99, 0xab, 0x2f, 0x6b, 0xf5, 0x8a, 0x16, 0x39, 0x5a, 0x92, 0xe9, 0x1f, 0xc0, 0x56, 0xc8, 0x84, + 0x7f, 0x16, 0x51, 0x92, 0xf0, 0x88, 0x05, 0x97, 0x26, 0x8c, 0xc0, 0x2b, 0x35, 0x6b, 0x77, 0xdd, + 0xd9, 0xcc, 0x84, 0x03, 0x2d, 0xd3, 0x81, 0x04, 0xda, 0x83, 0x8a, 0xce, 0x8d, 0x44, 0x4c, 0x48, + 0x1a, 0x13, 0xe5, 0x0e, 0xaf, 0xd6, 0xac, 0xdd, 0x1b, 0xce, 0x86, 0x16, 0x74, 0x35, 0x3e, 0xe0, + 0xa9, 0x44, 0x8f, 0xc0, 0x40, 0x64, 0x2c, 0x65, 0x62, 0x34, 0x6f, 0x68, 0xcd, 0x92, 0x86, 0x5f, + 0x48, 0x99, 0x68, 0xbd, 0x67, 0xb0, 0x11, 0xf0, 0x38, 0xa6, 0x81, 0x24, 0x92, 0x4d, 0x28, 0x9f, + 0x4a, 0x7c, 0xb3, 0x66, 0xed, 0x16, 0x0e, 0xee, 0xd5, 0x0d, 0xeb, 0xf5, 0x9c, 0xf5, 0x7a, 0x2b, + 0x63, 0xdd, 0x29, 0x67, 0x16, 0x9e, 0x31, 0x40, 0x5f, 0x41, 0x89, 0xc5, 0xa3, 0x94, 0x0a, 0x41, + 0x82, 0xc8, 0x17, 0x02, 0xaf, 0xe9, 0xac, 0x8b, 0x19, 0xd8, 0x54, 0x18, 0x7a, 0x0c, 0x1b, 0xb9, + 0x92, 0xe2, 0x86, 0x05, 0x14, 0xaf, 0x6b, 0xb5, 0x72, 0x06, 0xbb, 0x06, 0x45, 0x13, 0xb8, 0x7b, + 0xe5, 0x8d, 0xc7, 0x32, 0xe5, 0x51, 0x44, 0x53, 0x32, 0xe1, 0x21, 0xc5, 0xb7, 0x6a, 0xd6, 0x6e, + 0xf9, 0xe0, 0xbb, 0xfa, 0x82, 0x26, 0xa9, 0xcf, 0x2a, 0x57, 0xef, 0x64, 0x71, 0xaf, 0xac, 0x4f, + 0x78, 0x48, 0x9d, 0x2d, 0xb6, 0x08, 0x46, 0x7d, 0x28, 0xf8, 0x53, 0x39, 0xce, 0xaa, 0x80, 0x41, + 0x87, 0xd8, 0xbb, 0x2e, 0x44, 0x63, 0x2a, 0xc7, 0xa6, 0x36, 0xcf, 0x96, 0xb1, 0xe5, 0x80, 0x7f, + 0x75, 0x46, 0x1d, 0xa8, 0xa4, 0xa1, 0x20, 0x29, 0x1d, 0xa6, 0x54, 0x8c, 0x49, 0x48, 0x23, 0xff, + 0x12, 0x17, 0xae, 0xe1, 0x54, 0x7b, 0xd9, 0x48, 0x43, 0xe1, 0x18, 0xb3, 0x96, 0xb2, 0x42, 0x5f, + 0x43, 0x99, 0xc6, 0xba, 0x47, 0x64, 0xea, 0x07, 0x2c, 0x1e, 0xe1, 0xa2, 0xee, 0x8e, 0x92, 0x41, + 0x3d, 0x03, 0xaa, 0x5a, 0xfb, 0x41, 0xa0, 0x08, 0x8b, 0xf8, 0x88, 0x0c, 0x59, 0x44, 0x71, 0x49, + 0x53, 0x5b, 0x32, 0x70, 0x97, 0x8f, 0x8e, 0x58, 0x44, 0xd1, 0x73, 0x28, 0x87, 0x74, 0xe8, 0x4f, + 0x23, 0x49, 0xcc, 0xd0, 0xe1, 0xb2, 0xbe, 0x56, 0x6d, 0x61, 0xb6, 0x03, 0xd5, 0x27, 0x26, 0x5d, + 0xa7, 0x94, 0xd9, 0x65, 0xa3, 0xf1, 0x18, 0x4a, 0xa6, 0xd9, 0xfd, 0x30, 0x54, 0x94, 0x62, 0x5b, + 0x85, 0xd3, 0x39, 0x14, 0xb5, 0xa0, 0x61, 0x70, 0x55, 0x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x67, 0x2f, 0xef, 0x3c, 0x02, 0x98, 0xbd, 0x46, + 0x68, 0x1d, 0x56, 0x7b, 0xfd, 0x5e, 0xdb, 0x5e, 0x42, 0x65, 0x80, 0x93, 0x53, 0xcd, 0xa4, 0xd7, + 0x75, 0x6d, 0x6b, 0xe7, 0x31, 0x54, 0x3e, 0x9a, 0x15, 0xa5, 0xee, 0xb5, 0x7f, 0xf6, 0xec, 0x25, + 0xf5, 0x75, 0xec, 0xf6, 0x7b, 0xb6, 0x75, 0xbc, 0xba, 0xbe, 0x61, 0xdb, 0xc7, 0xab, 0xeb, 0xc8, + 0xde, 0xdc, 0x11, 0x50, 0x9c, 0xdf, 0x39, 0x08, 0xc3, 0x5a, 0xbe, 0xf3, 0xcd, 0x9f, 0x50, 0x7e, + 0x44, 0x1d, 0x28, 0xca, 0x48, 0xbd, 0xed, 0x66, 0x38, 0xf4, 0x9f, 0x4f, 0xe1, 0xe0, 0xd1, 0x7f, + 0x4c, 0x98, 0xd7, 0x75, 0xf3, 0x51, 0x72, 0x0a, 0x32, 0x12, 0xf9, 0xe1, 0xd9, 0xee, 0x9f, 0xef, + 0xb6, 0xad, 0xbf, 0xde, 0x6d, 0x5b, 0xff, 0xbc, 0xdb, 0xb6, 0x7e, 0xa9, 0x1a, 0x0f, 0x8c, 0xef, + 0xfb, 0x09, 0xdb, 0x7f, 0xef, 0x57, 0xef, 0xec, 0xa6, 0xde, 0xb2, 0x87, 0xff, 0x06, 0x00, 0x00, + 0xff, 0xff, 0xbf, 0xad, 0x9f, 0x12, 0x53, 0x0a, 0x00, 0x00, } diff --git a/mesh/v1alpha1/config.proto b/mesh/v1alpha1/config.proto index e530cbb374..e327a74438 100644 --- a/mesh/v1alpha1/config.proto +++ b/mesh/v1alpha1/config.proto @@ -159,7 +159,7 @@ message MeshConfig { // not implemented. outbound traffic will be restricted to destinations defined in VirtualServices only VIRTUAL_SERVICE_ONLY = 2 [deprecated=true]; } - Mode mode = 1 [deprecated=true]; + Mode mode = 1; } // Set the default behavior of the sidecar for handling outbound traffic from the application. @@ -168,7 +168,7 @@ message MeshConfig { // requested destination. // Users are strongly encouraged to use ServiceEntries to explicitly declare any external dependencies, // instead of using allow_any. - OutboundTrafficPolicy outbound_traffic_policy = 17 [deprecated=true]; + OutboundTrafficPolicy outbound_traffic_policy = 17; reserved 18; diff --git a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html index 79b3ccb6d0..e857386d21 100644 --- a/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html +++ b/mesh/v1alpha1/istio.mesh.v1alpha1.pb.html @@ -255,7 +255,7 @@

MeshConfig

- + outboundTrafficPolicy MeshConfig.OutboundTrafficPolicy @@ -464,7 +464,7 @@

MeshConfig.OutboundTrafficPolicy

- + mode MeshConfig.OutboundTrafficPolicy.Mode diff --git a/python/istio_api/mesh/v1alpha1/config_pb2.py b/python/istio_api/mesh/v1alpha1/config_pb2.py index 2362763486..73d2058233 100644 --- a/python/istio_api/mesh/v1alpha1/config_pb2.py +++ b/python/istio_api/mesh/v1alpha1/config_pb2.py @@ -22,7 +22,7 @@ name='mesh/v1alpha1/config.proto', package='istio.mesh.v1alpha1', syntax='proto3', - serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\"\x8b\x0e\n\nMeshConfig\x12\x1a\n\x12mixer_check_server\x18\x01 \x01(\t\x12\x1b\n\x13mixer_report_server\x18\x02 \x01(\t\x12\x1d\n\x15\x64isable_policy_checks\x18\x03 \x01(\x08\x12\x1e\n\x16policy_check_fail_open\x18\x19 \x01(\x08\x12\x19\n\x11proxy_listen_port\x18\x04 \x01(\x05\x12\x17\n\x0fproxy_http_port\x18\x05 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x61\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\x12\x15\n\ringress_class\x18\x07 \x01(\t\x12\x17\n\x0fingress_service\x18\x08 \x01(\t\x12V\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerMode\x12\x43\n\x0b\x61uth_policy\x18\n \x01(\x0e\x32*.istio.mesh.v1alpha1.MeshConfig.AuthPolicyB\x02\x18\x01\x12\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x16\n\x0e\x65nable_tracing\x18\x0c \x01(\x08\x12\x17\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\t\x12\x19\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\t\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12Z\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicyB\x02\x18\x01\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x1a\n\x12sds_use_k8s_sa_jwt\x18\x1e \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x12\\\n\x1a\x64\x65\x66\x61ult_service_dependency\x18\x1d \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency\x1a\xad\x01\n\x15OutboundTrafficPolicy\x12L\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.ModeB\x02\x18\x01\"F\n\x04Mode\x12\x11\n\rREGISTRY_ONLY\x10\x00\x12\r\n\tALLOW_ANY\x10\x01\x12\x1c\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\x02\x08\x01\x1a\xb9\x01\n\x18\x44\x65\x66\x61ultServiceDependency\x12R\n\x0bimport_mode\x18\x01 \x01(\x0e\x32=.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency.Mode\x12\x19\n\x11import_namespaces\x18\x02 \x03(\t\".\n\x04Mode\x12\x12\n\x0e\x41LL_NAMESPACES\x10\x00\x12\x12\n\x0eSAME_NAMESPACE\x10\x01\"9\n\x15IngressControllerMode\x12\x07\n\x03OFF\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\n\n\x06STRICT\x10\x02\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettingsB\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') + serialized_pb=_b('\n\x1amesh/v1alpha1/config.proto\x12\x13istio.mesh.v1alpha1\x1a\x1egoogle/protobuf/duration.proto\x1a\x19mesh/v1alpha1/proxy.proto\x1a*networking/v1alpha3/destination_rule.proto\"\x83\x0e\n\nMeshConfig\x12\x1a\n\x12mixer_check_server\x18\x01 \x01(\t\x12\x1b\n\x13mixer_report_server\x18\x02 \x01(\t\x12\x1d\n\x15\x64isable_policy_checks\x18\x03 \x01(\x08\x12\x1e\n\x16policy_check_fail_open\x18\x19 \x01(\x08\x12\x19\n\x11proxy_listen_port\x18\x04 \x01(\x05\x12\x17\n\x0fproxy_http_port\x18\x05 \x01(\x05\x12\x32\n\x0f\x63onnect_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x61\n\rtcp_keepalive\x18\x1c \x01(\x0b\x32J.istio.networking.v1alpha3.ConnectionPoolSettings.TCPSettings.TcpKeepalive\x12\x15\n\ringress_class\x18\x07 \x01(\t\x12\x17\n\x0fingress_service\x18\x08 \x01(\t\x12V\n\x17ingress_controller_mode\x18\t \x01(\x0e\x32\x35.istio.mesh.v1alpha1.MeshConfig.IngressControllerMode\x12\x43\n\x0b\x61uth_policy\x18\n \x01(\x0e\x32*.istio.mesh.v1alpha1.MeshConfig.AuthPolicyB\x02\x18\x01\x12\x38\n\x11rds_refresh_delay\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x16\n\x0e\x65nable_tracing\x18\x0c \x01(\x08\x12\x17\n\x0f\x61\x63\x63\x65ss_log_file\x18\r \x01(\t\x12\x19\n\x11\x61\x63\x63\x65ss_log_format\x18\x18 \x01(\t\x12N\n\x13\x61\x63\x63\x65ss_log_encoding\x18\x1b \x01(\x0e\x32\x31.istio.mesh.v1alpha1.MeshConfig.AccessLogEncoding\x12\x38\n\x0e\x64\x65\x66\x61ult_config\x18\x0e \x01(\x0b\x32 .istio.mesh.v1alpha1.ProxyConfig\x12\x19\n\rmixer_address\x18\x10 \x01(\tB\x02\x18\x01\x12V\n\x17outbound_traffic_policy\x18\x11 \x01(\x0b\x32\x35.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy\x12\'\n\x1f\x65nable_client_side_policy_check\x18\x13 \x01(\x08\x12\x14\n\x0csds_uds_path\x18\x14 \x01(\t\x12\x38\n\x11sds_refresh_delay\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12\x39\n\x0e\x63onfig_sources\x18\x16 \x03(\x0b\x32!.istio.mesh.v1alpha1.ConfigSource\x12\x1e\n\x16\x65nable_sds_token_mount\x18\x17 \x01(\x08\x12\x1a\n\x12sds_use_k8s_sa_jwt\x18\x1e \x01(\x08\x12\x14\n\x0ctrust_domain\x18\x1a \x01(\t\x12\\\n\x1a\x64\x65\x66\x61ult_service_dependency\x18\x1d \x01(\x0b\x32\x38.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency\x1a\xa9\x01\n\x15OutboundTrafficPolicy\x12H\n\x04mode\x18\x01 \x01(\x0e\x32:.istio.mesh.v1alpha1.MeshConfig.OutboundTrafficPolicy.Mode\"F\n\x04Mode\x12\x11\n\rREGISTRY_ONLY\x10\x00\x12\r\n\tALLOW_ANY\x10\x01\x12\x1c\n\x14VIRTUAL_SERVICE_ONLY\x10\x02\x1a\x02\x08\x01\x1a\xb9\x01\n\x18\x44\x65\x66\x61ultServiceDependency\x12R\n\x0bimport_mode\x18\x01 \x01(\x0e\x32=.istio.mesh.v1alpha1.MeshConfig.DefaultServiceDependency.Mode\x12\x19\n\x11import_namespaces\x18\x02 \x03(\t\".\n\x04Mode\x12\x12\n\x0e\x41LL_NAMESPACES\x10\x00\x12\x12\n\x0eSAME_NAMESPACE\x10\x01\"9\n\x15IngressControllerMode\x12\x07\n\x03OFF\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\n\n\x06STRICT\x10\x02\"&\n\nAuthPolicy\x12\x08\n\x04NONE\x10\x00\x12\x0e\n\nMUTUAL_TLS\x10\x01\"\'\n\x11\x41\x63\x63\x65ssLogEncoding\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01J\x04\x08\x0f\x10\x10J\x04\x08\x12\x10\x13\"]\n\x0c\x43onfigSource\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12<\n\x0ctls_settings\x18\x02 \x01(\x0b\x32&.istio.networking.v1alpha3.TLSSettingsB\x1cZ\x1aistio.io/api/mesh/v1alpha1b\x06proto3') , dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,mesh_dot_v1alpha1_dot_proxy__pb2.DESCRIPTOR,networking_dot_v1alpha3_dot_destination__rule__pb2.DESCRIPTOR,]) @@ -49,8 +49,8 @@ ], containing_type=None, options=None, - serialized_start=1548, - serialized_end=1618, + serialized_start=1540, + serialized_end=1610, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE) @@ -71,8 +71,8 @@ ], containing_type=None, options=None, - serialized_start=1760, - serialized_end=1806, + serialized_start=1752, + serialized_end=1798, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_DEFAULTSERVICEDEPENDENCY_MODE) @@ -97,8 +97,8 @@ ], containing_type=None, options=None, - serialized_start=1808, - serialized_end=1865, + serialized_start=1800, + serialized_end=1857, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_INGRESSCONTROLLERMODE) @@ -119,8 +119,8 @@ ], containing_type=None, options=None, - serialized_start=1867, - serialized_end=1905, + serialized_start=1859, + serialized_end=1897, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_AUTHPOLICY) @@ -141,8 +141,8 @@ ], containing_type=None, options=None, - serialized_start=1907, - serialized_end=1946, + serialized_start=1899, + serialized_end=1938, ) _sym_db.RegisterEnumDescriptor(_MESHCONFIG_ACCESSLOGENCODING) @@ -160,7 +160,7 @@ has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR), + options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -174,8 +174,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1445, - serialized_end=1618, + serialized_start=1441, + serialized_end=1610, ) _MESHCONFIG_DEFAULTSERVICEDEPENDENCY = _descriptor.Descriptor( @@ -212,8 +212,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1621, - serialized_end=1806, + serialized_start=1613, + serialized_end=1798, ) _MESHCONFIG = _descriptor.Descriptor( @@ -362,7 +362,7 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR), + options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='enable_client_side_policy_check', full_name='istio.mesh.v1alpha1.MeshConfig.enable_client_side_policy_check', index=20, number=19, type=8, cpp_type=7, label=1, @@ -435,7 +435,7 @@ oneofs=[ ], serialized_start=155, - serialized_end=1958, + serialized_end=1950, ) @@ -472,8 +472,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1960, - serialized_end=2053, + serialized_start=1952, + serialized_end=2045, ) _MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode'].enum_type = _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE @@ -536,16 +536,12 @@ DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('Z\032istio.io/api/mesh/v1alpha1')) _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE.values_by_name["VIRTUAL_SERVICE_ONLY"].has_options = True _MESHCONFIG_OUTBOUNDTRAFFICPOLICY_MODE.values_by_name["VIRTUAL_SERVICE_ONLY"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\010\001')) -_MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode'].has_options = True -_MESHCONFIG_OUTBOUNDTRAFFICPOLICY.fields_by_name['mode']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')) _MESHCONFIG.fields_by_name['auth_policy'].has_options = True _MESHCONFIG.fields_by_name['auth_policy']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')) _MESHCONFIG.fields_by_name['rds_refresh_delay'].has_options = True _MESHCONFIG.fields_by_name['rds_refresh_delay']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')) _MESHCONFIG.fields_by_name['mixer_address'].has_options = True _MESHCONFIG.fields_by_name['mixer_address']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')) -_MESHCONFIG.fields_by_name['outbound_traffic_policy'].has_options = True -_MESHCONFIG.fields_by_name['outbound_traffic_policy']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')) _MESHCONFIG.fields_by_name['sds_refresh_delay'].has_options = True _MESHCONFIG.fields_by_name['sds_refresh_delay']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')) # @@protoc_insertion_point(module_scope)