blob: 8de02165b97cbf60a5c2ca4e2b2e00ed910fe422 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: kythe/proto/status_service.proto
package status_service_go_proto
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// 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.ProtoPackageIsVersion3 // please upgrade the proto package
type StatusReply_Language_Support int32
const (
StatusReply_Language_UNSUPPORTED StatusReply_Language_Support = 0
StatusReply_Language_EXPERIMENTAL StatusReply_Language_Support = 1
StatusReply_Language_SUPPORTED StatusReply_Language_Support = 2
)
var StatusReply_Language_Support_name = map[int32]string{
0: "UNSUPPORTED",
1: "EXPERIMENTAL",
2: "SUPPORTED",
}
var StatusReply_Language_Support_value = map[string]int32{
"UNSUPPORTED": 0,
"EXPERIMENTAL": 1,
"SUPPORTED": 2,
}
func (x StatusReply_Language_Support) String() string {
return proto.EnumName(StatusReply_Language_Support_name, int32(x))
}
func (StatusReply_Language_Support) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_a6ff3b5f197dffee, []int{1, 1, 0}
}
type StatusRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StatusRequest) Reset() { *m = StatusRequest{} }
func (m *StatusRequest) String() string { return proto.CompactTextString(m) }
func (*StatusRequest) ProtoMessage() {}
func (*StatusRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_a6ff3b5f197dffee, []int{0}
}
func (m *StatusRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StatusRequest.Unmarshal(m, b)
}
func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StatusRequest.Marshal(b, m, deterministic)
}
func (m *StatusRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_StatusRequest.Merge(m, src)
}
func (m *StatusRequest) XXX_Size() int {
return xxx_messageInfo_StatusRequest.Size(m)
}
func (m *StatusRequest) XXX_DiscardUnknown() {
xxx_messageInfo_StatusRequest.DiscardUnknown(m)
}
var xxx_messageInfo_StatusRequest proto.InternalMessageInfo
type StatusReply struct {
Origins []*StatusReply_Origin `protobuf:"bytes,1,rep,name=origins,proto3" json:"origins,omitempty"`
Languages []*StatusReply_Language `protobuf:"bytes,2,rep,name=languages,proto3" json:"languages,omitempty"`
IndexVersion string `protobuf:"bytes,3,opt,name=index_version,json=indexVersion,proto3" json:"index_version,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StatusReply) Reset() { *m = StatusReply{} }
func (m *StatusReply) String() string { return proto.CompactTextString(m) }
func (*StatusReply) ProtoMessage() {}
func (*StatusReply) Descriptor() ([]byte, []int) {
return fileDescriptor_a6ff3b5f197dffee, []int{1}
}
func (m *StatusReply) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StatusReply.Unmarshal(m, b)
}
func (m *StatusReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StatusReply.Marshal(b, m, deterministic)
}
func (m *StatusReply) XXX_Merge(src proto.Message) {
xxx_messageInfo_StatusReply.Merge(m, src)
}
func (m *StatusReply) XXX_Size() int {
return xxx_messageInfo_StatusReply.Size(m)
}
func (m *StatusReply) XXX_DiscardUnknown() {
xxx_messageInfo_StatusReply.DiscardUnknown(m)
}
var xxx_messageInfo_StatusReply proto.InternalMessageInfo
func (m *StatusReply) GetOrigins() []*StatusReply_Origin {
if m != nil {
return m.Origins
}
return nil
}
func (m *StatusReply) GetLanguages() []*StatusReply_Language {
if m != nil {
return m.Languages
}
return nil
}
func (m *StatusReply) GetIndexVersion() string {
if m != nil {
return m.IndexVersion
}
return ""
}
type StatusReply_Origin struct {
Corpus string `protobuf:"bytes,1,opt,name=corpus,proto3" json:"corpus,omitempty"`
Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StatusReply_Origin) Reset() { *m = StatusReply_Origin{} }
func (m *StatusReply_Origin) String() string { return proto.CompactTextString(m) }
func (*StatusReply_Origin) ProtoMessage() {}
func (*StatusReply_Origin) Descriptor() ([]byte, []int) {
return fileDescriptor_a6ff3b5f197dffee, []int{1, 0}
}
func (m *StatusReply_Origin) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StatusReply_Origin.Unmarshal(m, b)
}
func (m *StatusReply_Origin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StatusReply_Origin.Marshal(b, m, deterministic)
}
func (m *StatusReply_Origin) XXX_Merge(src proto.Message) {
xxx_messageInfo_StatusReply_Origin.Merge(m, src)
}
func (m *StatusReply_Origin) XXX_Size() int {
return xxx_messageInfo_StatusReply_Origin.Size(m)
}
func (m *StatusReply_Origin) XXX_DiscardUnknown() {
xxx_messageInfo_StatusReply_Origin.DiscardUnknown(m)
}
var xxx_messageInfo_StatusReply_Origin proto.InternalMessageInfo
func (m *StatusReply_Origin) GetCorpus() string {
if m != nil {
return m.Corpus
}
return ""
}
func (m *StatusReply_Origin) GetRevision() string {
if m != nil {
return m.Revision
}
return ""
}
type StatusReply_Language struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Support StatusReply_Language_Support `protobuf:"varint,2,opt,name=support,proto3,enum=kythe.proto.StatusReply_Language_Support" json:"support,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StatusReply_Language) Reset() { *m = StatusReply_Language{} }
func (m *StatusReply_Language) String() string { return proto.CompactTextString(m) }
func (*StatusReply_Language) ProtoMessage() {}
func (*StatusReply_Language) Descriptor() ([]byte, []int) {
return fileDescriptor_a6ff3b5f197dffee, []int{1, 1}
}
func (m *StatusReply_Language) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StatusReply_Language.Unmarshal(m, b)
}
func (m *StatusReply_Language) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StatusReply_Language.Marshal(b, m, deterministic)
}
func (m *StatusReply_Language) XXX_Merge(src proto.Message) {
xxx_messageInfo_StatusReply_Language.Merge(m, src)
}
func (m *StatusReply_Language) XXX_Size() int {
return xxx_messageInfo_StatusReply_Language.Size(m)
}
func (m *StatusReply_Language) XXX_DiscardUnknown() {
xxx_messageInfo_StatusReply_Language.DiscardUnknown(m)
}
var xxx_messageInfo_StatusReply_Language proto.InternalMessageInfo
func (m *StatusReply_Language) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *StatusReply_Language) GetSupport() StatusReply_Language_Support {
if m != nil {
return m.Support
}
return StatusReply_Language_UNSUPPORTED
}
func init() {
proto.RegisterEnum("kythe.proto.StatusReply_Language_Support", StatusReply_Language_Support_name, StatusReply_Language_Support_value)
proto.RegisterType((*StatusRequest)(nil), "kythe.proto.StatusRequest")
proto.RegisterType((*StatusReply)(nil), "kythe.proto.StatusReply")
proto.RegisterType((*StatusReply_Origin)(nil), "kythe.proto.StatusReply.Origin")
proto.RegisterType((*StatusReply_Language)(nil), "kythe.proto.StatusReply.Language")
}
func init() { proto.RegisterFile("kythe/proto/status_service.proto", fileDescriptor_a6ff3b5f197dffee) }
var fileDescriptor_a6ff3b5f197dffee = []byte{
// 357 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcd, 0x6e, 0xaa, 0x40,
0x14, 0xc7, 0x45, 0x6f, 0x50, 0x0f, 0x7a, 0x35, 0x67, 0x71, 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