...

Source file src/github.com/bazelbuild/buildtools/api_proto/api.gen.pb.go

Documentation: github.com/bazelbuild/buildtools/api_proto

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.31.0
     4  // 	protoc        v4.24.4
     5  // source: api_proto/api.proto
     6  
     7  package api_proto
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type Output_Record_Field_ERROR int32
    24  
    25  const (
    26  	Output_Record_Field_UNKNOWN           Output_Record_Field_ERROR = 0
    27  	Output_Record_Field_MISSING           Output_Record_Field_ERROR = 1
    28  	Output_Record_Field_MISSING_LIST_ITEM Output_Record_Field_ERROR = 2
    29  )
    30  
    31  // Enum value maps for Output_Record_Field_ERROR.
    32  var (
    33  	Output_Record_Field_ERROR_name = map[int32]string{
    34  		0: "UNKNOWN",
    35  		1: "MISSING",
    36  		2: "MISSING_LIST_ITEM",
    37  	}
    38  	Output_Record_Field_ERROR_value = map[string]int32{
    39  		"UNKNOWN":           0,
    40  		"MISSING":           1,
    41  		"MISSING_LIST_ITEM": 2,
    42  	}
    43  )
    44  
    45  func (x Output_Record_Field_ERROR) Enum() *Output_Record_Field_ERROR {
    46  	p := new(Output_Record_Field_ERROR)
    47  	*p = x
    48  	return p
    49  }
    50  
    51  func (x Output_Record_Field_ERROR) String() string {
    52  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    53  }
    54  
    55  func (Output_Record_Field_ERROR) Descriptor() protoreflect.EnumDescriptor {
    56  	return file_api_proto_api_proto_enumTypes[0].Descriptor()
    57  }
    58  
    59  func (Output_Record_Field_ERROR) Type() protoreflect.EnumType {
    60  	return &file_api_proto_api_proto_enumTypes[0]
    61  }
    62  
    63  func (x Output_Record_Field_ERROR) Number() protoreflect.EnumNumber {
    64  	return protoreflect.EnumNumber(x)
    65  }
    66  
    67  // Deprecated: Use Output_Record_Field_ERROR.Descriptor instead.
    68  func (Output_Record_Field_ERROR) EnumDescriptor() ([]byte, []int) {
    69  	return file_api_proto_api_proto_rawDescGZIP(), []int{0, 0, 0, 0}
    70  }
    71  
    72  type Output struct {
    73  	state         protoimpl.MessageState
    74  	sizeCache     protoimpl.SizeCache
    75  	unknownFields protoimpl.UnknownFields
    76  
    77  	Records []*Output_Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
    78  }
    79  
    80  func (x *Output) Reset() {
    81  	*x = Output{}
    82  	if protoimpl.UnsafeEnabled {
    83  		mi := &file_api_proto_api_proto_msgTypes[0]
    84  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    85  		ms.StoreMessageInfo(mi)
    86  	}
    87  }
    88  
    89  func (x *Output) String() string {
    90  	return protoimpl.X.MessageStringOf(x)
    91  }
    92  
    93  func (*Output) ProtoMessage() {}
    94  
    95  func (x *Output) ProtoReflect() protoreflect.Message {
    96  	mi := &file_api_proto_api_proto_msgTypes[0]
    97  	if protoimpl.UnsafeEnabled && x != nil {
    98  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    99  		if ms.LoadMessageInfo() == nil {
   100  			ms.StoreMessageInfo(mi)
   101  		}
   102  		return ms
   103  	}
   104  	return mi.MessageOf(x)
   105  }
   106  
   107  // Deprecated: Use Output.ProtoReflect.Descriptor instead.
   108  func (*Output) Descriptor() ([]byte, []int) {
   109  	return file_api_proto_api_proto_rawDescGZIP(), []int{0}
   110  }
   111  
   112  func (x *Output) GetRecords() []*Output_Record {
   113  	if x != nil {
   114  		return x.Records
   115  	}
   116  	return nil
   117  }
   118  
   119  type RepeatedString struct {
   120  	state         protoimpl.MessageState
   121  	sizeCache     protoimpl.SizeCache
   122  	unknownFields protoimpl.UnknownFields
   123  
   124  	Strings []string `protobuf:"bytes,1,rep,name=strings,proto3" json:"strings,omitempty"`
   125  }
   126  
   127  func (x *RepeatedString) Reset() {
   128  	*x = RepeatedString{}
   129  	if protoimpl.UnsafeEnabled {
   130  		mi := &file_api_proto_api_proto_msgTypes[1]
   131  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   132  		ms.StoreMessageInfo(mi)
   133  	}
   134  }
   135  
   136  func (x *RepeatedString) String() string {
   137  	return protoimpl.X.MessageStringOf(x)
   138  }
   139  
   140  func (*RepeatedString) ProtoMessage() {}
   141  
   142  func (x *RepeatedString) ProtoReflect() protoreflect.Message {
   143  	mi := &file_api_proto_api_proto_msgTypes[1]
   144  	if protoimpl.UnsafeEnabled && x != nil {
   145  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   146  		if ms.LoadMessageInfo() == nil {
   147  			ms.StoreMessageInfo(mi)
   148  		}
   149  		return ms
   150  	}
   151  	return mi.MessageOf(x)
   152  }
   153  
   154  // Deprecated: Use RepeatedString.ProtoReflect.Descriptor instead.
   155  func (*RepeatedString) Descriptor() ([]byte, []int) {
   156  	return file_api_proto_api_proto_rawDescGZIP(), []int{1}
   157  }
   158  
   159  func (x *RepeatedString) GetStrings() []string {
   160  	if x != nil {
   161  		return x.Strings
   162  	}
   163  	return nil
   164  }
   165  
   166  type Output_Record struct {
   167  	state         protoimpl.MessageState
   168  	sizeCache     protoimpl.SizeCache
   169  	unknownFields protoimpl.UnknownFields
   170  
   171  	Fields []*Output_Record_Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
   172  }
   173  
   174  func (x *Output_Record) Reset() {
   175  	*x = Output_Record{}
   176  	if protoimpl.UnsafeEnabled {
   177  		mi := &file_api_proto_api_proto_msgTypes[2]
   178  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   179  		ms.StoreMessageInfo(mi)
   180  	}
   181  }
   182  
   183  func (x *Output_Record) String() string {
   184  	return protoimpl.X.MessageStringOf(x)
   185  }
   186  
   187  func (*Output_Record) ProtoMessage() {}
   188  
   189  func (x *Output_Record) ProtoReflect() protoreflect.Message {
   190  	mi := &file_api_proto_api_proto_msgTypes[2]
   191  	if protoimpl.UnsafeEnabled && x != nil {
   192  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   193  		if ms.LoadMessageInfo() == nil {
   194  			ms.StoreMessageInfo(mi)
   195  		}
   196  		return ms
   197  	}
   198  	return mi.MessageOf(x)
   199  }
   200  
   201  // Deprecated: Use Output_Record.ProtoReflect.Descriptor instead.
   202  func (*Output_Record) Descriptor() ([]byte, []int) {
   203  	return file_api_proto_api_proto_rawDescGZIP(), []int{0, 0}
   204  }
   205  
   206  func (x *Output_Record) GetFields() []*Output_Record_Field {
   207  	if x != nil {
   208  		return x.Fields
   209  	}
   210  	return nil
   211  }
   212  
   213  type Output_Record_Field struct {
   214  	state         protoimpl.MessageState
   215  	sizeCache     protoimpl.SizeCache
   216  	unknownFields protoimpl.UnknownFields
   217  
   218  	// Types that are assignable to Value:
   219  	//
   220  	//	*Output_Record_Field_Text
   221  	//	*Output_Record_Field_Number
   222  	//	*Output_Record_Field_Error
   223  	//	*Output_Record_Field_List
   224  	Value             isOutput_Record_Field_Value `protobuf_oneof:"value"`
   225  	QuoteWhenPrinting bool                        `protobuf:"varint,7,opt,name=quote_when_printing,json=quoteWhenPrinting,proto3" json:"quote_when_printing,omitempty"`
   226  }
   227  
   228  func (x *Output_Record_Field) Reset() {
   229  	*x = Output_Record_Field{}
   230  	if protoimpl.UnsafeEnabled {
   231  		mi := &file_api_proto_api_proto_msgTypes[3]
   232  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   233  		ms.StoreMessageInfo(mi)
   234  	}
   235  }
   236  
   237  func (x *Output_Record_Field) String() string {
   238  	return protoimpl.X.MessageStringOf(x)
   239  }
   240  
   241  func (*Output_Record_Field) ProtoMessage() {}
   242  
   243  func (x *Output_Record_Field) ProtoReflect() protoreflect.Message {
   244  	mi := &file_api_proto_api_proto_msgTypes[3]
   245  	if protoimpl.UnsafeEnabled && x != nil {
   246  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   247  		if ms.LoadMessageInfo() == nil {
   248  			ms.StoreMessageInfo(mi)
   249  		}
   250  		return ms
   251  	}
   252  	return mi.MessageOf(x)
   253  }
   254  
   255  // Deprecated: Use Output_Record_Field.ProtoReflect.Descriptor instead.
   256  func (*Output_Record_Field) Descriptor() ([]byte, []int) {
   257  	return file_api_proto_api_proto_rawDescGZIP(), []int{0, 0, 0}
   258  }
   259  
   260  func (m *Output_Record_Field) GetValue() isOutput_Record_Field_Value {
   261  	if m != nil {
   262  		return m.Value
   263  	}
   264  	return nil
   265  }
   266  
   267  func (x *Output_Record_Field) GetText() string {
   268  	if x, ok := x.GetValue().(*Output_Record_Field_Text); ok {
   269  		return x.Text
   270  	}
   271  	return ""
   272  }
   273  
   274  func (x *Output_Record_Field) GetNumber() int32 {
   275  	if x, ok := x.GetValue().(*Output_Record_Field_Number); ok {
   276  		return x.Number
   277  	}
   278  	return 0
   279  }
   280  
   281  func (x *Output_Record_Field) GetError() Output_Record_Field_ERROR {
   282  	if x, ok := x.GetValue().(*Output_Record_Field_Error); ok {
   283  		return x.Error
   284  	}
   285  	return Output_Record_Field_UNKNOWN
   286  }
   287  
   288  func (x *Output_Record_Field) GetList() *RepeatedString {
   289  	if x, ok := x.GetValue().(*Output_Record_Field_List); ok {
   290  		return x.List
   291  	}
   292  	return nil
   293  }
   294  
   295  func (x *Output_Record_Field) GetQuoteWhenPrinting() bool {
   296  	if x != nil {
   297  		return x.QuoteWhenPrinting
   298  	}
   299  	return false
   300  }
   301  
   302  type isOutput_Record_Field_Value interface {
   303  	isOutput_Record_Field_Value()
   304  }
   305  
   306  type Output_Record_Field_Text struct {
   307  	Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
   308  }
   309  
   310  type Output_Record_Field_Number struct {
   311  	Number int32 `protobuf:"varint,2,opt,name=number,proto3,oneof"`
   312  }
   313  
   314  type Output_Record_Field_Error struct {
   315  	Error Output_Record_Field_ERROR `protobuf:"varint,3,opt,name=error,proto3,enum=devtools.buildozer.Output_Record_Field_ERROR,oneof"`
   316  }
   317  
   318  type Output_Record_Field_List struct {
   319  	List *RepeatedString `protobuf:"bytes,5,opt,name=list,proto3,oneof"`
   320  }
   321  
   322  func (*Output_Record_Field_Text) isOutput_Record_Field_Value() {}
   323  
   324  func (*Output_Record_Field_Number) isOutput_Record_Field_Value() {}
   325  
   326  func (*Output_Record_Field_Error) isOutput_Record_Field_Value() {}
   327  
   328  func (*Output_Record_Field_List) isOutput_Record_Field_Value() {}
   329  
   330  var File_api_proto_api_proto protoreflect.FileDescriptor
   331  
   332  var file_api_proto_api_proto_rawDesc = []byte{
   333  	0x0a, 0x13, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2e,
   334  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e,
   335  	0x62, 0x75, 0x69, 0x6c, 0x64, 0x6f, 0x7a, 0x65, 0x72, 0x22, 0xbf, 0x03, 0x0a, 0x06, 0x4f, 0x75,
   336  	0x74, 0x70, 0x75, 0x74, 0x12, 0x3b, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18,
   337  	0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73,
   338  	0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x6f, 0x7a, 0x65, 0x72, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75,
   339  	0x74, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64,
   340  	0x73, 0x1a, 0xf7, 0x02, 0x0a, 0x06, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x3f, 0x0a, 0x06,
   341  	0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x64,
   342  	0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x6f, 0x7a, 0x65,
   343  	0x72, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e,
   344  	0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0xab, 0x02,
   345  	0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18,
   346  	0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x18, 0x0a,
   347  	0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52,
   348  	0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
   349  	0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
   350  	0x73, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x6f, 0x7a, 0x65, 0x72, 0x2e, 0x4f, 0x75, 0x74, 0x70,
   351  	0x75, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x2e,
   352  	0x45, 0x52, 0x52, 0x4f, 0x52, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x38,
   353  	0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64,
   354  	0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x6f, 0x7a, 0x65,
   355  	0x72, 0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
   356  	0x48, 0x00, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x71, 0x75, 0x6f, 0x74,
   357  	0x65, 0x5f, 0x77, 0x68, 0x65, 0x6e, 0x5f, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x18,
   358  	0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x57, 0x68, 0x65, 0x6e,
   359  	0x50, 0x72, 0x69, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x38, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f,
   360  	0x52, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b,
   361  	0x0a, 0x07, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x4d,
   362  	0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x4c, 0x49, 0x53, 0x54, 0x5f, 0x49, 0x54, 0x45, 0x4d,
   363  	0x10, 0x02, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2a, 0x0a, 0x0e, 0x52,
   364  	0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a,
   365  	0x07, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07,
   366  	0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x0b, 0x5a, 0x09, 0x61, 0x70, 0x69, 0x5f, 0x70,
   367  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   368  }
   369  
   370  var (
   371  	file_api_proto_api_proto_rawDescOnce sync.Once
   372  	file_api_proto_api_proto_rawDescData = file_api_proto_api_proto_rawDesc
   373  )
   374  
   375  func file_api_proto_api_proto_rawDescGZIP() []byte {
   376  	file_api_proto_api_proto_rawDescOnce.Do(func() {
   377  		file_api_proto_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_proto_api_proto_rawDescData)
   378  	})
   379  	return file_api_proto_api_proto_rawDescData
   380  }
   381  
   382  var file_api_proto_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   383  var file_api_proto_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   384  var file_api_proto_api_proto_goTypes = []interface{}{
   385  	(Output_Record_Field_ERROR)(0), // 0: devtools.buildozer.Output.Record.Field.ERROR
   386  	(*Output)(nil),                 // 1: devtools.buildozer.Output
   387  	(*RepeatedString)(nil),         // 2: devtools.buildozer.RepeatedString
   388  	(*Output_Record)(nil),          // 3: devtools.buildozer.Output.Record
   389  	(*Output_Record_Field)(nil),    // 4: devtools.buildozer.Output.Record.Field
   390  }
   391  var file_api_proto_api_proto_depIdxs = []int32{
   392  	3, // 0: devtools.buildozer.Output.records:type_name -> devtools.buildozer.Output.Record
   393  	4, // 1: devtools.buildozer.Output.Record.fields:type_name -> devtools.buildozer.Output.Record.Field
   394  	0, // 2: devtools.buildozer.Output.Record.Field.error:type_name -> devtools.buildozer.Output.Record.Field.ERROR
   395  	2, // 3: devtools.buildozer.Output.Record.Field.list:type_name -> devtools.buildozer.RepeatedString
   396  	4, // [4:4] is the sub-list for method output_type
   397  	4, // [4:4] is the sub-list for method input_type
   398  	4, // [4:4] is the sub-list for extension type_name
   399  	4, // [4:4] is the sub-list for extension extendee
   400  	0, // [0:4] is the sub-list for field type_name
   401  }
   402  
   403  func init() { file_api_proto_api_proto_init() }
   404  func file_api_proto_api_proto_init() {
   405  	if File_api_proto_api_proto != nil {
   406  		return
   407  	}
   408  	if !protoimpl.UnsafeEnabled {
   409  		file_api_proto_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   410  			switch v := v.(*Output); i {
   411  			case 0:
   412  				return &v.state
   413  			case 1:
   414  				return &v.sizeCache
   415  			case 2:
   416  				return &v.unknownFields
   417  			default:
   418  				return nil
   419  			}
   420  		}
   421  		file_api_proto_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   422  			switch v := v.(*RepeatedString); i {
   423  			case 0:
   424  				return &v.state
   425  			case 1:
   426  				return &v.sizeCache
   427  			case 2:
   428  				return &v.unknownFields
   429  			default:
   430  				return nil
   431  			}
   432  		}
   433  		file_api_proto_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   434  			switch v := v.(*Output_Record); i {
   435  			case 0:
   436  				return &v.state
   437  			case 1:
   438  				return &v.sizeCache
   439  			case 2:
   440  				return &v.unknownFields
   441  			default:
   442  				return nil
   443  			}
   444  		}
   445  		file_api_proto_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   446  			switch v := v.(*Output_Record_Field); i {
   447  			case 0:
   448  				return &v.state
   449  			case 1:
   450  				return &v.sizeCache
   451  			case 2:
   452  				return &v.unknownFields
   453  			default:
   454  				return nil
   455  			}
   456  		}
   457  	}
   458  	file_api_proto_api_proto_msgTypes[3].OneofWrappers = []interface{}{
   459  		(*Output_Record_Field_Text)(nil),
   460  		(*Output_Record_Field_Number)(nil),
   461  		(*Output_Record_Field_Error)(nil),
   462  		(*Output_Record_Field_List)(nil),
   463  	}
   464  	type x struct{}
   465  	out := protoimpl.TypeBuilder{
   466  		File: protoimpl.DescBuilder{
   467  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   468  			RawDescriptor: file_api_proto_api_proto_rawDesc,
   469  			NumEnums:      1,
   470  			NumMessages:   4,
   471  			NumExtensions: 0,
   472  			NumServices:   0,
   473  		},
   474  		GoTypes:           file_api_proto_api_proto_goTypes,
   475  		DependencyIndexes: file_api_proto_api_proto_depIdxs,
   476  		EnumInfos:         file_api_proto_api_proto_enumTypes,
   477  		MessageInfos:      file_api_proto_api_proto_msgTypes,
   478  	}.Build()
   479  	File_api_proto_api_proto = out.File
   480  	file_api_proto_api_proto_rawDesc = nil
   481  	file_api_proto_api_proto_goTypes = nil
   482  	file_api_proto_api_proto_depIdxs = nil
   483  }
   484  

View as plain text