grpc: google.golang.org/grpc/reflection/grpc_testingv3 Index | Files

package grpc_testingv3

import "google.golang.org/grpc/reflection/grpc_testingv3"

Package grpc_testingv3 is a generated protocol buffer package.

It is generated from these files:

testv3.proto

It has these top-level messages:

SearchResponseV3
SearchRequestV3

Index

Package Files

testv3.pb.go

Variables

var SearchResponseV3_State_name = map[int32]string{
    0:  "UNKNOWN",
    1:  "FRESH",
    2:  "STALE",
}
var SearchResponseV3_State_value = map[string]int32{
    "UNKNOWN": 0,
    "FRESH":   1,
    "STALE":   2,
}

func RegisterSearchServiceV3Server Uses

func RegisterSearchServiceV3Server(s *grpc.Server, srv SearchServiceV3Server)

type SearchRequestV3 Uses

type SearchRequestV3 struct {
    Query string `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"`
}

func (*SearchRequestV3) Descriptor Uses

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

func (*SearchRequestV3) GetQuery Uses

func (m *SearchRequestV3) GetQuery() string

func (*SearchRequestV3) ProtoMessage Uses

func (*SearchRequestV3) ProtoMessage()

func (*SearchRequestV3) Reset Uses

func (m *SearchRequestV3) Reset()

func (*SearchRequestV3) String Uses

func (m *SearchRequestV3) String() string

type SearchResponseV3 Uses

type SearchResponseV3 struct {
    Results []*SearchResponseV3_Result `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
    State   SearchResponseV3_State     `protobuf:"varint,2,opt,name=state,enum=grpc.testingv3.SearchResponseV3_State" json:"state,omitempty"`
}

func (*SearchResponseV3) Descriptor Uses

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

func (*SearchResponseV3) GetResults Uses

func (m *SearchResponseV3) GetResults() []*SearchResponseV3_Result

func (*SearchResponseV3) GetState Uses

func (m *SearchResponseV3) GetState() SearchResponseV3_State

func (*SearchResponseV3) ProtoMessage Uses

func (*SearchResponseV3) ProtoMessage()

func (*SearchResponseV3) Reset Uses

func (m *SearchResponseV3) Reset()

func (*SearchResponseV3) String Uses

func (m *SearchResponseV3) String() string

type SearchResponseV3_Result Uses

type SearchResponseV3_Result struct {
    Url      string                                    `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
    Title    string                                    `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
    Snippets []string                                  `protobuf:"bytes,3,rep,name=snippets" json:"snippets,omitempty"`
    Metadata map[string]*SearchResponseV3_Result_Value `protobuf:"bytes,4,rep,name=metadata" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}

func (*SearchResponseV3_Result) Descriptor Uses

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

func (*SearchResponseV3_Result) GetMetadata Uses

func (m *SearchResponseV3_Result) GetMetadata() map[string]*SearchResponseV3_Result_Value

func (*SearchResponseV3_Result) GetSnippets Uses

func (m *SearchResponseV3_Result) GetSnippets() []string

func (*SearchResponseV3_Result) GetTitle Uses

func (m *SearchResponseV3_Result) GetTitle() string

func (*SearchResponseV3_Result) GetUrl Uses

func (m *SearchResponseV3_Result) GetUrl() string

func (*SearchResponseV3_Result) ProtoMessage Uses

func (*SearchResponseV3_Result) ProtoMessage()

func (*SearchResponseV3_Result) Reset Uses

func (m *SearchResponseV3_Result) Reset()

func (*SearchResponseV3_Result) String Uses

func (m *SearchResponseV3_Result) String() string

type SearchResponseV3_Result_Value Uses

type SearchResponseV3_Result_Value struct {
    // Types that are valid to be assigned to Val:
    //	*SearchResponseV3_Result_Value_Str
    //	*SearchResponseV3_Result_Value_Int
    //	*SearchResponseV3_Result_Value_Real
    Val isSearchResponseV3_Result_Value_Val `protobuf_oneof:"val"`
}

func (*SearchResponseV3_Result_Value) Descriptor Uses

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

func (*SearchResponseV3_Result_Value) GetInt Uses

func (m *SearchResponseV3_Result_Value) GetInt() int64

func (*SearchResponseV3_Result_Value) GetReal Uses

func (m *SearchResponseV3_Result_Value) GetReal() float64

func (*SearchResponseV3_Result_Value) GetStr Uses

func (m *SearchResponseV3_Result_Value) GetStr() string

func (*SearchResponseV3_Result_Value) GetVal Uses

func (m *SearchResponseV3_Result_Value) GetVal() isSearchResponseV3_Result_Value_Val

func (*SearchResponseV3_Result_Value) ProtoMessage Uses

func (*SearchResponseV3_Result_Value) ProtoMessage()

func (*SearchResponseV3_Result_Value) Reset Uses

func (m *SearchResponseV3_Result_Value) Reset()

func (*SearchResponseV3_Result_Value) String Uses

func (m *SearchResponseV3_Result_Value) String() string

func (*SearchResponseV3_Result_Value) XXX_OneofFuncs Uses

func (*SearchResponseV3_Result_Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type SearchResponseV3_Result_Value_Int Uses

type SearchResponseV3_Result_Value_Int struct {
    Int int64 `protobuf:"varint,2,opt,name=int,oneof"`
}

type SearchResponseV3_Result_Value_Real Uses

type SearchResponseV3_Result_Value_Real struct {
    Real float64 `protobuf:"fixed64,3,opt,name=real,oneof"`
}

type SearchResponseV3_Result_Value_Str Uses

type SearchResponseV3_Result_Value_Str struct {
    Str string `protobuf:"bytes,1,opt,name=str,oneof"`
}

type SearchResponseV3_State Uses

type SearchResponseV3_State int32
const (
    SearchResponseV3_UNKNOWN SearchResponseV3_State = 0
    SearchResponseV3_FRESH   SearchResponseV3_State = 1
    SearchResponseV3_STALE   SearchResponseV3_State = 2
)

func (SearchResponseV3_State) EnumDescriptor Uses

func (SearchResponseV3_State) EnumDescriptor() ([]byte, []int)

func (SearchResponseV3_State) String Uses

func (x SearchResponseV3_State) String() string

type SearchServiceV3Client Uses

type SearchServiceV3Client interface {
    Search(ctx context.Context, in *SearchRequestV3, opts ...grpc.CallOption) (*SearchResponseV3, error)
    StreamingSearch(ctx context.Context, opts ...grpc.CallOption) (SearchServiceV3_StreamingSearchClient, error)
}

func NewSearchServiceV3Client Uses

func NewSearchServiceV3Client(cc *grpc.ClientConn) SearchServiceV3Client

type SearchServiceV3Server Uses

type SearchServiceV3Server interface {
    Search(context.Context, *SearchRequestV3) (*SearchResponseV3, error)
    StreamingSearch(SearchServiceV3_StreamingSearchServer) error
}

type SearchServiceV3_StreamingSearchClient Uses

type SearchServiceV3_StreamingSearchClient interface {
    Send(*SearchRequestV3) error
    Recv() (*SearchResponseV3, error)
    grpc.ClientStream
}

type SearchServiceV3_StreamingSearchServer Uses

type SearchServiceV3_StreamingSearchServer interface {
    Send(*SearchResponseV3) error
    Recv() (*SearchRequestV3, error)
    grpc.ServerStream
}

Package grpc_testingv3 imports 5 packages (graph). Updated 2018-03-22. Refresh now. Tools for package owners.