Documentation ¶
Index ¶
- Variables
- func RegisterGradleParseServiceServer(s *grpc.Server, srv GradleParseServiceServer)
- type GradleParseServiceClient
- type GradleParseServiceServer
- type Library
- func (*Library) Descriptor() ([]byte, []int)deprecated
- func (x *Library) GetName() string
- func (x *Library) GetScope() string
- func (x *Library) GetType() string
- func (*Library) ProtoMessage()
- func (x *Library) ProtoReflect() protoreflect.Message
- func (x *Library) Reset()
- func (x *Library) String() string
- type ParseRequest
- type ParseResponse
- type Project
- type UnimplementedGradleParseServiceServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_gradle_proto protoreflect.FileDescriptor
Functions ¶
func RegisterGradleParseServiceServer ¶
func RegisterGradleParseServiceServer(s *grpc.Server, srv GradleParseServiceServer)
Types ¶
type GradleParseServiceClient ¶
type GradleParseServiceClient interface {
Parse(ctx context.Context, in *ParseRequest, opts ...grpc.CallOption) (*ParseResponse, error)
}
GradleParseServiceClient is the client API for GradleParseService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGradleParseServiceClient ¶
func NewGradleParseServiceClient(cc grpc.ClientConnInterface) GradleParseServiceClient
type GradleParseServiceServer ¶
type GradleParseServiceServer interface {
Parse(context.Context, *ParseRequest) (*ParseResponse, error)
}
GradleParseServiceServer is the server API for GradleParseService service.
type Library ¶
type Library struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"` // contains filtered or unexported fields }
func (*Library) Descriptor
deprecated
func (*Library) ProtoMessage ¶
func (*Library) ProtoMessage()
func (*Library) ProtoReflect ¶
func (x *Library) ProtoReflect() protoreflect.Message
type ParseRequest ¶
type ParseRequest struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ParseRequest) Descriptor
deprecated
func (*ParseRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParseRequest.ProtoReflect.Descriptor instead.
func (*ParseRequest) GetData ¶
func (x *ParseRequest) GetData() string
func (*ParseRequest) ProtoMessage ¶
func (*ParseRequest) ProtoMessage()
func (*ParseRequest) ProtoReflect ¶
func (x *ParseRequest) ProtoReflect() protoreflect.Message
func (*ParseRequest) Reset ¶
func (x *ParseRequest) Reset()
func (*ParseRequest) String ¶
func (x *ParseRequest) String() string
type ParseResponse ¶
type ParseResponse struct { Projects []*Project `protobuf:"bytes,2,rep,name=projects,proto3" json:"projects,omitempty"` // contains filtered or unexported fields }
func (*ParseResponse) Descriptor
deprecated
func (*ParseResponse) Descriptor() ([]byte, []int)
Deprecated: Use ParseResponse.ProtoReflect.Descriptor instead.
func (*ParseResponse) GetProjects ¶
func (x *ParseResponse) GetProjects() []*Project
func (*ParseResponse) ProtoMessage ¶
func (*ParseResponse) ProtoMessage()
func (*ParseResponse) ProtoReflect ¶
func (x *ParseResponse) ProtoReflect() protoreflect.Message
func (*ParseResponse) Reset ¶
func (x *ParseResponse) Reset()
func (*ParseResponse) String ¶
func (x *ParseResponse) String() string
type Project ¶
type Project struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Libraries []*Library `protobuf:"bytes,2,rep,name=libraries,proto3" json:"libraries,omitempty"` // contains filtered or unexported fields }
func (*Project) Descriptor
deprecated
func (*Project) GetLibraries ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type UnimplementedGradleParseServiceServer ¶
type UnimplementedGradleParseServiceServer struct { }
UnimplementedGradleParseServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedGradleParseServiceServer) Parse ¶
func (*UnimplementedGradleParseServiceServer) Parse(context.Context, *ParseRequest) (*ParseResponse, error)
Click to show internal directories.
Click to hide internal directories.