github.com/gogo/protobuf@v1.3.2/protoc-gen-gogo/testdata/grpc/grpc_empty.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: grpc/grpc_empty.proto
     3  
     4  package testing
     5  
     6  import (
     7  	context "context"
     8  	fmt "fmt"
     9  	proto "github.com/gogo/protobuf/proto"
    10  	grpc "google.golang.org/grpc"
    11  	math "math"
    12  )
    13  
    14  // Reference imports to suppress errors if they are not otherwise used.
    15  var _ = proto.Marshal
    16  var _ = fmt.Errorf
    17  var _ = math.Inf
    18  
    19  // This is a compile-time assertion to ensure that this generated file
    20  // is compatible with the proto package it is being compiled against.
    21  // A compilation error at this line likely means your copy of the
    22  // proto package needs to be updated.
    23  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    24  
    25  func init() { proto.RegisterFile("grpc/grpc_empty.proto", fileDescriptor_c580a37f1c90e9b1) }
    26  
    27  var fileDescriptor_c580a37f1c90e9b1 = []byte{
    28  	// 121 bytes of a gzipped FileDescriptorProto
    29  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4d, 0x2f, 0x2a, 0x48,
    30  	0xd6, 0x07, 0x11, 0xf1, 0xa9, 0xb9, 0x05, 0x25, 0x95, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42,
    31  	0x3c, 0x20, 0x11, 0xbd, 0x92, 0xd4, 0xe2, 0x92, 0xcc, 0xbc, 0x74, 0x23, 0x3e, 0x2e, 0x1e, 0x57,
    32  	0x90, 0x64, 0x70, 0x6a, 0x51, 0x59, 0x66, 0x72, 0xaa, 0x93, 0x43, 0x94, 0x5d, 0x7a, 0x66, 0x49,
    33  	0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x7a, 0x7e, 0x7a, 0xbe, 0x3e, 0x58, 0x5b, 0x52,
    34  	0x69, 0x1a, 0x84, 0x91, 0xac, 0x9b, 0x9e, 0x9a, 0xa7, 0x0b, 0x96, 0x00, 0x99, 0x91, 0x92, 0x58,
    35  	0x92, 0x08, 0xb6, 0xc3, 0x1a, 0x6a, 0x62, 0x12, 0x1b, 0x58, 0x99, 0x31, 0x20, 0x00, 0x00, 0xff,
    36  	0xff, 0x15, 0xf0, 0x09, 0x1e, 0x7f, 0x00, 0x00, 0x00,
    37  }
    38  
    39  // Reference imports to suppress errors if they are not otherwise used.
    40  var _ context.Context
    41  var _ grpc.ClientConn
    42  
    43  // This is a compile-time assertion to ensure that this generated file
    44  // is compatible with the grpc package it is being compiled against.
    45  const _ = grpc.SupportPackageIsVersion4
    46  
    47  // EmptyServiceClient is the client API for EmptyService service.
    48  //
    49  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
    50  type EmptyServiceClient interface {
    51  }
    52  
    53  type emptyServiceClient struct {
    54  	cc *grpc.ClientConn
    55  }
    56  
    57  func NewEmptyServiceClient(cc *grpc.ClientConn) EmptyServiceClient {
    58  	return &emptyServiceClient{cc}
    59  }
    60  
    61  // EmptyServiceServer is the server API for EmptyService service.
    62  type EmptyServiceServer interface {
    63  }
    64  
    65  // UnimplementedEmptyServiceServer can be embedded to have forward compatible implementations.
    66  type UnimplementedEmptyServiceServer struct {
    67  }
    68  
    69  func RegisterEmptyServiceServer(s *grpc.Server, srv EmptyServiceServer) {
    70  	s.RegisterService(&_EmptyService_serviceDesc, srv)
    71  }
    72  
    73  var _EmptyService_serviceDesc = grpc.ServiceDesc{
    74  	ServiceName: "grpc.testing.EmptyService",
    75  	HandlerType: (*EmptyServiceServer)(nil),
    76  	Methods:     []grpc.MethodDesc{},
    77  	Streams:     []grpc.StreamDesc{},
    78  	Metadata:    "grpc/grpc_empty.proto",
    79  }