blob: 5cce6002949bc4a5fd44ce216ad3172145f6dd2f [file] [log] [blame]
Aditya Choudhary9b593522023-10-06 19:54:58 +00001// you may not use this file except in compliance with the License.
2// You may obtain a copy of the License at
3//
4// http://www.apache.org/licenses/LICENSE-2.0
5//
6// Unless required by applicable law or agreed to in writing, software
7// distributed under the License is distributed on an "AS IS" BASIS,
8// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9// See the License for the specific language governing permissions and
10// limitations under the License.
11
12// Code generated by protoc-gen-go. DO NOT EDIT.
13// versions:
14// protoc-gen-go v1.30.0
15// protoc v3.21.12
16// source: test_spec.proto
17
18package test_spec_proto
19
20import (
21 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
22 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
23 reflect "reflect"
24 sync "sync"
25)
26
27const (
28 // Verify that this generated code is sufficiently up-to-date.
29 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
30 // Verify that runtime/protoimpl is sufficiently up-to-date.
31 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
32)
33
34type TestSpec struct {
35 state protoimpl.MessageState
36 sizeCache protoimpl.SizeCache
37 unknownFields protoimpl.UnknownFields
38
39 // List of all test targets and their metadata.
40 OwnershipMetadataList []*TestSpec_OwnershipMetadata `protobuf:"bytes,1,rep,name=ownership_metadata_list,json=ownershipMetadataList" json:"ownership_metadata_list,omitempty"`
41}
42
43func (x *TestSpec) Reset() {
44 *x = TestSpec{}
45 if protoimpl.UnsafeEnabled {
46 mi := &file_test_spec_proto_msgTypes[0]
47 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
48 ms.StoreMessageInfo(mi)
49 }
50}
51
52func (x *TestSpec) String() string {
53 return protoimpl.X.MessageStringOf(x)
54}
55
56func (*TestSpec) ProtoMessage() {}
57
58func (x *TestSpec) ProtoReflect() protoreflect.Message {
59 mi := &file_test_spec_proto_msgTypes[0]
60 if protoimpl.UnsafeEnabled && x != nil {
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 if ms.LoadMessageInfo() == nil {
63 ms.StoreMessageInfo(mi)
64 }
65 return ms
66 }
67 return mi.MessageOf(x)
68}
69
70// Deprecated: Use TestSpec.ProtoReflect.Descriptor instead.
71func (*TestSpec) Descriptor() ([]byte, []int) {
72 return file_test_spec_proto_rawDescGZIP(), []int{0}
73}
74
75func (x *TestSpec) GetOwnershipMetadataList() []*TestSpec_OwnershipMetadata {
76 if x != nil {
77 return x.OwnershipMetadataList
78 }
79 return nil
80}
81
82type TestSpec_OwnershipMetadata struct {
83 state protoimpl.MessageState
84 sizeCache protoimpl.SizeCache
85 unknownFields protoimpl.UnknownFields
86
87 TargetName *string `protobuf:"bytes,1,opt,name=target_name,json=targetName" json:"target_name,omitempty"`
88 Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
89 TrendyTeamId *string `protobuf:"bytes,3,opt,name=trendy_team_id,json=trendyTeamId" json:"trendy_team_id,omitempty"`
90}
91
92func (x *TestSpec_OwnershipMetadata) Reset() {
93 *x = TestSpec_OwnershipMetadata{}
94 if protoimpl.UnsafeEnabled {
95 mi := &file_test_spec_proto_msgTypes[1]
96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
97 ms.StoreMessageInfo(mi)
98 }
99}
100
101func (x *TestSpec_OwnershipMetadata) String() string {
102 return protoimpl.X.MessageStringOf(x)
103}
104
105func (*TestSpec_OwnershipMetadata) ProtoMessage() {}
106
107func (x *TestSpec_OwnershipMetadata) ProtoReflect() protoreflect.Message {
108 mi := &file_test_spec_proto_msgTypes[1]
109 if protoimpl.UnsafeEnabled && x != nil {
110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
111 if ms.LoadMessageInfo() == nil {
112 ms.StoreMessageInfo(mi)
113 }
114 return ms
115 }
116 return mi.MessageOf(x)
117}
118
119// Deprecated: Use TestSpec_OwnershipMetadata.ProtoReflect.Descriptor instead.
120func (*TestSpec_OwnershipMetadata) Descriptor() ([]byte, []int) {
121 return file_test_spec_proto_rawDescGZIP(), []int{0, 0}
122}
123
124func (x *TestSpec_OwnershipMetadata) GetTargetName() string {
125 if x != nil && x.TargetName != nil {
126 return *x.TargetName
127 }
128 return ""
129}
130
131func (x *TestSpec_OwnershipMetadata) GetPath() string {
132 if x != nil && x.Path != nil {
133 return *x.Path
134 }
135 return ""
136}
137
138func (x *TestSpec_OwnershipMetadata) GetTrendyTeamId() string {
139 if x != nil && x.TrendyTeamId != nil {
140 return *x.TrendyTeamId
141 }
142 return ""
143}
144
145var File_test_spec_proto protoreflect.FileDescriptor
146
147var file_test_spec_proto_rawDesc = []byte{
148 0x0a, 0x0f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74,
149 0x6f, 0x12, 0x0f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x70, 0x72, 0x6f,
150 0x74, 0x6f, 0x22, 0xdf, 0x01, 0x0a, 0x08, 0x54, 0x65, 0x73, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12,
151 0x63, 0x0a, 0x17, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x5f, 0x6d, 0x65, 0x74,
152 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
153 0x32, 0x2b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x70, 0x72, 0x6f,
154 0x74, 0x6f, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x4f, 0x77, 0x6e, 0x65,
155 0x72, 0x73, 0x68, 0x69, 0x70, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x15, 0x6f,
156 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
157 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x6e, 0x0a, 0x11, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69,
158 0x70, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72,
159 0x67, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
160 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61,
161 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x24,
162 0x0a, 0x0e, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x79, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64,
163 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x72, 0x65, 0x6e, 0x64, 0x79, 0x54, 0x65,
164 0x61, 0x6d, 0x49, 0x64, 0x42, 0x27, 0x5a, 0x25, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f,
165 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65,
166 0x73, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
167}
168
169var (
170 file_test_spec_proto_rawDescOnce sync.Once
171 file_test_spec_proto_rawDescData = file_test_spec_proto_rawDesc
172)
173
174func file_test_spec_proto_rawDescGZIP() []byte {
175 file_test_spec_proto_rawDescOnce.Do(func() {
176 file_test_spec_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_spec_proto_rawDescData)
177 })
178 return file_test_spec_proto_rawDescData
179}
180
181var file_test_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
182var file_test_spec_proto_goTypes = []interface{}{
183 (*TestSpec)(nil), // 0: test_spec_proto.TestSpec
184 (*TestSpec_OwnershipMetadata)(nil), // 1: test_spec_proto.TestSpec.OwnershipMetadata
185}
186var file_test_spec_proto_depIdxs = []int32{
187 1, // 0: test_spec_proto.TestSpec.ownership_metadata_list:type_name -> test_spec_proto.TestSpec.OwnershipMetadata
188 1, // [1:1] is the sub-list for method output_type
189 1, // [1:1] is the sub-list for method input_type
190 1, // [1:1] is the sub-list for extension type_name
191 1, // [1:1] is the sub-list for extension extendee
192 0, // [0:1] is the sub-list for field type_name
193}
194
195func init() { file_test_spec_proto_init() }
196func file_test_spec_proto_init() {
197 if File_test_spec_proto != nil {
198 return
199 }
200 if !protoimpl.UnsafeEnabled {
201 file_test_spec_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
202 switch v := v.(*TestSpec); i {
203 case 0:
204 return &v.state
205 case 1:
206 return &v.sizeCache
207 case 2:
208 return &v.unknownFields
209 default:
210 return nil
211 }
212 }
213 file_test_spec_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
214 switch v := v.(*TestSpec_OwnershipMetadata); i {
215 case 0:
216 return &v.state
217 case 1:
218 return &v.sizeCache
219 case 2:
220 return &v.unknownFields
221 default:
222 return nil
223 }
224 }
225 }
226 type x struct{}
227 out := protoimpl.TypeBuilder{
228 File: protoimpl.DescBuilder{
229 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
230 RawDescriptor: file_test_spec_proto_rawDesc,
231 NumEnums: 0,
232 NumMessages: 2,
233 NumExtensions: 0,
234 NumServices: 0,
235 },
236 GoTypes: file_test_spec_proto_goTypes,
237 DependencyIndexes: file_test_spec_proto_depIdxs,
238 MessageInfos: file_test_spec_proto_msgTypes,
239 }.Build()
240 File_test_spec_proto = out.File
241 file_test_spec_proto_rawDesc = nil
242 file_test_spec_proto_goTypes = nil
243 file_test_spec_proto_depIdxs = nil
244}