diff --git a/proto/test/v1/proto2/test_all_types.proto b/proto/test/v1/proto2/test_all_types.proto index adbb5acc..426be2f9 100644 --- a/proto/test/v1/proto2/test_all_types.proto +++ b/proto/test/v1/proto2/test_all_types.proto @@ -65,6 +65,8 @@ message TestAllTypes { NestedMessage single_nested_message = 21; NestedEnum single_nested_enum = 22 [default = BAR]; } + optional NestedMessage standalone_message = 23; + optional NestedEnum standalone_enum = 24; // Repeated repeated int32 repeated_int32 = 31; @@ -101,6 +103,11 @@ message NestedTestAllTypes { optional TestAllTypes payload = 2; } +// This proto has a required field. +message TestRequired { + required int32 required_int32 = 1; +} + // This proto tests that global enums are resolved correctly. enum GlobalEnum { GOO = 0; diff --git a/proto/test/v1/proto2/test_all_types/test_all_types.pb.go b/proto/test/v1/proto2/test_all_types/test_all_types.pb.go index e8712685..e171a92b 100755 --- a/proto/test/v1/proto2/test_all_types/test_all_types.pb.go +++ b/proto/test/v1/proto2/test_all_types/test_all_types.pb.go @@ -145,6 +145,8 @@ type TestAllTypes struct { // *TestAllTypes_SingleNestedMessage // *TestAllTypes_SingleNestedEnum NestedType isTestAllTypes_NestedType `protobuf_oneof:"nested_type"` + StandaloneMessage *TestAllTypes_NestedMessage `protobuf:"bytes,23,opt,name=standalone_message,json=standaloneMessage" json:"standalone_message,omitempty"` + StandaloneEnum *TestAllTypes_NestedEnum `protobuf:"varint,24,opt,name=standalone_enum,json=standaloneEnum,enum=google.api.expr.test.v1.proto2.TestAllTypes_NestedEnum" json:"standalone_enum,omitempty"` RepeatedInt32 []int32 `protobuf:"varint,31,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"` RepeatedInt64 []int64 `protobuf:"varint,32,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"` RepeatedUint32 []uint32 `protobuf:"varint,33,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"` @@ -450,6 +452,20 @@ func (m *TestAllTypes) GetSingleNestedEnum() TestAllTypes_NestedEnum { return Default_TestAllTypes_SingleNestedEnum } +func (m *TestAllTypes) GetStandaloneMessage() *TestAllTypes_NestedMessage { + if m != nil { + return m.StandaloneMessage + } + return nil +} + +func (m *TestAllTypes) GetStandaloneEnum() TestAllTypes_NestedEnum { + if m != nil && m.StandaloneEnum != nil { + return *m.StandaloneEnum + } + return TestAllTypes_FOO +} + func (m *TestAllTypes) GetRepeatedInt32() []int32 { if m != nil { return m.RepeatedInt32 @@ -698,6 +714,45 @@ func (m *NestedTestAllTypes) GetPayload() *TestAllTypes { return nil } +type TestRequired struct { + RequiredInt32 *int32 `protobuf:"varint,1,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TestRequired) Reset() { *m = TestRequired{} } +func (m *TestRequired) String() string { return proto.CompactTextString(m) } +func (*TestRequired) ProtoMessage() {} +func (*TestRequired) Descriptor() ([]byte, []int) { + return fileDescriptor_98cc99a98b5d98fe, []int{2} +} + +func (m *TestRequired) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TestRequired.Unmarshal(m, b) +} +func (m *TestRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TestRequired.Marshal(b, m, deterministic) +} +func (m *TestRequired) XXX_Merge(src proto.Message) { + xxx_messageInfo_TestRequired.Merge(m, src) +} +func (m *TestRequired) XXX_Size() int { + return xxx_messageInfo_TestRequired.Size(m) +} +func (m *TestRequired) XXX_DiscardUnknown() { + xxx_messageInfo_TestRequired.DiscardUnknown(m) +} + +var xxx_messageInfo_TestRequired proto.InternalMessageInfo + +func (m *TestRequired) GetRequiredInt32() int32 { + if m != nil && m.RequiredInt32 != nil { + return *m.RequiredInt32 + } + return 0 +} + func init() { proto.RegisterEnum("google.api.expr.test.v1.proto2.GlobalEnum", GlobalEnum_name, GlobalEnum_value) proto.RegisterEnum("google.api.expr.test.v1.proto2.TestAllTypes_NestedEnum", TestAllTypes_NestedEnum_name, TestAllTypes_NestedEnum_value) @@ -706,6 +761,7 @@ func init() { proto.RegisterMapType((map[string]string)(nil), "google.api.expr.test.v1.proto2.TestAllTypes.MapStringStringEntry") proto.RegisterType((*TestAllTypes_NestedMessage)(nil), "google.api.expr.test.v1.proto2.TestAllTypes.NestedMessage") proto.RegisterType((*NestedTestAllTypes)(nil), "google.api.expr.test.v1.proto2.NestedTestAllTypes") + proto.RegisterType((*TestRequired)(nil), "google.api.expr.test.v1.proto2.TestRequired") } func init() { @@ -713,89 +769,93 @@ func init() { } var fileDescriptor_98cc99a98b5d98fe = []byte{ - // 1338 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x6b, 0x73, 0xd3, 0x46, - 0x17, 0x66, 0xbd, 0x09, 0x49, 0x36, 0x71, 0xe2, 0x6c, 0x12, 0x58, 0xfc, 0x32, 0xb0, 0x6f, 0xb8, - 0x64, 0xb9, 0xc4, 0x19, 0x6c, 0xbd, 0x82, 0xd7, 0xd3, 0x76, 0x26, 0x2e, 0x24, 0xb4, 0x53, 0x0a, - 0xa3, 0x40, 0x3b, 0xc3, 0x17, 0x8f, 0x6c, 0x6f, 0x8c, 0x8b, 0x2c, 0xa9, 0xb2, 0x04, 0x88, 0x1f, - 0xd4, 0x1f, 0xd7, 0x5f, 0xd1, 0xd1, 0xde, 0xac, 0x0b, 0xa6, 0x03, 0x7c, 0xc9, 0x58, 0xe7, 0x3c, - 0xe7, 0x39, 0xe7, 0x3c, 0xbb, 0x47, 0x27, 0x42, 0x77, 0xc2, 0x28, 0x88, 0x83, 0xa3, 0x98, 0xcf, - 0xe2, 0xa3, 0x77, 0x0f, 0x8e, 0xc4, 0x53, 0x5b, 0x3c, 0xf6, 0x5d, 0xcf, 0xeb, 0xc7, 0x69, 0xc8, - 0x67, 0x2d, 0x61, 0xc5, 0xd7, 0xc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3, 0x79, 0x90, 0x6d, 0xe1, - 0x5b, 0x68, 0x53, 0x81, 0xce, 0x27, 0x1f, 0xf8, 0xa8, 0xd3, 0x26, 0x2b, 0x14, 0xb0, 0x15, 0x47, - 0x85, 0x9e, 0x48, 0x63, 0x19, 0x66, 0x5b, 0x64, 0x95, 0x02, 0x76, 0xb1, 0x00, 0x13, 0x9d, 0x6e, - 0xe9, 0x94, 0x9a, 0x6e, 0x8d, 0x02, 0xb6, 0xe5, 0xa8, 0xe8, 0x33, 0x65, 0xad, 0x00, 0x6d, 0x8b, - 0x20, 0x0a, 0x58, 0xa3, 0x08, 0xb4, 0x2d, 0x7c, 0xd3, 0x68, 0x7c, 0xee, 0x05, 0x6e, 0x4c, 0xd6, - 0x29, 0x60, 0xb5, 0x2e, 0xe8, 0x68, 0x85, 0x4f, 0x32, 0x2b, 0x66, 0xa6, 0xd5, 0x51, 0x90, 0x0c, - 0x3c, 0x4e, 0x36, 0x28, 0x60, 0xa0, 0x0b, 0xed, 0x96, 0x51, 0xee, 0xb1, 0x70, 0xe0, 0x5b, 0x48, - 0x05, 0xf6, 0x07, 0x41, 0xe0, 0x91, 0x3a, 0x05, 0x6c, 0xb5, 0xbb, 0x14, 0x47, 0x09, 0x77, 0x90, - 0x74, 0xf4, 0x82, 0xc0, 0xc3, 0x77, 0xe7, 0xda, 0xc5, 0xd1, 0xc4, 0x1f, 0x93, 0x4d, 0x0a, 0xd8, - 0x5a, 0x77, 0x99, 0x4f, 0xc3, 0x38, 0x35, 0x12, 0x0a, 0x17, 0x3e, 0x30, 0x25, 0x0e, 0xd2, 0x98, - 0xcf, 0xc8, 0x16, 0x05, 0x6c, 0xa3, 0xbb, 0xe4, 0x07, 0x3e, 0xd7, 0x55, 0xf6, 0x32, 0x07, 0xee, - 0x20, 0x95, 0xa2, 0xef, 0xfa, 0x29, 0x19, 0x51, 0xc0, 0xd6, 0xdb, 0xbb, 0x2d, 0x35, 0x37, 0xfa, - 0x76, 0xb6, 0x8e, 0x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00, 0xb9, 0xd4, 0xfb, - 0x07, 0x08, 0xe5, 0xae, 0xea, 0x0a, 0x82, 0x27, 0xcf, 0x9f, 0x37, 0x2e, 0x64, 0x3f, 0x7a, 0xc7, - 0x4e, 0x03, 0xc8, 0x1f, 0xaf, 0x1b, 0xb5, 0x5e, 0x1d, 0xad, 0xe7, 0x74, 0xdf, 0xff, 0x0b, 0x20, - 0x5c, 0x65, 0xce, 0x8a, 0x1b, 0xbe, 0x99, 0x78, 0x23, 0x51, 0xf0, 0x57, 0x16, 0x27, 0x08, 0xf0, - 0x09, 0x5a, 0x09, 0xdd, 0xd4, 0x0b, 0xdc, 0x91, 0x6a, 0xf4, 0xfe, 0x97, 0x9c, 0xb1, 0xa3, 0x83, - 0xef, 0x1e, 0x20, 0x74, 0xea, 0x05, 0x03, 0xd7, 0xd3, 0x0d, 0x9e, 0xea, 0x06, 0x4f, 0x75, 0x83, - 0xa7, 0xa2, 0xc1, 0xee, 0xeb, 0x47, 0xe3, 0x49, 0xfc, 0x26, 0x19, 0xb4, 0x86, 0xc1, 0xf4, 0x48, - 0x7d, 0x6b, 0x0e, 0xb9, 0x77, 0x38, 0x0b, 0xf9, 0xf0, 0xf3, 0x9f, 0xce, 0xff, 0x04, 0x00, 0x00, - 0xff, 0xff, 0x8a, 0xfb, 0x6f, 0x8d, 0x60, 0x0f, 0x00, 0x00, + // 1403 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0x7d, 0x73, 0xd3, 0xc6, + 0x13, 0x46, 0xba, 0x84, 0x24, 0x97, 0x38, 0x71, 0x2e, 0x09, 0x39, 0xf2, 0x63, 0xe0, 0x7e, 0x81, + 0x90, 0xe3, 0x25, 0xce, 0x60, 0x0b, 0x41, 0x3d, 0x6d, 0x67, 0xe2, 0x42, 0x42, 0x3b, 0xa5, 0x30, + 0x0a, 0xb4, 0x33, 0xfc, 0xe3, 0xca, 0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0x6c, 0x20, 0xce, 0x24, 0xf1, 0x5b, 0x7f, 0xe3, 0x9a, 0xe2, 0x4e, 0x13, 0x56, 0x7e, + 0xa7, 0xdd, 0xdd, 0x87, 0xf0, 0xc4, 0x0f, 0x7b, 0xae, 0xaf, 0x74, 0x39, 0x51, 0xba, 0x9c, 0x28, + 0x5d, 0x4e, 0xb8, 0x2e, 0xed, 0x37, 0x8f, 0x87, 0x5e, 0xf2, 0x36, 0xed, 0x35, 0xfa, 0xe1, 0xe8, + 0x50, 0x7e, 0x6f, 0xf7, 0x99, 0x7f, 0x30, 0x8e, 0x58, 0xff, 0xeb, 0xff, 0x3e, 0xf8, 0x37, 0x00, + 0x00, 0xff, 0xff, 0x21, 0x77, 0xe0, 0x3d, 0x64, 0x10, 0x00, 0x00, } diff --git a/proto/test/v1/proto3/test_all_types.proto b/proto/test/v1/proto3/test_all_types.proto index 0855d98f..2b177762 100644 --- a/proto/test/v1/proto3/test_all_types.proto +++ b/proto/test/v1/proto3/test_all_types.proto @@ -65,6 +65,8 @@ message TestAllTypes { NestedMessage single_nested_message = 21; NestedEnum single_nested_enum = 22; } + NestedMessage standalone_message = 23; + NestedEnum standalone_enum = 24; // Repeated repeated int32 repeated_int32 = 31; diff --git a/proto/test/v1/proto3/test_all_types/test_all_types.pb.go b/proto/test/v1/proto3/test_all_types/test_all_types.pb.go index c0d26433..c495239e 100755 --- a/proto/test/v1/proto3/test_all_types/test_all_types.pb.go +++ b/proto/test/v1/proto3/test_all_types/test_all_types.pb.go @@ -115,6 +115,8 @@ type TestAllTypes struct { // *TestAllTypes_SingleNestedMessage // *TestAllTypes_SingleNestedEnum NestedType isTestAllTypes_NestedType `protobuf_oneof:"nested_type"` + StandaloneMessage *TestAllTypes_NestedMessage `protobuf:"bytes,23,opt,name=standalone_message,json=standaloneMessage,proto3" json:"standalone_message,omitempty"` + StandaloneEnum TestAllTypes_NestedEnum `protobuf:"varint,24,opt,name=standalone_enum,json=standaloneEnum,proto3,enum=google.api.expr.test.v1.proto3.TestAllTypes_NestedEnum" json:"standalone_enum,omitempty"` RepeatedInt32 []int32 `protobuf:"varint,31,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"` RepeatedInt64 []int64 `protobuf:"varint,32,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"` RepeatedUint32 []uint32 `protobuf:"varint,33,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"` @@ -407,6 +409,20 @@ func (m *TestAllTypes) GetSingleNestedEnum() TestAllTypes_NestedEnum { return TestAllTypes_FOO } +func (m *TestAllTypes) GetStandaloneMessage() *TestAllTypes_NestedMessage { + if m != nil { + return m.StandaloneMessage + } + return nil +} + +func (m *TestAllTypes) GetStandaloneEnum() TestAllTypes_NestedEnum { + if m != nil { + return m.StandaloneEnum + } + return TestAllTypes_FOO +} + func (m *TestAllTypes) GetRepeatedInt32() []int32 { if m != nil { return m.RepeatedInt32 @@ -670,86 +686,88 @@ func init() { } var fileDescriptor_a2e70c0487903069 = []byte{ - // 1289 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x97, 0x6b, 0x73, 0xd3, 0x46, - 0x17, 0xc7, 0x59, 0x8b, 0xdc, 0x36, 0x76, 0xe2, 0x6c, 0x12, 0x58, 0xfc, 0x30, 0x64, 0x09, 0x0f, - 0xcd, 0x72, 0x73, 0x06, 0x5b, 0x15, 0x94, 0x69, 0x3b, 0x13, 0x17, 0x12, 0xda, 0x29, 0x85, 0x51, - 0xa0, 0x9d, 0xe1, 0x8d, 0x47, 0xb6, 0x37, 0x46, 0x45, 0x96, 0x54, 0x5d, 0x00, 0xf1, 0x81, 0xfa, - 0x19, 0xfa, 0xf1, 0x3a, 0xda, 0x8b, 0xbc, 0x92, 0x30, 0x1d, 0xc8, 0x9b, 0x8c, 0x75, 0xf6, 0xbf, - 0xbf, 0x73, 0xd9, 0x3d, 0x3a, 0x11, 0xbc, 0x15, 0x46, 0x41, 0x12, 0x1c, 0x26, 0x2c, 0x4e, 0x0e, - 0xdf, 0xdd, 0x3f, 0xe4, 0x4f, 0x7d, 0xfe, 0x38, 0x74, 0x3c, 0x6f, 0x98, 0x64, 0x21, 0x8b, 0xbb, - 0xdc, 0x8a, 0xae, 0x4d, 0x83, 0x60, 0xea, 0xb1, 0xae, 0x13, 0xba, 0x5d, 0xf6, 0x21, 0x8c, 0xba, - 0xb9, 0xaa, 0xfb, 0xee, 0xbe, 0x58, 0xee, 0x77, 0xae, 0x88, 0x75, 0xc1, 0x18, 0xa5, 0x67, 0x87, - 0x8e, 0x9f, 0x89, 0xb5, 0xce, 0xb5, 0xea, 0xd2, 0x24, 0x8d, 0x9c, 0xc4, 0x0d, 0x7c, 0xb9, 0x7e, - 0xb5, 0xba, 0x1e, 0x27, 0x51, 0x3a, 0x4e, 0xe4, 0xea, 0x5e, 0x75, 0x35, 0x71, 0x67, 0x2c, 0x4e, - 0x9c, 0x59, 0xb8, 0x08, 0xff, 0x3e, 0x72, 0xc2, 0x90, 0x45, 0x32, 0xf2, 0xfd, 0x7f, 0x3a, 0xb0, - 0xf9, 0x92, 0xc5, 0xc9, 0x91, 0xe7, 0xbd, 0xcc, 0x13, 0x42, 0xd7, 0x61, 0x33, 0x76, 0xfd, 0xa9, - 0xc7, 0x86, 0xae, 0x9f, 0xf4, 0x7b, 0x18, 0x10, 0x40, 0x97, 0xec, 0x75, 0x61, 0xfb, 0x39, 0x37, - 0x95, 0x25, 0x96, 0x89, 0x1b, 0x04, 0x50, 0x43, 0x93, 0x58, 0x26, 0xba, 0x01, 0x5b, 0x52, 0x92, - 0x0a, 0x8c, 0x41, 0x00, 0x6d, 0xd9, 0x72, 0xdf, 0x2b, 0x6e, 0xab, 0x88, 0x2c, 0x13, 0x5f, 0x24, - 0x80, 0x5e, 0xd4, 0x45, 0x25, 0x52, 0x2c, 0x48, 0x4b, 0x04, 0xd0, 0x2d, 0x25, 0x3a, 0xad, 0x92, - 0x62, 0x41, 0x5a, 0x26, 0x80, 0x22, 0x5d, 0x64, 0x99, 0xe8, 0x26, 0xdc, 0x90, 0xa2, 0x33, 0xf7, - 0x03, 0x9b, 0xf4, 0x7b, 0x78, 0x85, 0x00, 0xba, 0x62, 0xcb, 0xad, 0xc7, 0xc2, 0x58, 0x95, 0x59, - 0x26, 0x5e, 0x25, 0x80, 0x2e, 0x97, 0x64, 0x96, 0x89, 0x0e, 0xe0, 0xa6, 0x72, 0xa9, 0x70, 0x6b, - 0x04, 0xd0, 0x4d, 0x5b, 0xee, 0x3e, 0x95, 0xd6, 0x9a, 0xd0, 0x32, 0x31, 0x24, 0x80, 0xb6, 0xcb, - 0x42, 0xcb, 0xd4, 0xca, 0x7a, 0xe6, 0x05, 0x4e, 0x82, 0xd7, 0x09, 0xa0, 0x0d, 0x55, 0xd6, 0xe3, - 0xdc, 0xa4, 0xe5, 0x39, 0x09, 0xd2, 0x91, 0xc7, 0x70, 0x93, 0x00, 0x0a, 0x54, 0x9e, 0x8f, 0xb9, - 0x0d, 0xed, 0x41, 0xb9, 0x67, 0x38, 0x0a, 0x02, 0x0f, 0xb7, 0x08, 0xa0, 0xab, 0x36, 0x14, 0xa6, - 0x41, 0x10, 0x78, 0x7a, 0xb5, 0x92, 0xc8, 0xf5, 0xa7, 0x78, 0x83, 0x00, 0xba, 0x56, 0x54, 0x8b, - 0xdb, 0xb4, 0x68, 0x46, 0x59, 0xc2, 0x62, 0xbc, 0x49, 0x00, 0x6d, 0xaa, 0x68, 0x06, 0xb9, 0x09, - 0xf5, 0xa1, 0xa4, 0x0e, 0x1d, 0x3f, 0xc3, 0x13, 0x02, 0xe8, 0x7a, 0x6f, 0xa7, 0x2b, 0x5b, 0x41, - 0x5d, 0xb8, 0xee, 0x91, 0x9f, 0xd9, 0x6b, 0x42, 0x77, 0xe4, 0x67, 0x68, 0x50, 0x94, 0x43, 0x5d, - 0x74, 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x01, 0x51, 0xb4, 0x5d, 0x89, 0x28, 0x4c, 0x8a, 0xf8, 0x0b, - 0xdc, 0xd6, 0xda, 0xba, 0xe0, 0x85, 0x0b, 0xee, 0x7d, 0xde, 0xe9, 0x82, 0xb6, 0x35, 0x6f, 0xfd, - 0xfa, 0x81, 0xf0, 0xe6, 0x2e, 0x60, 0x7f, 0x2d, 0x38, 0x10, 0xde, 0xef, 0xa5, 0x03, 0xe1, 0x16, - 0x85, 0x0b, 0x8b, 0x64, 0x7d, 0x16, 0x27, 0x6c, 0x32, 0x9c, 0xb1, 0x38, 0x76, 0xa6, 0x0c, 0xef, - 0x72, 0xde, 0xa3, 0xee, 0xe7, 0xc7, 0x63, 0x57, 0x1f, 0x40, 0xdd, 0xdf, 0x38, 0xe2, 0x99, 0x20, - 0x3c, 0xbd, 0xa0, 0x8a, 0x51, 0x32, 0xa3, 0x29, 0x44, 0x65, 0x8f, 0xcc, 0x4f, 0x67, 0xf8, 0x12, - 0x01, 0x74, 0xa3, 0xf7, 0xe0, 0x2b, 0xdc, 0x3d, 0xf1, 0xd3, 0xd9, 0xd3, 0x0b, 0x76, 0x5b, 0xf7, - 0x95, 0xdb, 0xf2, 0x69, 0x10, 0xb1, 0x90, 0x39, 0xb9, 0x0f, 0x31, 0x7f, 0xf6, 0x88, 0x41, 0x97, - 0xec, 0x96, 0xb2, 0x8a, 0x91, 0x58, 0x91, 0x59, 0x26, 0x26, 0xc4, 0xa0, 0x46, 0x49, 0x26, 0x86, - 0x46, 0x21, 0x93, 0x83, 0xf1, 0x3a, 0x31, 0x68, 0xcb, 0x2e, 0x76, 0xcb, 0xd1, 0x58, 0x15, 0x5a, - 0x26, 0xde, 0x27, 0x06, 0xbd, 0x58, 0x16, 0x56, 0x88, 0x72, 0x40, 0xde, 0x20, 0x06, 0xdd, 0x9a, - 0x0b, 0x4f, 0xeb, 0x44, 0x39, 0x24, 0xff, 0x4f, 0x0c, 0x8a, 0xca, 0x42, 0xcb, 0x44, 0xb7, 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, 0xb2, 0xdb, 0x40, 0xfc, 0x78, - 0xdd, 0x6e, 0x0c, 0x5a, 0x70, 0x5d, 0xab, 0xfb, 0xfe, 0xdf, 0x00, 0xa2, 0x3a, 0x39, 0x0f, 0x6e, - 0xfc, 0xc6, 0xf5, 0x26, 0x3c, 0xe0, 0xaf, 0x0c, 0x8e, 0x03, 0xd0, 0x31, 0x5c, 0x09, 0x9d, 0xcc, - 0x0b, 0x9c, 0x89, 0x4c, 0xf4, 0xee, 0x97, 0x9c, 0xb1, 0xad, 0x36, 0xdf, 0x3e, 0x80, 0xf0, 0xc4, - 0x0b, 0x46, 0x8e, 0xa7, 0x12, 0x3c, 0x51, 0x09, 0x9e, 0xa8, 0x04, 0x4f, 0x78, 0x82, 0x8f, 0x5e, - 0x3f, 0x9c, 0xba, 0xc9, 0x9b, 0x74, 0xd4, 0x1d, 0x07, 0xb3, 0x43, 0xf9, 0xe5, 0x38, 0x66, 0xde, - 0xbd, 0x38, 0x64, 0xe3, 0xcf, 0x7f, 0x08, 0x8f, 0x96, 0x85, 0xf9, 0xdf, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x71, 0x6b, 0xa6, 0xb1, 0x36, 0x0f, 0x00, 0x00, + // 1328 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x97, 0x5b, 0x73, 0xd3, 0x46, + 0x14, 0xc7, 0x59, 0x8b, 0xdc, 0x36, 0x71, 0xe2, 0x6c, 0x12, 0xb2, 0xb8, 0x0c, 0x59, 0x42, 0x69, + 0x96, 0x9b, 0x33, 0xd8, 0xaa, 0xa0, 0x4c, 0xdb, 0x99, 0xb8, 0x90, 0xd0, 0x4e, 0x29, 0x8c, 0x02, + 0xed, 0x0c, 0x2f, 0xae, 0x6c, 0x6f, 0x8c, 0x8a, 0x2c, 0xa9, 0xba, 0x00, 0xe2, 0xbd, 0x5f, 0xa5, + 0x9f, 0xb3, 0xa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55, 0x44, 0x96, 0x89, 0x2f, 0x12, 0x40, + 0x2f, 0xea, 0xa2, 0x12, 0x29, 0x16, 0xa4, 0x05, 0x02, 0xe8, 0xa6, 0x12, 0x9d, 0x56, 0x49, 0xb1, + 0x20, 0x2d, 0x12, 0x40, 0x91, 0x2e, 0xb2, 0x4c, 0x74, 0x03, 0xae, 0x4b, 0xd1, 0x99, 0xfb, 0x9e, + 0x8d, 0x7b, 0x5d, 0xbc, 0x44, 0x00, 0x5d, 0xb2, 0xe5, 0xd4, 0x63, 0x61, 0xac, 0xca, 0x2c, 0x13, + 0x2f, 0x13, 0x40, 0x17, 0x4b, 0x32, 0xcb, 0x44, 0x07, 0x70, 0x43, 0xb9, 0x54, 0xb8, 0x15, 0x02, + 0xe8, 0x86, 0x2d, 0x67, 0x9f, 0x4a, 0x6b, 0x4d, 0x68, 0x99, 0x18, 0x12, 0x40, 0x5b, 0x65, 0xa1, + 0x65, 0x6a, 0x65, 0x3d, 0xf3, 0x02, 0x27, 0xc1, 0xab, 0x04, 0xd0, 0x86, 0x2a, 0xeb, 0x71, 0x6e, + 0xd2, 0xf2, 0x1c, 0x07, 0xe9, 0xd0, 0x63, 0x78, 0x8d, 0x00, 0x0a, 0x54, 0x9e, 0x8f, 0xb8, 0x0d, + 0xed, 0x41, 0x39, 0x67, 0x30, 0x0c, 0x02, 0x0f, 0x37, 0x09, 0xa0, 0xcb, 0x36, 0x14, 0xa6, 0x7e, + 0x10, 0x78, 0x7a, 0xb5, 0x92, 0xc8, 0xf5, 0x27, 0x78, 0x9d, 0x00, 0xba, 0x52, 0x54, 0x8b, 0xdb, + 0xb4, 0x68, 0x86, 0x59, 0xc2, 0x62, 0xbc, 0x41, 0x00, 0x5d, 0x53, 0xd1, 0xf4, 0x73, 0x13, 0xea, + 0x41, 0x49, 0x1d, 0x38, 0x7e, 0x86, 0xc7, 0x04, 0xd0, 0xd5, 0xee, 0x76, 0x47, 0xb6, 0x82, 0xda, + 0x70, 0x9d, 0x23, 0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 0x4a, 0x32, 0x71, 0x02, 0x16, 0x32, 0x79, 0xca, 0x5f, 0x23, 0x06, 0x6d, 0xda, 0xc5, 0x6c, + 0x79, 0xce, 0x57, 0x85, 0x96, 0x89, 0xf7, 0x89, 0x41, 0x2f, 0x96, 0x85, 0x15, 0xa2, 0x3c, 0xed, + 0xaf, 0x13, 0x83, 0x6e, 0xce, 0x84, 0xa7, 0x75, 0xa2, 0x3c, 0xf1, 0xbf, 0x26, 0x06, 0x45, 0x65, + 0xa1, 0x65, 0xa2, 0x9b, 0xb0, 0x55, 0x08, 0xd5, 0x31, 0x7d, 0x83, 0x18, 0x74, 0xc9, 0x2e, 0x00, + 0xea, 0xdc, 0xaf, 0x49, 0x2d, 0x13, 0x7f, 0x43, 0x0c, 0xba, 0x58, 0x91, 0x5a, 0x26, 0xba, 0x0d, + 0x37, 0x67, 0xee, 0x15, 0xf6, 0x80, 0x18, 0x74, 0xc3, 0x2e, 0x18, 0xc5, 0xf9, 0x5f, 0x17, 0x5b, + 0x26, 0xa6, 0xc4, 0xa0, 0xad, 0xaa, 0x58, 0xdc, 0x51, 0x66, 0x41, 0xf0, 0x5b, 0xc0, 0x4d, 0x62, + 0xd0, 0xc6, 0xac, 0xf4, 0xe2, 0x1e, 0xa0, 0xe7, 0x2f, 0x6f, 0x02, 0xb7, 0x88, 0x41, 0xc1, 0x2c, + 0x7f, 0x79, 0x17, 0xb8, 0x0e, 0x8b, 0x99, 0xe2, 0x36, 0x70, 0x9b, 0x18, 0x74, 0xd9, 0x5e, 0x53, + 0x46, 0x7e, 0x1f, 0x28, 0x55, 0x53, 0xdc, 0x08, 0xee, 0x10, 0x83, 0xae, 0x68, 0xd5, 0x14, 0x77, + 0x02, 0x3d, 0x3a, 0x71, 0x2b, 0xb8, 0x4b, 0x0c, 0xba, 0x36, 0x8b, 0x4e, 0xdc, 0x0b, 0x22, 0xb8, + 0x5b, 0xc8, 0x2a, 0x2f, 0x84, 0x1e, 0x31, 0xce, 0xd9, 0x38,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b, 0xb6, 0xe1, 0x82, + 0xb8, 0xf9, 0x35, 0xb8, 0x4d, 0x3c, 0x3c, 0x6c, 0x3c, 0x00, 0xed, 0x0c, 0xee, 0xce, 0x89, 0x49, + 0xc7, 0x18, 0x02, 0xf3, 0x44, 0xc7, 0xac, 0x76, 0xbb, 0xff, 0x97, 0xba, 0x24, 0x6a, 0x05, 0xd0, + 0x5c, 0xef, 0x1f, 0x40, 0xa8, 0x6d, 0xd5, 0x25, 0x68, 0x1c, 0x3f, 0x7b, 0xd6, 0xba, 0x90, 0xff, + 0xe9, 0x1f, 0xd9, 0x2d, 0x20, 0xfe, 0xbc, 0x6a, 0x35, 0xfa, 0x4d, 0xb8, 0xaa, 0xd5, 0x7d, 0xff, + 0x5f, 0x00, 0x51, 0x9d, 0x9c, 0x07, 0x37, 0x7a, 0xed, 0x7a, 0x63, 0x1e, 0xf0, 0x17, 0x06, 0xc7, + 0x01, 0xe8, 0x18, 0x2e, 0x85, 0x4e, 0xe6, 0x05, 0xce, 0x58, 0x26, 0x7a, 0xe7, 0x73, 0xd6, 0xd8, + 0x56, 0x93, 0x6f, 0x1d, 0x40, 0x78, 0xe2, 0x05, 0x43, 0xc7, 0x53, 0x09, 0x9e, 0xa8, 0x04, 0x4f, + 0x54, 0x82, 0x27, 0x3c, 0xc1, 0x87, 0xaf, 0x1e, 0x4c, 0xdc, 0xe4, 0x75, 0x3a, 0xec, 0x8c, 0x82, + 0xe9, 0xa1, 0xfc, 0x0c, 0x1e, 0x31, 0xef, 0x6e, 0x1c, 0xb2, 0xd1, 0xa7, 0xbf, 0xea, 0x87, 0x8b, + 0xc2, 0xfc, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x30, 0xc9, 0x2e, 0x6c, 0x03, 0x10, 0x00, 0x00, } diff --git a/tests/simple/testdata/proto2.textproto b/tests/simple/testdata/proto2.textproto index b56936e5..bfc03257 100644 --- a/tests/simple/testdata/proto2.textproto +++ b/tests/simple/testdata/proto2.textproto @@ -528,3 +528,160 @@ section { value: { map_value: {} } } } +section { + name: "has" + description: "Tests for the has() macro on proto2 messages." + test { + name: "undefined" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{}.no_such_field)" + disable_check: true + eval_error: { + errors: { message: "no_such_field" } + } + } + test { + name: "repeated_none_implicit" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{}.repeated_int32)" + value { bool_value: false } + } + test { + name: "repeated_none_explicit" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{repeated_int32: []}.repeated_int32)" + value { bool_value: false } + } + test { + name: "repeated_one" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{repeated_int32: [1]}.repeated_int32)" + value { bool_value: true } + } + test { + name: "repeated_many" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{repeated_int32: [1, 2, 3]}.repeated_int32)" + value { bool_value: true } + } + test { + name: "map_none_implicit" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{}.map_string_string)" + value { bool_value: false } + } + test { + name: "map_none_explicit" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{map_string_string: {}}.map_string_string)" + value { bool_value: false } + } + test { + name: "map_one_default" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{map_string_string: {'MT': ''}}.map_string_string)" + value { bool_value: true } + } + test { + name: "map_one" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{map_string_string: {'one': 'uno'}}.map_string_string)" + value { bool_value: true } + } + test { + name: "map_many" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{map_string_string: {'one': 'uno', 'two': 'dos'}}.map_string_string)" + value { bool_value: true } + } + test { + name: "required" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestRequired{required_int32: 4}.required_int32)" + value { bool_value: true } + } + test { + name: "optional_unset_no_default" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{}.single_sint32)" + value { bool_value: false } + } + test { + name: "optional_set_no_default" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{single_sint32: -4}.single_sint32)" + value { bool_value: true } + } + test { + name: "optional_unset_with_default" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{}.single_int32)" + value { bool_value: false } + } + test { + name: "optional_set_with_default" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{single_int32: 16}.single_int32)" + value { bool_value: true } + } + test { + name: "optional_set_to_default" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{single_int32: -32}.single_int32)" + value { bool_value: true } + } + test { + name: "optional_message_unset" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{}.standalone_message)" + value { bool_value: false } + } + test { + name: "optional_message_set" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{standalone_message: TestAllTypes.NestedMessage{}}.standalone_message)" + value { bool_value: true } + } + test { + name: "optional_enum_unset" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{}.standalone_enum)" + value { bool_value: false } + } + test { + name: "optional_enum_set" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{standalone_enum: TestAllTypes.NestedEnum.BAR}.standalone_enum)" + value { bool_value: true } + } + test { + name: "optional_enum_set_zero" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{standalone_enum: TestAllTypes.NestedEnum.FOO}.standalone_enum)" + value { bool_value: true } + } + test { + name: "oneof_unset" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{}.single_nested_message)" + value { bool_value: false } + } + test { + name: "oneof_other_set" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{single_nested_enum: TestAllTypes.NestedEnum.BAZ}.single_nested_message)" + value { bool_value: false } + } + test { + name: "oneof_set" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{single_nested_message: TestAllTypes.NestedMessage{}}.single_nested_message)" + value { bool_value: true } + } + test { + name: "oneof_set_default" + container: "google.api.expr.test.v1.proto2" + expr: "has(TestAllTypes{single_nested_enum: TestAllTypes.NestedEnum.FOO}.single_nested_enum)" + value { bool_value: true } + } +} diff --git a/tests/simple/testdata/proto3.textproto b/tests/simple/testdata/proto3.textproto index bf2683c0..363b3ec8 100644 --- a/tests/simple/testdata/proto3.textproto +++ b/tests/simple/testdata/proto3.textproto @@ -521,3 +521,148 @@ section { value: { map_value: {} } } } +section { + name: "has" + description: "Tests for the has() macro on proto3 messages." + test { + name: "undefined" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{}.no_such_field)" + disable_check: true + eval_error: { + errors: { message: "no_such_field" } + } + } + test { + name: "repeated_none_implicit" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{}.repeated_int32)" + value { bool_value: false } + } + test { + name: "repeated_none_explicit" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{repeated_int32: []}.repeated_int32)" + value { bool_value: false } + } + test { + name: "repeated_one" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{repeated_int32: [1]}.repeated_int32)" + value { bool_value: true } + } + test { + name: "repeated_many" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{repeated_int32: [1, 2, 3]}.repeated_int32)" + value { bool_value: true } + } + test { + name: "map_none_implicit" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{}.map_string_string)" + value { bool_value: false } + } + test { + name: "map_none_explicit" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{map_string_string: {}}.map_string_string)" + value { bool_value: false } + } + test { + name: "map_one_default" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{map_string_string: {'MT': ''}}.map_string_string)" + value { bool_value: true } + } + test { + name: "map_one" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{map_string_string: {'one': 'uno'}}.map_string_string)" + value { bool_value: true } + } + test { + name: "map_many" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{map_string_string: {'one': 'uno', 'two': 'dos'}}.map_string_string)" + value { bool_value: true } + } + test { + name: "single_unset" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{}.single_int32)" + value { bool_value: false } + } + test { + name: "single_set" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{single_int32: 16}.single_int32)" + value { bool_value: true } + } + test { + name: "single_set_to_default" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{single_int32: 0}.single_int32)" + value { bool_value: false } + } + test { + name: "single_message_unset" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{}.standalone_message)" + value { bool_value: false } + } + test { + name: "single_message_set" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{standalone_message: TestAllTypes.NestedMessage{bb: 123}}.standalone_message)" + value { bool_value: true } + } + test { + name: "single_message_set_to_default" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{standalone_message: TestAllTypes.NestedMessage{}}.standalone_message)" + value { bool_value: true } + } + test { + name: "single_enum_unset" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{}.standalone_enum)" + value { bool_value: false } + } + test { + name: "single_enum_set" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{standalone_enum: TestAllTypes.NestedEnum.BAR}.standalone_enum)" + value { bool_value: true } + } + test { + name: "single_enum_set_zero" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{standalone_enum: TestAllTypes.NestedEnum.FOO}.standalone_enum)" + value { bool_value: false } + } + test { + name: "oneof_unset" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{}.single_nested_message)" + value { bool_value: false } + } + test { + name: "oneof_other_set" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{single_nested_enum: TestAllTypes.NestedEnum.BAZ}.single_nested_message)" + value { bool_value: false } + } + test { + name: "oneof_set" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{single_nested_message: TestAllTypes.NestedMessage{}}.single_nested_message)" + value { bool_value: true } + } + test { + name: "oneof_set_default" + container: "google.api.expr.test.v1.proto3" + expr: "has(TestAllTypes{single_nested_enum: TestAllTypes.NestedEnum.FOO}.single_nested_enum)" + value { bool_value: true } + } +}