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