-
Notifications
You must be signed in to change notification settings - Fork 2
/
serviceup.pb.go
107 lines (89 loc) · 2.85 KB
/
serviceup.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// Code generated by protoc-gen-go.
// source: github.com/hailocab/h2/proto/discovery/proto/serviceup/serviceup.proto
// DO NOT EDIT!
/*
Package com_hailocab_kernel_discovery_serviceup is a generated protocol buffer package.
It is generated from these files:
github.com/hailocab/h2/proto/discovery/proto/serviceup/serviceup.proto
It has these top-level messages:
Request
Response
*/
package com_hailocab_kernel_discovery_serviceup
import proto "github.com/hailocab/protobuf/proto"
import json "encoding/json"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = &json.SyntaxError{}
var _ = math.Inf
type Request struct {
InstanceId *string `protobuf:"bytes,1,req,name=instanceId" json:"instanceId,omitempty"`
Hostname *string `protobuf:"bytes,2,req,name=hostname" json:"hostname,omitempty"`
ServiceName *string `protobuf:"bytes,3,req,name=serviceName" json:"serviceName,omitempty"`
ServiceDescription *string `protobuf:"bytes,4,opt,name=serviceDescription" json:"serviceDescription,omitempty"`
ServiceVersion *uint64 `protobuf:"varint,5,req,name=serviceVersion" json:"serviceVersion,omitempty"`
EndpointName *string `protobuf:"bytes,6,req,name=endpointName" json:"endpointName,omitempty"`
AzName *string `protobuf:"bytes,7,req,name=azName" json:"azName,omitempty"`
SubTopic []string `protobuf:"bytes,8,rep,name=subTopic" json:"subTopic,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Request) Reset() { *m = Request{} }
func (m *Request) String() string { return proto.CompactTextString(m) }
func (*Request) ProtoMessage() {}
func (m *Request) GetInstanceId() string {
if m != nil && m.InstanceId != nil {
return *m.InstanceId
}
return ""
}
func (m *Request) GetHostname() string {
if m != nil && m.Hostname != nil {
return *m.Hostname
}
return ""
}
func (m *Request) GetServiceName() string {
if m != nil && m.ServiceName != nil {
return *m.ServiceName
}
return ""
}
func (m *Request) GetServiceDescription() string {
if m != nil && m.ServiceDescription != nil {
return *m.ServiceDescription
}
return ""
}
func (m *Request) GetServiceVersion() uint64 {
if m != nil && m.ServiceVersion != nil {
return *m.ServiceVersion
}
return 0
}
func (m *Request) GetEndpointName() string {
if m != nil && m.EndpointName != nil {
return *m.EndpointName
}
return ""
}
func (m *Request) GetAzName() string {
if m != nil && m.AzName != nil {
return *m.AzName
}
return ""
}
func (m *Request) GetSubTopic() []string {
if m != nil {
return m.SubTopic
}
return nil
}
type Response struct {
XXX_unrecognized []byte `json:"-"`
}
func (m *Response) Reset() { *m = Response{} }
func (m *Response) String() string { return proto.CompactTextString(m) }
func (*Response) ProtoMessage() {}
func init() {
}