go: cloud.google.com/go/rpcreplay/proto/intstore Index | Files

package intstore

import "cloud.google.com/go/rpcreplay/proto/intstore"

Index

Package Files

intstore.pb.go

func RegisterIntStoreServer Uses

func RegisterIntStoreServer(s *grpc.Server, srv IntStoreServer)

type GetRequest Uses

type GetRequest struct {
    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 (*GetRequest) Descriptor Uses

func (*GetRequest) Descriptor() ([]byte, []int)

func (*GetRequest) GetName Uses

func (m *GetRequest) GetName() string

func (*GetRequest) ProtoMessage Uses

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset Uses

func (m *GetRequest) Reset()

func (*GetRequest) String Uses

func (m *GetRequest) String() string

func (*GetRequest) XXX_DiscardUnknown Uses

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal Uses

func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRequest) XXX_Merge Uses

func (dst *GetRequest) XXX_Merge(src proto.Message)

func (*GetRequest) XXX_Size Uses

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal Uses

func (m *GetRequest) XXX_Unmarshal(b []byte) error

type IntStoreClient Uses

type IntStoreClient interface {
    Set(ctx context.Context, in *Item, opts ...grpc.CallOption) (*SetResponse, error)
    Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*Item, error)
    // A server-to-client streaming RPC.
    ListItems(ctx context.Context, in *ListItemsRequest, opts ...grpc.CallOption) (IntStore_ListItemsClient, error)
    // A client-to-server streaming RPC.
    SetStream(ctx context.Context, opts ...grpc.CallOption) (IntStore_SetStreamClient, error)
    // A Bidirectional streaming RPC.
    StreamChat(ctx context.Context, opts ...grpc.CallOption) (IntStore_StreamChatClient, error)
}

IntStoreClient is the client API for IntStore service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewIntStoreClient Uses

func NewIntStoreClient(cc *grpc.ClientConn) IntStoreClient

type IntStoreServer Uses

type IntStoreServer interface {
    Set(context.Context, *Item) (*SetResponse, error)
    Get(context.Context, *GetRequest) (*Item, error)
    // A server-to-client streaming RPC.
    ListItems(*ListItemsRequest, IntStore_ListItemsServer) error
    // A client-to-server streaming RPC.
    SetStream(IntStore_SetStreamServer) error
    // A Bidirectional streaming RPC.
    StreamChat(IntStore_StreamChatServer) error
}

IntStoreServer is the server API for IntStore service.

type IntStore_ListItemsClient Uses

type IntStore_ListItemsClient interface {
    Recv() (*Item, error)
    grpc.ClientStream
}

type IntStore_ListItemsServer Uses

type IntStore_ListItemsServer interface {
    Send(*Item) error
    grpc.ServerStream
}

type IntStore_SetStreamClient Uses

type IntStore_SetStreamClient interface {
    Send(*Item) error
    CloseAndRecv() (*Summary, error)
    grpc.ClientStream
}

type IntStore_SetStreamServer Uses

type IntStore_SetStreamServer interface {
    SendAndClose(*Summary) error
    Recv() (*Item, error)
    grpc.ServerStream
}

type IntStore_StreamChatClient Uses

type IntStore_StreamChatClient interface {
    Send(*Item) error
    Recv() (*Item, error)
    grpc.ClientStream
}

type IntStore_StreamChatServer Uses

type IntStore_StreamChatServer interface {
    Send(*Item) error
    Recv() (*Item, error)
    grpc.ServerStream
}

type Item Uses

type Item struct {
    Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    Value                int32    `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Item) Descriptor Uses

func (*Item) Descriptor() ([]byte, []int)

func (*Item) GetName Uses

func (m *Item) GetName() string

func (*Item) GetValue Uses

func (m *Item) GetValue() int32

func (*Item) ProtoMessage Uses

func (*Item) ProtoMessage()

func (*Item) Reset Uses

func (m *Item) Reset()

func (*Item) String Uses

func (m *Item) String() string

func (*Item) XXX_DiscardUnknown Uses

func (m *Item) XXX_DiscardUnknown()

func (*Item) XXX_Marshal Uses

func (m *Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Item) XXX_Merge Uses

func (dst *Item) XXX_Merge(src proto.Message)

func (*Item) XXX_Size Uses

func (m *Item) XXX_Size() int

func (*Item) XXX_Unmarshal Uses

func (m *Item) XXX_Unmarshal(b []byte) error

type ListItemsRequest Uses

type ListItemsRequest struct {
    GreaterThan          int32    `protobuf:"varint,1,opt,name=greaterThan,proto3" json:"greaterThan,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*ListItemsRequest) Descriptor Uses

func (*ListItemsRequest) Descriptor() ([]byte, []int)

func (*ListItemsRequest) GetGreaterThan Uses

func (m *ListItemsRequest) GetGreaterThan() int32

func (*ListItemsRequest) ProtoMessage Uses

func (*ListItemsRequest) ProtoMessage()

func (*ListItemsRequest) Reset Uses

func (m *ListItemsRequest) Reset()

func (*ListItemsRequest) String Uses

func (m *ListItemsRequest) String() string

func (*ListItemsRequest) XXX_DiscardUnknown Uses

func (m *ListItemsRequest) XXX_DiscardUnknown()

func (*ListItemsRequest) XXX_Marshal Uses

func (m *ListItemsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListItemsRequest) XXX_Merge Uses

func (dst *ListItemsRequest) XXX_Merge(src proto.Message)

func (*ListItemsRequest) XXX_Size Uses

func (m *ListItemsRequest) XXX_Size() int

func (*ListItemsRequest) XXX_Unmarshal Uses

func (m *ListItemsRequest) XXX_Unmarshal(b []byte) error

type SetResponse Uses

type SetResponse struct {
    PrevValue            int32    `protobuf:"varint,1,opt,name=prev_value,json=prevValue,proto3" json:"prev_value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*SetResponse) Descriptor Uses

func (*SetResponse) Descriptor() ([]byte, []int)

func (*SetResponse) GetPrevValue Uses

func (m *SetResponse) GetPrevValue() int32

func (*SetResponse) ProtoMessage Uses

func (*SetResponse) ProtoMessage()

func (*SetResponse) Reset Uses

func (m *SetResponse) Reset()

func (*SetResponse) String Uses

func (m *SetResponse) String() string

func (*SetResponse) XXX_DiscardUnknown Uses

func (m *SetResponse) XXX_DiscardUnknown()

func (*SetResponse) XXX_Marshal Uses

func (m *SetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetResponse) XXX_Merge Uses

func (dst *SetResponse) XXX_Merge(src proto.Message)

func (*SetResponse) XXX_Size Uses

func (m *SetResponse) XXX_Size() int

func (*SetResponse) XXX_Unmarshal Uses

func (m *SetResponse) XXX_Unmarshal(b []byte) error

type Summary Uses

type Summary struct {
    Count                int32    `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Summary) Descriptor Uses

func (*Summary) Descriptor() ([]byte, []int)

func (*Summary) GetCount Uses

func (m *Summary) GetCount() int32

func (*Summary) ProtoMessage Uses

func (*Summary) ProtoMessage()

func (*Summary) Reset Uses

func (m *Summary) Reset()

func (*Summary) String Uses

func (m *Summary) String() string

func (*Summary) XXX_DiscardUnknown Uses

func (m *Summary) XXX_DiscardUnknown()

func (*Summary) XXX_Marshal Uses

func (m *Summary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Summary) XXX_Merge Uses

func (dst *Summary) XXX_Merge(src proto.Message)

func (*Summary) XXX_Size Uses

func (m *Summary) XXX_Size() int

func (*Summary) XXX_Unmarshal Uses

func (m *Summary) XXX_Unmarshal(b []byte) error

Package intstore imports 5 packages (graph). Updated 2019-11-12. Refresh now. Tools for package owners.