...

Source file src/google.golang.org/genproto/googleapis/api/serviceconfig/source_info.pb.go

Documentation: google.golang.org/genproto/googleapis/api/serviceconfig

     1  // Copyright 2024 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v4.24.4
    19  // source: google/api/source_info.proto
    20  
    21  package serviceconfig
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    28  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    29  	anypb "google.golang.org/protobuf/types/known/anypb"
    30  )
    31  
    32  const (
    33  	// Verify that this generated code is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    35  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    37  )
    38  
    39  // Source information used to create a Service Config
    40  type SourceInfo struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// All files used during config generation.
    46  	SourceFiles []*anypb.Any `protobuf:"bytes,1,rep,name=source_files,json=sourceFiles,proto3" json:"source_files,omitempty"`
    47  }
    48  
    49  func (x *SourceInfo) Reset() {
    50  	*x = SourceInfo{}
    51  	if protoimpl.UnsafeEnabled {
    52  		mi := &file_google_api_source_info_proto_msgTypes[0]
    53  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    54  		ms.StoreMessageInfo(mi)
    55  	}
    56  }
    57  
    58  func (x *SourceInfo) String() string {
    59  	return protoimpl.X.MessageStringOf(x)
    60  }
    61  
    62  func (*SourceInfo) ProtoMessage() {}
    63  
    64  func (x *SourceInfo) ProtoReflect() protoreflect.Message {
    65  	mi := &file_google_api_source_info_proto_msgTypes[0]
    66  	if protoimpl.UnsafeEnabled && x != nil {
    67  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    68  		if ms.LoadMessageInfo() == nil {
    69  			ms.StoreMessageInfo(mi)
    70  		}
    71  		return ms
    72  	}
    73  	return mi.MessageOf(x)
    74  }
    75  
    76  // Deprecated: Use SourceInfo.ProtoReflect.Descriptor instead.
    77  func (*SourceInfo) Descriptor() ([]byte, []int) {
    78  	return file_google_api_source_info_proto_rawDescGZIP(), []int{0}
    79  }
    80  
    81  func (x *SourceInfo) GetSourceFiles() []*anypb.Any {
    82  	if x != nil {
    83  		return x.SourceFiles
    84  	}
    85  	return nil
    86  }
    87  
    88  var File_google_api_source_info_proto protoreflect.FileDescriptor
    89  
    90  var file_google_api_source_info_proto_rawDesc = []byte{
    91  	0x0a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x6f, 0x75,
    92  	0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a,
    93  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67,
    94  	0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e,
    95  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x45, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49,
    96  	0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69,
    97  	0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
    98  	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52,
    99  	0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x71, 0x0a, 0x0e,
   100  	0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0f,
   101  	0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
   102  	0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
   103  	0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
   104  	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72,
   105  	0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x69,
   106  	0x63, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x50, 0x49, 0x62,
   107  	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   108  }
   109  
   110  var (
   111  	file_google_api_source_info_proto_rawDescOnce sync.Once
   112  	file_google_api_source_info_proto_rawDescData = file_google_api_source_info_proto_rawDesc
   113  )
   114  
   115  func file_google_api_source_info_proto_rawDescGZIP() []byte {
   116  	file_google_api_source_info_proto_rawDescOnce.Do(func() {
   117  		file_google_api_source_info_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_source_info_proto_rawDescData)
   118  	})
   119  	return file_google_api_source_info_proto_rawDescData
   120  }
   121  
   122  var file_google_api_source_info_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   123  var file_google_api_source_info_proto_goTypes = []interface{}{
   124  	(*SourceInfo)(nil), // 0: google.api.SourceInfo
   125  	(*anypb.Any)(nil),  // 1: google.protobuf.Any
   126  }
   127  var file_google_api_source_info_proto_depIdxs = []int32{
   128  	1, // 0: google.api.SourceInfo.source_files:type_name -> google.protobuf.Any
   129  	1, // [1:1] is the sub-list for method output_type
   130  	1, // [1:1] is the sub-list for method input_type
   131  	1, // [1:1] is the sub-list for extension type_name
   132  	1, // [1:1] is the sub-list for extension extendee
   133  	0, // [0:1] is the sub-list for field type_name
   134  }
   135  
   136  func init() { file_google_api_source_info_proto_init() }
   137  func file_google_api_source_info_proto_init() {
   138  	if File_google_api_source_info_proto != nil {
   139  		return
   140  	}
   141  	if !protoimpl.UnsafeEnabled {
   142  		file_google_api_source_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   143  			switch v := v.(*SourceInfo); i {
   144  			case 0:
   145  				return &v.state
   146  			case 1:
   147  				return &v.sizeCache
   148  			case 2:
   149  				return &v.unknownFields
   150  			default:
   151  				return nil
   152  			}
   153  		}
   154  	}
   155  	type x struct{}
   156  	out := protoimpl.TypeBuilder{
   157  		File: protoimpl.DescBuilder{
   158  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   159  			RawDescriptor: file_google_api_source_info_proto_rawDesc,
   160  			NumEnums:      0,
   161  			NumMessages:   1,
   162  			NumExtensions: 0,
   163  			NumServices:   0,
   164  		},
   165  		GoTypes:           file_google_api_source_info_proto_goTypes,
   166  		DependencyIndexes: file_google_api_source_info_proto_depIdxs,
   167  		MessageInfos:      file_google_api_source_info_proto_msgTypes,
   168  	}.Build()
   169  	File_google_api_source_info_proto = out.File
   170  	file_google_api_source_info_proto_rawDesc = nil
   171  	file_google_api_source_info_proto_goTypes = nil
   172  	file_google_api_source_info_proto_depIdxs = nil
   173  }
   174  

View as plain text