| // Code generated by protoc-gen-gogo. |
| // source: android.googlesource.com/platform/tools/gpu/gapid/service/service.proto |
| // DO NOT EDIT! |
| |
| /* |
| Package service is a generated protocol buffer package. |
| |
| It is generated from these files: |
| android.googlesource.com/platform/tools/gpu/gapid/service/service.proto |
| |
| It has these top-level messages: |
| Request |
| Response |
| */ |
| package service |
| |
| import proto "github.com/gogo/protobuf/proto" |
| import fmt "fmt" |
| import math "math" |
| |
| import ( |
| context "golang.org/x/net/context" |
| grpc "google.golang.org/grpc" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
| |
| // WireframeMode is an enumerator of wireframe modes that can be used by |
| // RenderSettings. |
| type WireframeMode int32 |
| |
| const ( |
| // None indicates that nothing should be drawn in wireframe. |
| WireframeMode_None WireframeMode = 0 |
| // Overlay indicates that the single draw call should be overlayed |
| // with the wireframe of the mesh. |
| WireframeMode_Overlay WireframeMode = 1 |
| // All indicates that all draw calls should be displayed in wireframe. |
| WireframeMode_All WireframeMode = 2 |
| ) |
| |
| var WireframeMode_name = map[int32]string{ |
| 0: "None", |
| 1: "Overlay", |
| 2: "All", |
| } |
| var WireframeMode_value = map[string]int32{ |
| "None": 0, |
| "Overlay": 1, |
| "All": 2, |
| } |
| |
| func (x WireframeMode) String() string { |
| return proto.EnumName(WireframeMode_name, int32(x)) |
| } |
| func (WireframeMode) EnumDescriptor() ([]byte, []int) { return fileDescriptorService, []int{0} } |
| |
| type Request struct { |
| Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` |
| Request []byte `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` |
| } |
| |
| func (m *Request) Reset() { *m = Request{} } |
| func (m *Request) String() string { return proto.CompactTextString(m) } |
| func (*Request) ProtoMessage() {} |
| func (*Request) Descriptor() ([]byte, []int) { return fileDescriptorService, []int{0} } |
| |
| type Response struct { |
| Response []byte `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` |
| } |
| |
| func (m *Response) Reset() { *m = Response{} } |
| func (m *Response) String() string { return proto.CompactTextString(m) } |
| func (*Response) ProtoMessage() {} |
| func (*Response) Descriptor() ([]byte, []int) { return fileDescriptorService, []int{1} } |
| |
| func init() { |
| proto.RegisterType((*Request)(nil), "service.Request") |
| proto.RegisterType((*Response)(nil), "service.Response") |
| proto.RegisterEnum("service.WireframeMode", WireframeMode_name, WireframeMode_value) |
| } |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ context.Context |
| var _ grpc.ClientConn |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the grpc package it is being compiled against. |
| const _ = grpc.SupportPackageIsVersion3 |
| |
| // Client API for Gapid service |
| |
| type GapidClient interface { |
| Get(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| Set(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| Follow(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| GetSchema(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| GetAvailableStringTables(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| GetStringTable(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| GetFeatures(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| ImportCapture(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| LoadCapture(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| GetCaptures(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| GetDevices(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| GetFramebufferColor(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| GetFramebufferDepth(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| GetFramebufferAttachment(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| GetTimingInfo(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| RegisterAndroidDevice(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) |
| } |
| |
| type gapidClient struct { |
| cc *grpc.ClientConn |
| } |
| |
| func NewGapidClient(cc *grpc.ClientConn) GapidClient { |
| return &gapidClient{cc} |
| } |
| |
| func (c *gapidClient) Get(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/Get", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *gapidClient) Set(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/Set", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *gapidClient) Follow(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/Follow", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *gapidClient) GetSchema(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/GetSchema", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *gapidClient) GetAvailableStringTables(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/GetAvailableStringTables", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *gapidClient) GetStringTable(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/GetStringTable", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *gapidClient) GetFeatures(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/GetFeatures", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *gapidClient) ImportCapture(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/ImportCapture", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *gapidClient) LoadCapture(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/LoadCapture", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *gapidClient) GetCaptures(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/GetCaptures", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *gapidClient) GetDevices(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/GetDevices", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *gapidClient) GetFramebufferColor(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/GetFramebufferColor", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *gapidClient) GetFramebufferDepth(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/GetFramebufferDepth", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *gapidClient) GetFramebufferAttachment(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/GetFramebufferAttachment", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *gapidClient) GetTimingInfo(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/GetTimingInfo", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *gapidClient) RegisterAndroidDevice(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { |
| out := new(Response) |
| err := grpc.Invoke(ctx, "/service.Gapid/RegisterAndroidDevice", in, out, c.cc, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // Server API for Gapid service |
| |
| type GapidServer interface { |
| Get(context.Context, *Request) (*Response, error) |
| Set(context.Context, *Request) (*Response, error) |
| Follow(context.Context, *Request) (*Response, error) |
| GetSchema(context.Context, *Request) (*Response, error) |
| GetAvailableStringTables(context.Context, *Request) (*Response, error) |
| GetStringTable(context.Context, *Request) (*Response, error) |
| GetFeatures(context.Context, *Request) (*Response, error) |
| ImportCapture(context.Context, *Request) (*Response, error) |
| LoadCapture(context.Context, *Request) (*Response, error) |
| GetCaptures(context.Context, *Request) (*Response, error) |
| GetDevices(context.Context, *Request) (*Response, error) |
| GetFramebufferColor(context.Context, *Request) (*Response, error) |
| GetFramebufferDepth(context.Context, *Request) (*Response, error) |
| GetFramebufferAttachment(context.Context, *Request) (*Response, error) |
| GetTimingInfo(context.Context, *Request) (*Response, error) |
| RegisterAndroidDevice(context.Context, *Request) (*Response, error) |
| } |
| |
| func RegisterGapidServer(s *grpc.Server, srv GapidServer) { |
| s.RegisterService(&_Gapid_serviceDesc, srv) |
| } |
| |
| func _Gapid_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).Get(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/Get", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).Get(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Gapid_Set_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).Set(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/Set", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).Set(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Gapid_Follow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).Follow(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/Follow", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).Follow(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Gapid_GetSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).GetSchema(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/GetSchema", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).GetSchema(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Gapid_GetAvailableStringTables_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).GetAvailableStringTables(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/GetAvailableStringTables", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).GetAvailableStringTables(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Gapid_GetStringTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).GetStringTable(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/GetStringTable", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).GetStringTable(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Gapid_GetFeatures_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).GetFeatures(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/GetFeatures", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).GetFeatures(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Gapid_ImportCapture_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).ImportCapture(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/ImportCapture", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).ImportCapture(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Gapid_LoadCapture_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).LoadCapture(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/LoadCapture", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).LoadCapture(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Gapid_GetCaptures_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).GetCaptures(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/GetCaptures", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).GetCaptures(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Gapid_GetDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).GetDevices(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/GetDevices", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).GetDevices(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Gapid_GetFramebufferColor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).GetFramebufferColor(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/GetFramebufferColor", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).GetFramebufferColor(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Gapid_GetFramebufferDepth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).GetFramebufferDepth(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/GetFramebufferDepth", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).GetFramebufferDepth(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Gapid_GetFramebufferAttachment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).GetFramebufferAttachment(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/GetFramebufferAttachment", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).GetFramebufferAttachment(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Gapid_GetTimingInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).GetTimingInfo(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/GetTimingInfo", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).GetTimingInfo(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Gapid_RegisterAndroidDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(Request) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(GapidServer).RegisterAndroidDevice(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/service.Gapid/RegisterAndroidDevice", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(GapidServer).RegisterAndroidDevice(ctx, req.(*Request)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _Gapid_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "service.Gapid", |
| HandlerType: (*GapidServer)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "Get", |
| Handler: _Gapid_Get_Handler, |
| }, |
| { |
| MethodName: "Set", |
| Handler: _Gapid_Set_Handler, |
| }, |
| { |
| MethodName: "Follow", |
| Handler: _Gapid_Follow_Handler, |
| }, |
| { |
| MethodName: "GetSchema", |
| Handler: _Gapid_GetSchema_Handler, |
| }, |
| { |
| MethodName: "GetAvailableStringTables", |
| Handler: _Gapid_GetAvailableStringTables_Handler, |
| }, |
| { |
| MethodName: "GetStringTable", |
| Handler: _Gapid_GetStringTable_Handler, |
| }, |
| { |
| MethodName: "GetFeatures", |
| Handler: _Gapid_GetFeatures_Handler, |
| }, |
| { |
| MethodName: "ImportCapture", |
| Handler: _Gapid_ImportCapture_Handler, |
| }, |
| { |
| MethodName: "LoadCapture", |
| Handler: _Gapid_LoadCapture_Handler, |
| }, |
| { |
| MethodName: "GetCaptures", |
| Handler: _Gapid_GetCaptures_Handler, |
| }, |
| { |
| MethodName: "GetDevices", |
| Handler: _Gapid_GetDevices_Handler, |
| }, |
| { |
| MethodName: "GetFramebufferColor", |
| Handler: _Gapid_GetFramebufferColor_Handler, |
| }, |
| { |
| MethodName: "GetFramebufferDepth", |
| Handler: _Gapid_GetFramebufferDepth_Handler, |
| }, |
| { |
| MethodName: "GetFramebufferAttachment", |
| Handler: _Gapid_GetFramebufferAttachment_Handler, |
| }, |
| { |
| MethodName: "GetTimingInfo", |
| Handler: _Gapid_GetTimingInfo_Handler, |
| }, |
| { |
| MethodName: "RegisterAndroidDevice", |
| Handler: _Gapid_RegisterAndroidDevice_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{}, |
| Metadata: fileDescriptorService, |
| } |
| |
| func init() { |
| proto.RegisterFile("android.googlesource.com/platform/tools/gpu/gapid/service/service.proto", fileDescriptorService) |
| } |
| |
| var fileDescriptorService = []byte{ |
| // 446 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x94, 0xdf, 0x6b, 0xd4, 0x40, |
| 0x10, 0xc7, 0x7b, 0xad, 0x6d, 0xae, 0xd3, 0x9e, 0x9c, 0x51, 0xe1, 0xe8, 0x53, 0xb9, 0x07, 0x29, |
| 0x22, 0x09, 0xb4, 0xa2, 0x08, 0x22, 0x5e, 0x5b, 0x1a, 0x0a, 0xfe, 0x22, 0x57, 0xf0, 0x79, 0x2f, |
| 0x99, 0xe4, 0x16, 0x37, 0x99, 0x38, 0x3b, 0x39, 0xf5, 0x5f, 0xf0, 0xaf, 0x96, 0xbd, 0x5c, 0xb4, |
| 0x8f, 0x7b, 0x3e, 0x65, 0x66, 0x99, 0x4f, 0xbe, 0x5f, 0x76, 0x87, 0x2f, 0x24, 0xaa, 0xce, 0x99, |
| 0x74, 0x1e, 0x95, 0x44, 0xa5, 0x41, 0x4b, 0x2d, 0x67, 0x18, 0x65, 0x54, 0xc5, 0x8d, 0x51, 0x52, |
| 0x10, 0x57, 0xb1, 0x10, 0x19, 0x1b, 0x97, 0x4d, 0x1b, 0x97, 0xaa, 0xd1, 0x79, 0x6c, 0x91, 0x57, |
| 0x3a, 0xc3, 0xfe, 0x1b, 0x35, 0x4c, 0x42, 0x61, 0xb0, 0x69, 0xa7, 0x6f, 0x20, 0x48, 0xf1, 0x7b, |
| 0x8b, 0x56, 0xc2, 0x27, 0xb0, 0x2f, 0xf4, 0x0d, 0xeb, 0xc9, 0xe0, 0x74, 0x70, 0x76, 0x98, 0x76, |
| 0x4d, 0x38, 0x81, 0x80, 0xbb, 0x81, 0xc9, 0xee, 0xe9, 0xe0, 0xec, 0x38, 0xed, 0xdb, 0xe9, 0x33, |
| 0x18, 0xa6, 0x68, 0x1b, 0xaa, 0x2d, 0x86, 0x27, 0x30, 0xe4, 0x4d, 0xbd, 0xc6, 0x8f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