github.com/google/cloudprober@v0.11.3/servers/external/proto/config.pb.go (about)

     1  // Copyright 2020 Google Inc.
     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        v3.17.3
    19  // source: github.com/google/cloudprober/servers/external/proto/config.proto
    20  
    21  package proto
    22  
    23  import (
    24  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    25  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    26  	reflect "reflect"
    27  	sync "sync"
    28  )
    29  
    30  const (
    31  	// Verify that this generated code is sufficiently up-to-date.
    32  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    33  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    35  )
    36  
    37  // Next available tag = 2
    38  type ServerConf struct {
    39  	state         protoimpl.MessageState
    40  	sizeCache     protoimpl.SizeCache
    41  	unknownFields protoimpl.UnknownFields
    42  
    43  	Command *string `protobuf:"bytes,1,opt,name=command" json:"command,omitempty"`
    44  }
    45  
    46  func (x *ServerConf) Reset() {
    47  	*x = ServerConf{}
    48  	if protoimpl.UnsafeEnabled {
    49  		mi := &file_github_com_google_cloudprober_servers_external_proto_config_proto_msgTypes[0]
    50  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    51  		ms.StoreMessageInfo(mi)
    52  	}
    53  }
    54  
    55  func (x *ServerConf) String() string {
    56  	return protoimpl.X.MessageStringOf(x)
    57  }
    58  
    59  func (*ServerConf) ProtoMessage() {}
    60  
    61  func (x *ServerConf) ProtoReflect() protoreflect.Message {
    62  	mi := &file_github_com_google_cloudprober_servers_external_proto_config_proto_msgTypes[0]
    63  	if protoimpl.UnsafeEnabled && x != nil {
    64  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    65  		if ms.LoadMessageInfo() == nil {
    66  			ms.StoreMessageInfo(mi)
    67  		}
    68  		return ms
    69  	}
    70  	return mi.MessageOf(x)
    71  }
    72  
    73  // Deprecated: Use ServerConf.ProtoReflect.Descriptor instead.
    74  func (*ServerConf) Descriptor() ([]byte, []int) {
    75  	return file_github_com_google_cloudprober_servers_external_proto_config_proto_rawDescGZIP(), []int{0}
    76  }
    77  
    78  func (x *ServerConf) GetCommand() string {
    79  	if x != nil && x.Command != nil {
    80  		return *x.Command
    81  	}
    82  	return ""
    83  }
    84  
    85  var File_github_com_google_cloudprober_servers_external_proto_config_proto protoreflect.FileDescriptor
    86  
    87  var file_github_com_google_cloudprober_servers_external_proto_config_proto_rawDesc = []byte{
    88  	0x0a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f,
    89  	0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f,
    90  	0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
    91  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72,
    92  	0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72,
    93  	0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,
    94  	0x6c, 0x22, 0x26, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x12,
    95  	0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
    96  	0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74,
    97  	0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63,
    98  	0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65,
    99  	0x72, 0x73, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74,
   100  	0x6f,
   101  }
   102  
   103  var (
   104  	file_github_com_google_cloudprober_servers_external_proto_config_proto_rawDescOnce sync.Once
   105  	file_github_com_google_cloudprober_servers_external_proto_config_proto_rawDescData = file_github_com_google_cloudprober_servers_external_proto_config_proto_rawDesc
   106  )
   107  
   108  func file_github_com_google_cloudprober_servers_external_proto_config_proto_rawDescGZIP() []byte {
   109  	file_github_com_google_cloudprober_servers_external_proto_config_proto_rawDescOnce.Do(func() {
   110  		file_github_com_google_cloudprober_servers_external_proto_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_google_cloudprober_servers_external_proto_config_proto_rawDescData)
   111  	})
   112  	return file_github_com_google_cloudprober_servers_external_proto_config_proto_rawDescData
   113  }
   114  
   115  var file_github_com_google_cloudprober_servers_external_proto_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   116  var file_github_com_google_cloudprober_servers_external_proto_config_proto_goTypes = []interface{}{
   117  	(*ServerConf)(nil), // 0: cloudprober.servers.external.ServerConf
   118  }
   119  var file_github_com_google_cloudprober_servers_external_proto_config_proto_depIdxs = []int32{
   120  	0, // [0:0] is the sub-list for method output_type
   121  	0, // [0:0] is the sub-list for method input_type
   122  	0, // [0:0] is the sub-list for extension type_name
   123  	0, // [0:0] is the sub-list for extension extendee
   124  	0, // [0:0] is the sub-list for field type_name
   125  }
   126  
   127  func init() { file_github_com_google_cloudprober_servers_external_proto_config_proto_init() }
   128  func file_github_com_google_cloudprober_servers_external_proto_config_proto_init() {
   129  	if File_github_com_google_cloudprober_servers_external_proto_config_proto != nil {
   130  		return
   131  	}
   132  	if !protoimpl.UnsafeEnabled {
   133  		file_github_com_google_cloudprober_servers_external_proto_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   134  			switch v := v.(*ServerConf); i {
   135  			case 0:
   136  				return &v.state
   137  			case 1:
   138  				return &v.sizeCache
   139  			case 2:
   140  				return &v.unknownFields
   141  			default:
   142  				return nil
   143  			}
   144  		}
   145  	}
   146  	type x struct{}
   147  	out := protoimpl.TypeBuilder{
   148  		File: protoimpl.DescBuilder{
   149  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   150  			RawDescriptor: file_github_com_google_cloudprober_servers_external_proto_config_proto_rawDesc,
   151  			NumEnums:      0,
   152  			NumMessages:   1,
   153  			NumExtensions: 0,
   154  			NumServices:   0,
   155  		},
   156  		GoTypes:           file_github_com_google_cloudprober_servers_external_proto_config_proto_goTypes,
   157  		DependencyIndexes: file_github_com_google_cloudprober_servers_external_proto_config_proto_depIdxs,
   158  		MessageInfos:      file_github_com_google_cloudprober_servers_external_proto_config_proto_msgTypes,
   159  	}.Build()
   160  	File_github_com_google_cloudprober_servers_external_proto_config_proto = out.File
   161  	file_github_com_google_cloudprober_servers_external_proto_config_proto_rawDesc = nil
   162  	file_github_com_google_cloudprober_servers_external_proto_config_proto_goTypes = nil
   163  	file_github_com_google_cloudprober_servers_external_proto_config_proto_depIdxs = nil
   164  }