Source File
load_balancer.pb.go
Belonging Package
google.golang.org/grpc/balancer/grpclb/grpc_lb_v1
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
LoadBalanceRequestType isLoadBalanceRequest_LoadBalanceRequestType `protobuf_oneof:"load_balance_request_type"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func ( *LoadBalanceRequest) () { * = LoadBalanceRequest{} }
func ( *LoadBalanceRequest) () string { return proto.CompactTextString() }
func (*LoadBalanceRequest) () {}
func (*LoadBalanceRequest) () ([]byte, []int) {
return fileDescriptor_7cd3f6d792743fdf, []int{0}
}
func ( *LoadBalanceRequest) ( []byte) error {
return xxx_messageInfo_LoadBalanceRequest.Unmarshal(, )
}
func ( *LoadBalanceRequest) ( []byte, bool) ([]byte, error) {
return xxx_messageInfo_LoadBalanceRequest.Marshal(, , )
}
func ( *LoadBalanceRequest) ( proto.Message) {
xxx_messageInfo_LoadBalanceRequest.Merge(, )
}
func ( *LoadBalanceRequest) () int {
return xxx_messageInfo_LoadBalanceRequest.Size()
}
func ( *LoadBalanceRequest) () {
xxx_messageInfo_LoadBalanceRequest.DiscardUnknown()
}
var xxx_messageInfo_LoadBalanceRequest proto.InternalMessageInfo
type isLoadBalanceRequest_LoadBalanceRequestType interface {
isLoadBalanceRequest_LoadBalanceRequestType()
}
type LoadBalanceRequest_InitialRequest struct {
InitialRequest *InitialLoadBalanceRequest `protobuf:"bytes,1,opt,name=initial_request,json=initialRequest,proto3,oneof"`
}
type LoadBalanceRequest_ClientStats struct {
ClientStats *ClientStats `protobuf:"bytes,2,opt,name=client_stats,json=clientStats,proto3,oneof"`
}
func (*LoadBalanceRequest_InitialRequest) () {}
func (*LoadBalanceRequest_ClientStats) () {}
func ( *LoadBalanceRequest) () isLoadBalanceRequest_LoadBalanceRequestType {
if != nil {
return .LoadBalanceRequestType
}
return nil
}
func ( *LoadBalanceRequest) () *InitialLoadBalanceRequest {
if , := .GetLoadBalanceRequestType().(*LoadBalanceRequest_InitialRequest); {
return .InitialRequest
}
return nil
}
func ( *LoadBalanceRequest) () *ClientStats {
if , := .GetLoadBalanceRequestType().(*LoadBalanceRequest_ClientStats); {
return .ClientStats
}
return nil
}
func (*LoadBalanceRequest) () []interface{} {
return []interface{}{
(*LoadBalanceRequest_InitialRequest)(nil),
(*LoadBalanceRequest_ClientStats)(nil),
}
}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func ( *InitialLoadBalanceRequest) () { * = InitialLoadBalanceRequest{} }
func ( *InitialLoadBalanceRequest) () string { return proto.CompactTextString() }
func (*InitialLoadBalanceRequest) () {}
func (*InitialLoadBalanceRequest) () ([]byte, []int) {
return fileDescriptor_7cd3f6d792743fdf, []int{1}
}
func ( *InitialLoadBalanceRequest) ( []byte) error {
return xxx_messageInfo_InitialLoadBalanceRequest.Unmarshal(, )
}
func ( *InitialLoadBalanceRequest) ( []byte, bool) ([]byte, error) {
return xxx_messageInfo_InitialLoadBalanceRequest.Marshal(, , )
}
func ( *InitialLoadBalanceRequest) ( proto.Message) {
xxx_messageInfo_InitialLoadBalanceRequest.Merge(, )
}
func ( *InitialLoadBalanceRequest) () int {
return xxx_messageInfo_InitialLoadBalanceRequest.Size()
}
func ( *InitialLoadBalanceRequest) () {
xxx_messageInfo_InitialLoadBalanceRequest.DiscardUnknown()
}
var xxx_messageInfo_InitialLoadBalanceRequest proto.InternalMessageInfo
func ( *InitialLoadBalanceRequest) () string {
if != nil {
return .Name
}
return ""
}
NumCalls int64 `protobuf:"varint,2,opt,name=num_calls,json=numCalls,proto3" json:"num_calls,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func ( *ClientStatsPerToken) () { * = ClientStatsPerToken{} }
func ( *ClientStatsPerToken) () string { return proto.CompactTextString() }
func (*ClientStatsPerToken) () {}
func (*ClientStatsPerToken) () ([]byte, []int) {
return fileDescriptor_7cd3f6d792743fdf, []int{2}
}
func ( *ClientStatsPerToken) ( []byte) error {
return xxx_messageInfo_ClientStatsPerToken.Unmarshal(, )
}
func ( *ClientStatsPerToken) ( []byte, bool) ([]byte, error) {
return xxx_messageInfo_ClientStatsPerToken.Marshal(, , )
}
func ( *ClientStatsPerToken) ( proto.Message) {
xxx_messageInfo_ClientStatsPerToken.Merge(, )
}
func ( *ClientStatsPerToken) () int {
return xxx_messageInfo_ClientStatsPerToken.Size()
}
func ( *ClientStatsPerToken) () {
xxx_messageInfo_ClientStatsPerToken.DiscardUnknown()
}
var xxx_messageInfo_ClientStatsPerToken proto.InternalMessageInfo
func ( *ClientStatsPerToken) () string {
if != nil {
return .LoadBalanceToken
}
return ""
}
func ( *ClientStatsPerToken) () int64 {
if != nil {
return .NumCalls
}
return 0
}
CallsFinishedWithDrop []*ClientStatsPerToken `protobuf:"bytes,8,rep,name=calls_finished_with_drop,json=callsFinishedWithDrop,proto3" json:"calls_finished_with_drop,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func ( *ClientStats) () { * = ClientStats{} }
func ( *ClientStats) () string { return proto.CompactTextString() }
func (*ClientStats) () {}
func (*ClientStats) () ([]byte, []int) {
return fileDescriptor_7cd3f6d792743fdf, []int{3}
}
func ( *ClientStats) ( []byte) error {
return xxx_messageInfo_ClientStats.Unmarshal(, )
}
func ( *ClientStats) ( []byte, bool) ([]byte, error) {
return xxx_messageInfo_ClientStats.Marshal(, , )
}
func ( *ClientStats) ( proto.Message) {
xxx_messageInfo_ClientStats.Merge(, )
}
func ( *ClientStats) () int {
return xxx_messageInfo_ClientStats.Size()
}
func ( *ClientStats) () {
xxx_messageInfo_ClientStats.DiscardUnknown()
}
var xxx_messageInfo_ClientStats proto.InternalMessageInfo
func ( *ClientStats) () *timestamp.Timestamp {
if != nil {
return .Timestamp
}
return nil
}
func ( *ClientStats) () int64 {
if != nil {
return .NumCallsStarted
}
return 0
}
func ( *ClientStats) () int64 {
if != nil {
return .NumCallsFinished
}
return 0
}
func ( *ClientStats) () int64 {
if != nil {
return .NumCallsFinishedWithClientFailedToSend
}
return 0
}
func ( *ClientStats) () int64 {
if != nil {
return .NumCallsFinishedKnownReceived
}
return 0
}
func ( *ClientStats) () []*ClientStatsPerToken {
if != nil {
return .CallsFinishedWithDrop
}
return nil
}
LoadBalanceResponseType isLoadBalanceResponse_LoadBalanceResponseType `protobuf_oneof:"load_balance_response_type"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func ( *LoadBalanceResponse) () { * = LoadBalanceResponse{} }
func ( *LoadBalanceResponse) () string { return proto.CompactTextString() }
func (*LoadBalanceResponse) () {}
func (*LoadBalanceResponse) () ([]byte, []int) {
return fileDescriptor_7cd3f6d792743fdf, []int{4}
}
func ( *LoadBalanceResponse) ( []byte) error {
return xxx_messageInfo_LoadBalanceResponse.Unmarshal(, )
}
func ( *LoadBalanceResponse) ( []byte, bool) ([]byte, error) {
return xxx_messageInfo_LoadBalanceResponse.Marshal(, , )
}
func ( *LoadBalanceResponse) ( proto.Message) {
xxx_messageInfo_LoadBalanceResponse.Merge(, )
}
func ( *LoadBalanceResponse) () int {
return xxx_messageInfo_LoadBalanceResponse.Size()
}
func ( *LoadBalanceResponse) () {
xxx_messageInfo_LoadBalanceResponse.DiscardUnknown()
}
var xxx_messageInfo_LoadBalanceResponse proto.InternalMessageInfo
type isLoadBalanceResponse_LoadBalanceResponseType interface {
isLoadBalanceResponse_LoadBalanceResponseType()
}
type LoadBalanceResponse_InitialResponse struct {
InitialResponse *InitialLoadBalanceResponse `protobuf:"bytes,1,opt,name=initial_response,json=initialResponse,proto3,oneof"`
}
type LoadBalanceResponse_ServerList struct {
ServerList *ServerList `protobuf:"bytes,2,opt,name=server_list,json=serverList,proto3,oneof"`
}
type LoadBalanceResponse_FallbackResponse struct {
FallbackResponse *FallbackResponse `protobuf:"bytes,3,opt,name=fallback_response,json=fallbackResponse,proto3,oneof"`
}
func (*LoadBalanceResponse_InitialResponse) () {}
func (*LoadBalanceResponse_ServerList) () {}
func (*LoadBalanceResponse_FallbackResponse) () {}
func ( *LoadBalanceResponse) () isLoadBalanceResponse_LoadBalanceResponseType {
if != nil {
return .LoadBalanceResponseType
}
return nil
}
func ( *LoadBalanceResponse) () *InitialLoadBalanceResponse {
if , := .GetLoadBalanceResponseType().(*LoadBalanceResponse_InitialResponse); {
return .InitialResponse
}
return nil
}
func ( *LoadBalanceResponse) () *ServerList {
if , := .GetLoadBalanceResponseType().(*LoadBalanceResponse_ServerList); {
return .ServerList
}
return nil
}
func ( *LoadBalanceResponse) () *FallbackResponse {
if , := .GetLoadBalanceResponseType().(*LoadBalanceResponse_FallbackResponse); {
return .FallbackResponse
}
return nil
}
func (*LoadBalanceResponse) () []interface{} {
return []interface{}{
(*LoadBalanceResponse_InitialResponse)(nil),
(*LoadBalanceResponse_ServerList)(nil),
(*LoadBalanceResponse_FallbackResponse)(nil),
}
}
type FallbackResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func ( *FallbackResponse) () { * = FallbackResponse{} }
func ( *FallbackResponse) () string { return proto.CompactTextString() }
func (*FallbackResponse) () {}
func (*FallbackResponse) () ([]byte, []int) {
return fileDescriptor_7cd3f6d792743fdf, []int{5}
}
func ( *FallbackResponse) ( []byte) error {
return xxx_messageInfo_FallbackResponse.Unmarshal(, )
}
func ( *FallbackResponse) ( []byte, bool) ([]byte, error) {
return xxx_messageInfo_FallbackResponse.Marshal(, , )
}
func ( *FallbackResponse) ( proto.Message) {
xxx_messageInfo_FallbackResponse.Merge(, )
}
func ( *FallbackResponse) () int {
return xxx_messageInfo_FallbackResponse.Size()
}
func ( *FallbackResponse) () {
xxx_messageInfo_FallbackResponse.DiscardUnknown()
}
var xxx_messageInfo_FallbackResponse proto.InternalMessageInfo
ClientStatsReportInterval *duration.Duration `protobuf:"bytes,2,opt,name=client_stats_report_interval,json=clientStatsReportInterval,proto3" json:"client_stats_report_interval,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func ( *InitialLoadBalanceResponse) () { * = InitialLoadBalanceResponse{} }
func ( *InitialLoadBalanceResponse) () string { return proto.CompactTextString() }
func (*InitialLoadBalanceResponse) () {}
func (*InitialLoadBalanceResponse) () ([]byte, []int) {
return fileDescriptor_7cd3f6d792743fdf, []int{6}
}
func ( *InitialLoadBalanceResponse) ( []byte) error {
return xxx_messageInfo_InitialLoadBalanceResponse.Unmarshal(, )
}
func ( *InitialLoadBalanceResponse) ( []byte, bool) ([]byte, error) {
return xxx_messageInfo_InitialLoadBalanceResponse.Marshal(, , )
}
func ( *InitialLoadBalanceResponse) ( proto.Message) {
xxx_messageInfo_InitialLoadBalanceResponse.Merge(, )
}
func ( *InitialLoadBalanceResponse) () int {
return xxx_messageInfo_InitialLoadBalanceResponse.Size()
}
func ( *InitialLoadBalanceResponse) () {
xxx_messageInfo_InitialLoadBalanceResponse.DiscardUnknown()
}
var xxx_messageInfo_InitialLoadBalanceResponse proto.InternalMessageInfo
func ( *InitialLoadBalanceResponse) () *duration.Duration {
if != nil {
return .ClientStatsReportInterval
}
return nil
}
Servers []*Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func ( *ServerList) () { * = ServerList{} }
func ( *ServerList) () string { return proto.CompactTextString() }
func (*ServerList) () {}
func (*ServerList) () ([]byte, []int) {
return fileDescriptor_7cd3f6d792743fdf, []int{7}
}
func ( *ServerList) ( []byte) error {
return xxx_messageInfo_ServerList.Unmarshal(, )
}
func ( *ServerList) ( []byte, bool) ([]byte, error) {
return xxx_messageInfo_ServerList.Marshal(, , )
}
func ( *ServerList) ( proto.Message) {
xxx_messageInfo_ServerList.Merge(, )
}
func ( *ServerList) () int {
return xxx_messageInfo_ServerList.Size()
}
func ( *ServerList) () {
xxx_messageInfo_ServerList.DiscardUnknown()
}
var xxx_messageInfo_ServerList proto.InternalMessageInfo
func ( *ServerList) () []*Server {
if != nil {
return .Servers
}
return nil
}
Drop bool `protobuf:"varint,4,opt,name=drop,proto3" json:"drop,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func ( *Server) () { * = Server{} }
func ( *Server) () string { return proto.CompactTextString() }
func (*Server) () {}
func (*Server) () ([]byte, []int) {
return fileDescriptor_7cd3f6d792743fdf, []int{8}
}
func ( *Server) ( []byte) error {
return xxx_messageInfo_Server.Unmarshal(, )
}
func ( *Server) ( []byte, bool) ([]byte, error) {
return xxx_messageInfo_Server.Marshal(, , )
}
func ( *Server) ( proto.Message) {
xxx_messageInfo_Server.Merge(, )
}
func ( *Server) () int {
return xxx_messageInfo_Server.Size()
}
func ( *Server) () {
xxx_messageInfo_Server.DiscardUnknown()
}
var xxx_messageInfo_Server proto.InternalMessageInfo
func ( *Server) () []byte {
if != nil {
return .IpAddress
}
return nil
}
func ( *Server) () int32 {
if != nil {
return .Port
}
return 0
}
func ( *Server) () string {
if != nil {
return .LoadBalanceToken
}
return ""
}
func ( *Server) () bool {
if != nil {
return .Drop
}
return false
}
func () {
proto.RegisterType((*LoadBalanceRequest)(nil), "grpc.lb.v1.LoadBalanceRequest")
proto.RegisterType((*InitialLoadBalanceRequest)(nil), "grpc.lb.v1.InitialLoadBalanceRequest")
proto.RegisterType((*ClientStatsPerToken)(nil), "grpc.lb.v1.ClientStatsPerToken")
proto.RegisterType((*ClientStats)(nil), "grpc.lb.v1.ClientStats")
proto.RegisterType((*LoadBalanceResponse)(nil), "grpc.lb.v1.LoadBalanceResponse")
proto.RegisterType((*FallbackResponse)(nil), "grpc.lb.v1.FallbackResponse")
proto.RegisterType((*InitialLoadBalanceResponse)(nil), "grpc.lb.v1.InitialLoadBalanceResponse")
proto.RegisterType((*ServerList)(nil), "grpc.lb.v1.ServerList")
proto.RegisterType((*Server)(nil), "grpc.lb.v1.Server")
}
func () { proto.RegisterFile("grpc/lb/v1/load_balancer.proto", fileDescriptor_7cd3f6d792743fdf) }
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0xdd, 0x6e, 0xdb, 0x36,
0x14, 0x8e, 0x62, 0x25, 0x75, 0x8e, 0xb3, 0x45, 0x61, 0xb1, 0xcd, 0x71, 0xd3, 0x24, 0x13, 0xb0,
0x22, 0x18, 0x3a, 0x79, 0xc9, 0x6e, 0x36, 0x60, 0x17, 0x9b, 0x5b, 0x04, 0x69, 0xda, 0x8b, 0x80,
0x0e, 0xd0, 0xa1, 0xc0, 0xc0, 0x51, 0x12, 0xed, 0x10, 0xa1, 0x49, 0x8d, 0xa2, 0x5d, 0xec, 0x66,
0x37, 0x7b, 0x81, 0x3d, 0xca, 0x5e, 0x61, 0x6f, 0x36, 0x88, 0xa4, 0x2c, 0xd5, 0xae, 0xb1, 0x2b,
0x91, 0xe7, 0x7c, 0xfc, 0xce, 0xff, 0x11, 0x9c, 0x4c, 0x75, 0x91, 0x0d, 0x45, 0x3a, 0x5c, 0x5c,
0x0c, 0x85, 0xa2, 0x39, 0x49, 0xa9, 0xa0, 0x32, 0x63, 0x3a, 0x29, 0xb4, 0x32, 0x0a, 0x41, 0xa5,
0x4f, 0x44, 0x9a, 0x2c, 0x2e, 0x06, 0x27, 0x53, 0xa5, 0xa6, 0x82, 0x0d, 0xad, 0x26, 0x9d, 0x4f,
0x86, 0xf9, 0x5c, 0x53, 0xc3, 0x95, 0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x5b, 0x09, 0xd4, 0x08,
0x43, 0xcf, 0x9f, 0x2b, 0x31, 0x3a, 0x69, 0xc7, 0xb1, 0xbe, 0xd6, 0x06, 0xa7, 0x1b, 0xf5, 0xae,
0x12, 0xe7, 0xc1, 0xb7, 0xc1, 0xe8, 0x2d, 0x7c, 0xc2, 0x55, 0x0b, 0x38, 0x3a, 0x6c, 0x9b, 0xbc,
0xad, 0x92, 0x7f, 0x1b, 0xbc, 0xbb, 0xf0, 0xc5, 0x98, 0x2a, 0x41, 0xe5, 0x34, 0x51, 0x7a, 0x3a,
0xb4, 0x7f, 0xa0, 0xfa, 0xb7, 0x63, 0x6f, 0x22, 0xb5, 0x1f, 0x22, 0x52, 0xb2, 0xb8, 0x48, 0x77,
0x6d, 0xe1, 0xbe, 0xfb, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x3f, 0x47, 0x55, 0xac, 0xab, 0x06, 0x00,
0x00,
}
var _ context.Context
var _ grpc.ClientConnInterface
const _ = grpc.SupportPackageIsVersion6
BalanceLoad(ctx context.Context, opts ...grpc.CallOption) (LoadBalancer_BalanceLoadClient, error)
}
type loadBalancerClient struct {
cc grpc.ClientConnInterface
}
func ( grpc.ClientConnInterface) LoadBalancerClient {
return &loadBalancerClient{}
}
func ( *loadBalancerClient) ( context.Context, ...grpc.CallOption) (LoadBalancer_BalanceLoadClient, error) {
, := .cc.NewStream(, &_LoadBalancer_serviceDesc.Streams[0], "/grpc.lb.v1.LoadBalancer/BalanceLoad", ...)
if != nil {
return nil,
}
:= &loadBalancerBalanceLoadClient{}
return , nil
}
type LoadBalancer_BalanceLoadClient interface {
Send(*LoadBalanceRequest) error
Recv() (*LoadBalanceResponse, error)
grpc.ClientStream
}
type loadBalancerBalanceLoadClient struct {
grpc.ClientStream
}
func ( *loadBalancerBalanceLoadClient) ( *LoadBalanceRequest) error {
return .ClientStream.SendMsg()
}
func ( *loadBalancerBalanceLoadClient) () (*LoadBalanceResponse, error) {
:= new(LoadBalanceResponse)
if := .ClientStream.RecvMsg(); != nil {
return nil,
}
return , nil
}
BalanceLoad(LoadBalancer_BalanceLoadServer) error
}
type UnimplementedLoadBalancerServer struct {
}
func (*UnimplementedLoadBalancerServer) ( LoadBalancer_BalanceLoadServer) error {
return status.Errorf(codes.Unimplemented, "method BalanceLoad not implemented")
}
func ( *grpc.Server, LoadBalancerServer) {
.RegisterService(&_LoadBalancer_serviceDesc, )
}
func ( interface{}, grpc.ServerStream) error {
return .(LoadBalancerServer).BalanceLoad(&loadBalancerBalanceLoadServer{})
}
type LoadBalancer_BalanceLoadServer interface {
Send(*LoadBalanceResponse) error
Recv() (*LoadBalanceRequest, error)
grpc.ServerStream
}
type loadBalancerBalanceLoadServer struct {
grpc.ServerStream
}
func ( *loadBalancerBalanceLoadServer) ( *LoadBalanceResponse) error {
return .ServerStream.SendMsg()
}
func ( *loadBalancerBalanceLoadServer) () (*LoadBalanceRequest, error) {
:= new(LoadBalanceRequest)
if := .ServerStream.RecvMsg(); != nil {
return nil,
}
return , nil
}
var _LoadBalancer_serviceDesc = grpc.ServiceDesc{
ServiceName: "grpc.lb.v1.LoadBalancer",
HandlerType: (*LoadBalancerServer)(nil),
Methods: []grpc.MethodDesc{},
Streams: []grpc.StreamDesc{
{
StreamName: "BalanceLoad",
Handler: _LoadBalancer_BalanceLoad_Handler,
ServerStreams: true,
ClientStreams: true,
},
},
Metadata: "grpc/lb/v1/load_balancer.proto",
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |