github.com/google/cloudprober@v0.11.3/prober/proto/service.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.26.0
     4  // 	protoc        v3.17.3
     5  // source: github.com/google/cloudprober/prober/proto/service.proto
     6  
     7  package proto
     8  
     9  import (
    10  	context "context"
    11  	proto "github.com/google/cloudprober/probes/proto"
    12  	grpc "google.golang.org/grpc"
    13  	codes "google.golang.org/grpc/codes"
    14  	status "google.golang.org/grpc/status"
    15  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    16  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    17  	reflect "reflect"
    18  	sync "sync"
    19  )
    20  
    21  const (
    22  	// Verify that this generated code is sufficiently up-to-date.
    23  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    24  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    25  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    26  )
    27  
    28  type AddProbeRequest struct {
    29  	state         protoimpl.MessageState
    30  	sizeCache     protoimpl.SizeCache
    31  	unknownFields protoimpl.UnknownFields
    32  
    33  	ProbeConfig *proto.ProbeDef `protobuf:"bytes,1,opt,name=probe_config,json=probeConfig" json:"probe_config,omitempty"`
    34  }
    35  
    36  func (x *AddProbeRequest) Reset() {
    37  	*x = AddProbeRequest{}
    38  	if protoimpl.UnsafeEnabled {
    39  		mi := &file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[0]
    40  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    41  		ms.StoreMessageInfo(mi)
    42  	}
    43  }
    44  
    45  func (x *AddProbeRequest) String() string {
    46  	return protoimpl.X.MessageStringOf(x)
    47  }
    48  
    49  func (*AddProbeRequest) ProtoMessage() {}
    50  
    51  func (x *AddProbeRequest) ProtoReflect() protoreflect.Message {
    52  	mi := &file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[0]
    53  	if protoimpl.UnsafeEnabled && x != nil {
    54  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    55  		if ms.LoadMessageInfo() == nil {
    56  			ms.StoreMessageInfo(mi)
    57  		}
    58  		return ms
    59  	}
    60  	return mi.MessageOf(x)
    61  }
    62  
    63  // Deprecated: Use AddProbeRequest.ProtoReflect.Descriptor instead.
    64  func (*AddProbeRequest) Descriptor() ([]byte, []int) {
    65  	return file_github_com_google_cloudprober_prober_proto_service_proto_rawDescGZIP(), []int{0}
    66  }
    67  
    68  func (x *AddProbeRequest) GetProbeConfig() *proto.ProbeDef {
    69  	if x != nil {
    70  		return x.ProbeConfig
    71  	}
    72  	return nil
    73  }
    74  
    75  type AddProbeResponse struct {
    76  	state         protoimpl.MessageState
    77  	sizeCache     protoimpl.SizeCache
    78  	unknownFields protoimpl.UnknownFields
    79  }
    80  
    81  func (x *AddProbeResponse) Reset() {
    82  	*x = AddProbeResponse{}
    83  	if protoimpl.UnsafeEnabled {
    84  		mi := &file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[1]
    85  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    86  		ms.StoreMessageInfo(mi)
    87  	}
    88  }
    89  
    90  func (x *AddProbeResponse) String() string {
    91  	return protoimpl.X.MessageStringOf(x)
    92  }
    93  
    94  func (*AddProbeResponse) ProtoMessage() {}
    95  
    96  func (x *AddProbeResponse) ProtoReflect() protoreflect.Message {
    97  	mi := &file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[1]
    98  	if protoimpl.UnsafeEnabled && x != nil {
    99  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   100  		if ms.LoadMessageInfo() == nil {
   101  			ms.StoreMessageInfo(mi)
   102  		}
   103  		return ms
   104  	}
   105  	return mi.MessageOf(x)
   106  }
   107  
   108  // Deprecated: Use AddProbeResponse.ProtoReflect.Descriptor instead.
   109  func (*AddProbeResponse) Descriptor() ([]byte, []int) {
   110  	return file_github_com_google_cloudprober_prober_proto_service_proto_rawDescGZIP(), []int{1}
   111  }
   112  
   113  type RemoveProbeRequest struct {
   114  	state         protoimpl.MessageState
   115  	sizeCache     protoimpl.SizeCache
   116  	unknownFields protoimpl.UnknownFields
   117  
   118  	ProbeName *string `protobuf:"bytes,1,opt,name=probe_name,json=probeName" json:"probe_name,omitempty"`
   119  }
   120  
   121  func (x *RemoveProbeRequest) Reset() {
   122  	*x = RemoveProbeRequest{}
   123  	if protoimpl.UnsafeEnabled {
   124  		mi := &file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[2]
   125  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   126  		ms.StoreMessageInfo(mi)
   127  	}
   128  }
   129  
   130  func (x *RemoveProbeRequest) String() string {
   131  	return protoimpl.X.MessageStringOf(x)
   132  }
   133  
   134  func (*RemoveProbeRequest) ProtoMessage() {}
   135  
   136  func (x *RemoveProbeRequest) ProtoReflect() protoreflect.Message {
   137  	mi := &file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[2]
   138  	if protoimpl.UnsafeEnabled && x != nil {
   139  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   140  		if ms.LoadMessageInfo() == nil {
   141  			ms.StoreMessageInfo(mi)
   142  		}
   143  		return ms
   144  	}
   145  	return mi.MessageOf(x)
   146  }
   147  
   148  // Deprecated: Use RemoveProbeRequest.ProtoReflect.Descriptor instead.
   149  func (*RemoveProbeRequest) Descriptor() ([]byte, []int) {
   150  	return file_github_com_google_cloudprober_prober_proto_service_proto_rawDescGZIP(), []int{2}
   151  }
   152  
   153  func (x *RemoveProbeRequest) GetProbeName() string {
   154  	if x != nil && x.ProbeName != nil {
   155  		return *x.ProbeName
   156  	}
   157  	return ""
   158  }
   159  
   160  type RemoveProbeResponse struct {
   161  	state         protoimpl.MessageState
   162  	sizeCache     protoimpl.SizeCache
   163  	unknownFields protoimpl.UnknownFields
   164  }
   165  
   166  func (x *RemoveProbeResponse) Reset() {
   167  	*x = RemoveProbeResponse{}
   168  	if protoimpl.UnsafeEnabled {
   169  		mi := &file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[3]
   170  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   171  		ms.StoreMessageInfo(mi)
   172  	}
   173  }
   174  
   175  func (x *RemoveProbeResponse) String() string {
   176  	return protoimpl.X.MessageStringOf(x)
   177  }
   178  
   179  func (*RemoveProbeResponse) ProtoMessage() {}
   180  
   181  func (x *RemoveProbeResponse) ProtoReflect() protoreflect.Message {
   182  	mi := &file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[3]
   183  	if protoimpl.UnsafeEnabled && x != nil {
   184  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   185  		if ms.LoadMessageInfo() == nil {
   186  			ms.StoreMessageInfo(mi)
   187  		}
   188  		return ms
   189  	}
   190  	return mi.MessageOf(x)
   191  }
   192  
   193  // Deprecated: Use RemoveProbeResponse.ProtoReflect.Descriptor instead.
   194  func (*RemoveProbeResponse) Descriptor() ([]byte, []int) {
   195  	return file_github_com_google_cloudprober_prober_proto_service_proto_rawDescGZIP(), []int{3}
   196  }
   197  
   198  type ListProbesRequest struct {
   199  	state         protoimpl.MessageState
   200  	sizeCache     protoimpl.SizeCache
   201  	unknownFields protoimpl.UnknownFields
   202  }
   203  
   204  func (x *ListProbesRequest) Reset() {
   205  	*x = ListProbesRequest{}
   206  	if protoimpl.UnsafeEnabled {
   207  		mi := &file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[4]
   208  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   209  		ms.StoreMessageInfo(mi)
   210  	}
   211  }
   212  
   213  func (x *ListProbesRequest) String() string {
   214  	return protoimpl.X.MessageStringOf(x)
   215  }
   216  
   217  func (*ListProbesRequest) ProtoMessage() {}
   218  
   219  func (x *ListProbesRequest) ProtoReflect() protoreflect.Message {
   220  	mi := &file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[4]
   221  	if protoimpl.UnsafeEnabled && x != nil {
   222  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   223  		if ms.LoadMessageInfo() == nil {
   224  			ms.StoreMessageInfo(mi)
   225  		}
   226  		return ms
   227  	}
   228  	return mi.MessageOf(x)
   229  }
   230  
   231  // Deprecated: Use ListProbesRequest.ProtoReflect.Descriptor instead.
   232  func (*ListProbesRequest) Descriptor() ([]byte, []int) {
   233  	return file_github_com_google_cloudprober_prober_proto_service_proto_rawDescGZIP(), []int{4}
   234  }
   235  
   236  type Probe struct {
   237  	state         protoimpl.MessageState
   238  	sizeCache     protoimpl.SizeCache
   239  	unknownFields protoimpl.UnknownFields
   240  
   241  	Name   *string         `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
   242  	Config *proto.ProbeDef `protobuf:"bytes,2,opt,name=config" json:"config,omitempty"`
   243  }
   244  
   245  func (x *Probe) Reset() {
   246  	*x = Probe{}
   247  	if protoimpl.UnsafeEnabled {
   248  		mi := &file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[5]
   249  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   250  		ms.StoreMessageInfo(mi)
   251  	}
   252  }
   253  
   254  func (x *Probe) String() string {
   255  	return protoimpl.X.MessageStringOf(x)
   256  }
   257  
   258  func (*Probe) ProtoMessage() {}
   259  
   260  func (x *Probe) ProtoReflect() protoreflect.Message {
   261  	mi := &file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[5]
   262  	if protoimpl.UnsafeEnabled && x != nil {
   263  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   264  		if ms.LoadMessageInfo() == nil {
   265  			ms.StoreMessageInfo(mi)
   266  		}
   267  		return ms
   268  	}
   269  	return mi.MessageOf(x)
   270  }
   271  
   272  // Deprecated: Use Probe.ProtoReflect.Descriptor instead.
   273  func (*Probe) Descriptor() ([]byte, []int) {
   274  	return file_github_com_google_cloudprober_prober_proto_service_proto_rawDescGZIP(), []int{5}
   275  }
   276  
   277  func (x *Probe) GetName() string {
   278  	if x != nil && x.Name != nil {
   279  		return *x.Name
   280  	}
   281  	return ""
   282  }
   283  
   284  func (x *Probe) GetConfig() *proto.ProbeDef {
   285  	if x != nil {
   286  		return x.Config
   287  	}
   288  	return nil
   289  }
   290  
   291  type ListProbesResponse struct {
   292  	state         protoimpl.MessageState
   293  	sizeCache     protoimpl.SizeCache
   294  	unknownFields protoimpl.UnknownFields
   295  
   296  	Probe []*Probe `protobuf:"bytes,1,rep,name=probe" json:"probe,omitempty"`
   297  }
   298  
   299  func (x *ListProbesResponse) Reset() {
   300  	*x = ListProbesResponse{}
   301  	if protoimpl.UnsafeEnabled {
   302  		mi := &file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[6]
   303  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   304  		ms.StoreMessageInfo(mi)
   305  	}
   306  }
   307  
   308  func (x *ListProbesResponse) String() string {
   309  	return protoimpl.X.MessageStringOf(x)
   310  }
   311  
   312  func (*ListProbesResponse) ProtoMessage() {}
   313  
   314  func (x *ListProbesResponse) ProtoReflect() protoreflect.Message {
   315  	mi := &file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[6]
   316  	if protoimpl.UnsafeEnabled && x != nil {
   317  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   318  		if ms.LoadMessageInfo() == nil {
   319  			ms.StoreMessageInfo(mi)
   320  		}
   321  		return ms
   322  	}
   323  	return mi.MessageOf(x)
   324  }
   325  
   326  // Deprecated: Use ListProbesResponse.ProtoReflect.Descriptor instead.
   327  func (*ListProbesResponse) Descriptor() ([]byte, []int) {
   328  	return file_github_com_google_cloudprober_prober_proto_service_proto_rawDescGZIP(), []int{6}
   329  }
   330  
   331  func (x *ListProbesResponse) GetProbe() []*Probe {
   332  	if x != nil {
   333  		return x.Probe
   334  	}
   335  	return nil
   336  }
   337  
   338  var File_github_com_google_cloudprober_prober_proto_service_proto protoreflect.FileDescriptor
   339  
   340  var file_github_com_google_cloudprober_prober_proto_service_proto_rawDesc = []byte{
   341  	0x0a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f,
   342  	0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f,
   343  	0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x72,
   344  	0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x63, 0x6c, 0x6f, 0x75,
   345  	0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x1a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
   346  	0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   347  	0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2f, 0x70, 0x72,
   348  	0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   349  	0x22, 0x52, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75,
   350  	0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x5f, 0x63, 0x6f, 0x6e,
   351  	0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
   352  	0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x50,
   353  	0x72, 0x6f, 0x62, 0x65, 0x44, 0x65, 0x66, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x43, 0x6f,
   354  	0x6e, 0x66, 0x69, 0x67, 0x22, 0x12, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x62, 0x65,
   355  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f,
   356  	0x76, 0x65, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d,
   357  	0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
   358  	0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x15, 0x0a,
   359  	0x13, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x73, 0x70,
   360  	0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x62,
   361  	0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x05, 0x50, 0x72, 0x6f,
   362  	0x62, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   363  	0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   364  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72,
   365  	0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x62,
   366  	0x65, 0x44, 0x65, 0x66, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x3e, 0x0a, 0x12,
   367  	0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
   368  	0x73, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28,
   369  	0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e,
   370  	0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x32, 0xfd, 0x01, 0x0a,
   371  	0x0b, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x08,
   372  	0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   373  	0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52,
   374  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72,
   375  	0x6f, 0x62, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x65, 0x73,
   376  	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0b, 0x52, 0x65, 0x6d, 0x6f, 0x76,
   377  	0x65, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x1f, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72,
   378  	0x6f, 0x62, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x62, 0x65,
   379  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70,
   380  	0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x62,
   381  	0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0a, 0x4c,
   382  	0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
   383  	0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x62,
   384  	0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
   385  	0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x62,
   386  	0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2c, 0x5a, 0x2a,
   387  	0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   388  	0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x70, 0x72,
   389  	0x6f, 0x62, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   390  }
   391  
   392  var (
   393  	file_github_com_google_cloudprober_prober_proto_service_proto_rawDescOnce sync.Once
   394  	file_github_com_google_cloudprober_prober_proto_service_proto_rawDescData = file_github_com_google_cloudprober_prober_proto_service_proto_rawDesc
   395  )
   396  
   397  func file_github_com_google_cloudprober_prober_proto_service_proto_rawDescGZIP() []byte {
   398  	file_github_com_google_cloudprober_prober_proto_service_proto_rawDescOnce.Do(func() {
   399  		file_github_com_google_cloudprober_prober_proto_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_google_cloudprober_prober_proto_service_proto_rawDescData)
   400  	})
   401  	return file_github_com_google_cloudprober_prober_proto_service_proto_rawDescData
   402  }
   403  
   404  var file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
   405  var file_github_com_google_cloudprober_prober_proto_service_proto_goTypes = []interface{}{
   406  	(*AddProbeRequest)(nil),     // 0: cloudprober.AddProbeRequest
   407  	(*AddProbeResponse)(nil),    // 1: cloudprober.AddProbeResponse
   408  	(*RemoveProbeRequest)(nil),  // 2: cloudprober.RemoveProbeRequest
   409  	(*RemoveProbeResponse)(nil), // 3: cloudprober.RemoveProbeResponse
   410  	(*ListProbesRequest)(nil),   // 4: cloudprober.ListProbesRequest
   411  	(*Probe)(nil),               // 5: cloudprober.Probe
   412  	(*ListProbesResponse)(nil),  // 6: cloudprober.ListProbesResponse
   413  	(*proto.ProbeDef)(nil),      // 7: cloudprober.probes.ProbeDef
   414  }
   415  var file_github_com_google_cloudprober_prober_proto_service_proto_depIdxs = []int32{
   416  	7, // 0: cloudprober.AddProbeRequest.probe_config:type_name -> cloudprober.probes.ProbeDef
   417  	7, // 1: cloudprober.Probe.config:type_name -> cloudprober.probes.ProbeDef
   418  	5, // 2: cloudprober.ListProbesResponse.probe:type_name -> cloudprober.Probe
   419  	0, // 3: cloudprober.Cloudprober.AddProbe:input_type -> cloudprober.AddProbeRequest
   420  	2, // 4: cloudprober.Cloudprober.RemoveProbe:input_type -> cloudprober.RemoveProbeRequest
   421  	4, // 5: cloudprober.Cloudprober.ListProbes:input_type -> cloudprober.ListProbesRequest
   422  	1, // 6: cloudprober.Cloudprober.AddProbe:output_type -> cloudprober.AddProbeResponse
   423  	3, // 7: cloudprober.Cloudprober.RemoveProbe:output_type -> cloudprober.RemoveProbeResponse
   424  	6, // 8: cloudprober.Cloudprober.ListProbes:output_type -> cloudprober.ListProbesResponse
   425  	6, // [6:9] is the sub-list for method output_type
   426  	3, // [3:6] is the sub-list for method input_type
   427  	3, // [3:3] is the sub-list for extension type_name
   428  	3, // [3:3] is the sub-list for extension extendee
   429  	0, // [0:3] is the sub-list for field type_name
   430  }
   431  
   432  func init() { file_github_com_google_cloudprober_prober_proto_service_proto_init() }
   433  func file_github_com_google_cloudprober_prober_proto_service_proto_init() {
   434  	if File_github_com_google_cloudprober_prober_proto_service_proto != nil {
   435  		return
   436  	}
   437  	if !protoimpl.UnsafeEnabled {
   438  		file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   439  			switch v := v.(*AddProbeRequest); i {
   440  			case 0:
   441  				return &v.state
   442  			case 1:
   443  				return &v.sizeCache
   444  			case 2:
   445  				return &v.unknownFields
   446  			default:
   447  				return nil
   448  			}
   449  		}
   450  		file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   451  			switch v := v.(*AddProbeResponse); i {
   452  			case 0:
   453  				return &v.state
   454  			case 1:
   455  				return &v.sizeCache
   456  			case 2:
   457  				return &v.unknownFields
   458  			default:
   459  				return nil
   460  			}
   461  		}
   462  		file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   463  			switch v := v.(*RemoveProbeRequest); i {
   464  			case 0:
   465  				return &v.state
   466  			case 1:
   467  				return &v.sizeCache
   468  			case 2:
   469  				return &v.unknownFields
   470  			default:
   471  				return nil
   472  			}
   473  		}
   474  		file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   475  			switch v := v.(*RemoveProbeResponse); i {
   476  			case 0:
   477  				return &v.state
   478  			case 1:
   479  				return &v.sizeCache
   480  			case 2:
   481  				return &v.unknownFields
   482  			default:
   483  				return nil
   484  			}
   485  		}
   486  		file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   487  			switch v := v.(*ListProbesRequest); i {
   488  			case 0:
   489  				return &v.state
   490  			case 1:
   491  				return &v.sizeCache
   492  			case 2:
   493  				return &v.unknownFields
   494  			default:
   495  				return nil
   496  			}
   497  		}
   498  		file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   499  			switch v := v.(*Probe); i {
   500  			case 0:
   501  				return &v.state
   502  			case 1:
   503  				return &v.sizeCache
   504  			case 2:
   505  				return &v.unknownFields
   506  			default:
   507  				return nil
   508  			}
   509  		}
   510  		file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   511  			switch v := v.(*ListProbesResponse); i {
   512  			case 0:
   513  				return &v.state
   514  			case 1:
   515  				return &v.sizeCache
   516  			case 2:
   517  				return &v.unknownFields
   518  			default:
   519  				return nil
   520  			}
   521  		}
   522  	}
   523  	type x struct{}
   524  	out := protoimpl.TypeBuilder{
   525  		File: protoimpl.DescBuilder{
   526  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   527  			RawDescriptor: file_github_com_google_cloudprober_prober_proto_service_proto_rawDesc,
   528  			NumEnums:      0,
   529  			NumMessages:   7,
   530  			NumExtensions: 0,
   531  			NumServices:   1,
   532  		},
   533  		GoTypes:           file_github_com_google_cloudprober_prober_proto_service_proto_goTypes,
   534  		DependencyIndexes: file_github_com_google_cloudprober_prober_proto_service_proto_depIdxs,
   535  		MessageInfos:      file_github_com_google_cloudprober_prober_proto_service_proto_msgTypes,
   536  	}.Build()
   537  	File_github_com_google_cloudprober_prober_proto_service_proto = out.File
   538  	file_github_com_google_cloudprober_prober_proto_service_proto_rawDesc = nil
   539  	file_github_com_google_cloudprober_prober_proto_service_proto_goTypes = nil
   540  	file_github_com_google_cloudprober_prober_proto_service_proto_depIdxs = nil
   541  }
   542  
   543  // Reference imports to suppress errors if they are not otherwise used.
   544  var _ context.Context
   545  var _ grpc.ClientConnInterface
   546  
   547  // This is a compile-time assertion to ensure that this generated file
   548  // is compatible with the grpc package it is being compiled against.
   549  const _ = grpc.SupportPackageIsVersion6
   550  
   551  // CloudproberClient is the client API for Cloudprober service.
   552  //
   553  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   554  type CloudproberClient interface {
   555  	// AddProbe adds a probe to cloudprober. Error is returned if probe is already
   556  	// defined or there is an error during initialization of the probe.
   557  	AddProbe(ctx context.Context, in *AddProbeRequest, opts ...grpc.CallOption) (*AddProbeResponse, error)
   558  	// RemoveProbe stops the probe and removes it from the in-memory database.
   559  	RemoveProbe(ctx context.Context, in *RemoveProbeRequest, opts ...grpc.CallOption) (*RemoveProbeResponse, error)
   560  	// ListProbes lists active probes.
   561  	ListProbes(ctx context.Context, in *ListProbesRequest, opts ...grpc.CallOption) (*ListProbesResponse, error)
   562  }
   563  
   564  type cloudproberClient struct {
   565  	cc grpc.ClientConnInterface
   566  }
   567  
   568  func NewCloudproberClient(cc grpc.ClientConnInterface) CloudproberClient {
   569  	return &cloudproberClient{cc}
   570  }
   571  
   572  func (c *cloudproberClient) AddProbe(ctx context.Context, in *AddProbeRequest, opts ...grpc.CallOption) (*AddProbeResponse, error) {
   573  	out := new(AddProbeResponse)
   574  	err := c.cc.Invoke(ctx, "/cloudprober.Cloudprober/AddProbe", in, out, opts...)
   575  	if err != nil {
   576  		return nil, err
   577  	}
   578  	return out, nil
   579  }
   580  
   581  func (c *cloudproberClient) RemoveProbe(ctx context.Context, in *RemoveProbeRequest, opts ...grpc.CallOption) (*RemoveProbeResponse, error) {
   582  	out := new(RemoveProbeResponse)
   583  	err := c.cc.Invoke(ctx, "/cloudprober.Cloudprober/RemoveProbe", in, out, opts...)
   584  	if err != nil {
   585  		return nil, err
   586  	}
   587  	return out, nil
   588  }
   589  
   590  func (c *cloudproberClient) ListProbes(ctx context.Context, in *ListProbesRequest, opts ...grpc.CallOption) (*ListProbesResponse, error) {
   591  	out := new(ListProbesResponse)
   592  	err := c.cc.Invoke(ctx, "/cloudprober.Cloudprober/ListProbes", in, out, opts...)
   593  	if err != nil {
   594  		return nil, err
   595  	}
   596  	return out, nil
   597  }
   598  
   599  // CloudproberServer is the server API for Cloudprober service.
   600  type CloudproberServer interface {
   601  	// AddProbe adds a probe to cloudprober. Error is returned if probe is already
   602  	// defined or there is an error during initialization of the probe.
   603  	AddProbe(context.Context, *AddProbeRequest) (*AddProbeResponse, error)
   604  	// RemoveProbe stops the probe and removes it from the in-memory database.
   605  	RemoveProbe(context.Context, *RemoveProbeRequest) (*RemoveProbeResponse, error)
   606  	// ListProbes lists active probes.
   607  	ListProbes(context.Context, *ListProbesRequest) (*ListProbesResponse, error)
   608  }
   609  
   610  // UnimplementedCloudproberServer can be embedded to have forward compatible implementations.
   611  type UnimplementedCloudproberServer struct {
   612  }
   613  
   614  func (*UnimplementedCloudproberServer) AddProbe(context.Context, *AddProbeRequest) (*AddProbeResponse, error) {
   615  	return nil, status.Errorf(codes.Unimplemented, "method AddProbe not implemented")
   616  }
   617  func (*UnimplementedCloudproberServer) RemoveProbe(context.Context, *RemoveProbeRequest) (*RemoveProbeResponse, error) {
   618  	return nil, status.Errorf(codes.Unimplemented, "method RemoveProbe not implemented")
   619  }
   620  func (*UnimplementedCloudproberServer) ListProbes(context.Context, *ListProbesRequest) (*ListProbesResponse, error) {
   621  	return nil, status.Errorf(codes.Unimplemented, "method ListProbes not implemented")
   622  }
   623  
   624  func RegisterCloudproberServer(s *grpc.Server, srv CloudproberServer) {
   625  	s.RegisterService(&_Cloudprober_serviceDesc, srv)
   626  }
   627  
   628  func _Cloudprober_AddProbe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   629  	in := new(AddProbeRequest)
   630  	if err := dec(in); err != nil {
   631  		return nil, err
   632  	}
   633  	if interceptor == nil {
   634  		return srv.(CloudproberServer).AddProbe(ctx, in)
   635  	}
   636  	info := &grpc.UnaryServerInfo{
   637  		Server:     srv,
   638  		FullMethod: "/cloudprober.Cloudprober/AddProbe",
   639  	}
   640  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   641  		return srv.(CloudproberServer).AddProbe(ctx, req.(*AddProbeRequest))
   642  	}
   643  	return interceptor(ctx, in, info, handler)
   644  }
   645  
   646  func _Cloudprober_RemoveProbe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   647  	in := new(RemoveProbeRequest)
   648  	if err := dec(in); err != nil {
   649  		return nil, err
   650  	}
   651  	if interceptor == nil {
   652  		return srv.(CloudproberServer).RemoveProbe(ctx, in)
   653  	}
   654  	info := &grpc.UnaryServerInfo{
   655  		Server:     srv,
   656  		FullMethod: "/cloudprober.Cloudprober/RemoveProbe",
   657  	}
   658  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   659  		return srv.(CloudproberServer).RemoveProbe(ctx, req.(*RemoveProbeRequest))
   660  	}
   661  	return interceptor(ctx, in, info, handler)
   662  }
   663  
   664  func _Cloudprober_ListProbes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   665  	in := new(ListProbesRequest)
   666  	if err := dec(in); err != nil {
   667  		return nil, err
   668  	}
   669  	if interceptor == nil {
   670  		return srv.(CloudproberServer).ListProbes(ctx, in)
   671  	}
   672  	info := &grpc.UnaryServerInfo{
   673  		Server:     srv,
   674  		FullMethod: "/cloudprober.Cloudprober/ListProbes",
   675  	}
   676  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   677  		return srv.(CloudproberServer).ListProbes(ctx, req.(*ListProbesRequest))
   678  	}
   679  	return interceptor(ctx, in, info, handler)
   680  }
   681  
   682  var _Cloudprober_serviceDesc = grpc.ServiceDesc{
   683  	ServiceName: "cloudprober.Cloudprober",
   684  	HandlerType: (*CloudproberServer)(nil),
   685  	Methods: []grpc.MethodDesc{
   686  		{
   687  			MethodName: "AddProbe",
   688  			Handler:    _Cloudprober_AddProbe_Handler,
   689  		},
   690  		{
   691  			MethodName: "RemoveProbe",
   692  			Handler:    _Cloudprober_RemoveProbe_Handler,
   693  		},
   694  		{
   695  			MethodName: "ListProbes",
   696  			Handler:    _Cloudprober_ListProbes_Handler,
   697  		},
   698  	},
   699  	Streams:  []grpc.StreamDesc{},
   700  	Metadata: "github.com/google/cloudprober/prober/proto/service.proto",
   701  }