Skip to content
Snippets Groups Projects
Commit 4dabee5a authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

add Hello service

parent 8b298358
No related branches found
No related tags found
No related merge requests found
...@@ -119,7 +119,117 @@ func (x DeleteResponseStatus) Number() protoreflect.EnumNumber { ...@@ -119,7 +119,117 @@ func (x DeleteResponseStatus) Number() protoreflect.EnumNumber {
// Deprecated: Use DeleteResponseStatus.Descriptor instead. // Deprecated: Use DeleteResponseStatus.Descriptor instead.
func (DeleteResponseStatus) EnumDescriptor() ([]byte, []int) { func (DeleteResponseStatus) EnumDescriptor() ([]byte, []int) {
return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{6, 0} return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{8, 0}
}
type Syn struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in nanoseconds since Epoch.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
}
func (x *Syn) Reset() {
*x = Syn{}
if protoimpl.UnsafeEnabled {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Syn) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Syn) ProtoMessage() {}
func (x *Syn) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Syn.ProtoReflect.Descriptor instead.
func (*Syn) Descriptor() ([]byte, []int) {
return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{0}
}
func (x *Syn) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *Syn) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Syn) GetAddress() string {
if x != nil {
return x.Address
}
return ""
}
type Ack struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in nanoseconds since Epoch.
}
func (x *Ack) Reset() {
*x = Ack{}
if protoimpl.UnsafeEnabled {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Ack) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Ack) ProtoMessage() {}
func (x *Ack) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Ack.ProtoReflect.Descriptor instead.
func (*Ack) Descriptor() ([]byte, []int) {
return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{1}
}
func (x *Ack) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
} }
type GetRequest struct { type GetRequest struct {
...@@ -135,7 +245,7 @@ type GetRequest struct { ...@@ -135,7 +245,7 @@ type GetRequest struct {
func (x *GetRequest) Reset() { func (x *GetRequest) Reset() {
*x = GetRequest{} *x = GetRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[0] mi := &file_gosdn_csbi_csbi_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
...@@ -148,7 +258,7 @@ func (x *GetRequest) String() string { ...@@ -148,7 +258,7 @@ func (x *GetRequest) String() string {
func (*GetRequest) ProtoMessage() {} func (*GetRequest) ProtoMessage() {}
func (x *GetRequest) ProtoReflect() protoreflect.Message { func (x *GetRequest) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[0] mi := &file_gosdn_csbi_csbi_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
...@@ -161,7 +271,7 @@ func (x *GetRequest) ProtoReflect() protoreflect.Message { ...@@ -161,7 +271,7 @@ func (x *GetRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetRequest.ProtoReflect.Descriptor instead. // Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) Descriptor() ([]byte, []int) { func (*GetRequest) Descriptor() ([]byte, []int) {
return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{0} return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{2}
} }
func (x *GetRequest) GetTimestamp() int64 { func (x *GetRequest) GetTimestamp() int64 {
...@@ -197,7 +307,7 @@ type GetResponse struct { ...@@ -197,7 +307,7 @@ type GetResponse struct {
func (x *GetResponse) Reset() { func (x *GetResponse) Reset() {
*x = GetResponse{} *x = GetResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[1] mi := &file_gosdn_csbi_csbi_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
...@@ -210,7 +320,7 @@ func (x *GetResponse) String() string { ...@@ -210,7 +320,7 @@ func (x *GetResponse) String() string {
func (*GetResponse) ProtoMessage() {} func (*GetResponse) ProtoMessage() {}
func (x *GetResponse) ProtoReflect() protoreflect.Message { func (x *GetResponse) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[1] mi := &file_gosdn_csbi_csbi_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
...@@ -223,7 +333,7 @@ func (x *GetResponse) ProtoReflect() protoreflect.Message { ...@@ -223,7 +333,7 @@ func (x *GetResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetResponse.ProtoReflect.Descriptor instead. // Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) Descriptor() ([]byte, []int) { func (*GetResponse) Descriptor() ([]byte, []int) {
return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{1} return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{3}
} }
func (x *GetResponse) GetTimestamp() int64 { func (x *GetResponse) GetTimestamp() int64 {
...@@ -253,7 +363,7 @@ type Deployment struct { ...@@ -253,7 +363,7 @@ type Deployment struct {
func (x *Deployment) Reset() { func (x *Deployment) Reset() {
*x = Deployment{} *x = Deployment{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[2] mi := &file_gosdn_csbi_csbi_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
...@@ -266,7 +376,7 @@ func (x *Deployment) String() string { ...@@ -266,7 +376,7 @@ func (x *Deployment) String() string {
func (*Deployment) ProtoMessage() {} func (*Deployment) ProtoMessage() {}
func (x *Deployment) ProtoReflect() protoreflect.Message { func (x *Deployment) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[2] mi := &file_gosdn_csbi_csbi_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
...@@ -279,7 +389,7 @@ func (x *Deployment) ProtoReflect() protoreflect.Message { ...@@ -279,7 +389,7 @@ func (x *Deployment) ProtoReflect() protoreflect.Message {
// Deprecated: Use Deployment.ProtoReflect.Descriptor instead. // Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) Descriptor() ([]byte, []int) { func (*Deployment) Descriptor() ([]byte, []int) {
return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{2} return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{4}
} }
func (x *Deployment) GetId() string { func (x *Deployment) GetId() string {
...@@ -315,7 +425,7 @@ type CreateRequest struct { ...@@ -315,7 +425,7 @@ type CreateRequest struct {
func (x *CreateRequest) Reset() { func (x *CreateRequest) Reset() {
*x = CreateRequest{} *x = CreateRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[3] mi := &file_gosdn_csbi_csbi_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
...@@ -328,7 +438,7 @@ func (x *CreateRequest) String() string { ...@@ -328,7 +438,7 @@ func (x *CreateRequest) String() string {
func (*CreateRequest) ProtoMessage() {} func (*CreateRequest) ProtoMessage() {}
func (x *CreateRequest) ProtoReflect() protoreflect.Message { func (x *CreateRequest) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[3] mi := &file_gosdn_csbi_csbi_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
...@@ -341,7 +451,7 @@ func (x *CreateRequest) ProtoReflect() protoreflect.Message { ...@@ -341,7 +451,7 @@ func (x *CreateRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead. // Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) Descriptor() ([]byte, []int) { func (*CreateRequest) Descriptor() ([]byte, []int) {
return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{3} return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{5}
} }
func (x *CreateRequest) GetTimestamp() int64 { func (x *CreateRequest) GetTimestamp() int64 {
...@@ -370,7 +480,7 @@ type CreateResponse struct { ...@@ -370,7 +480,7 @@ type CreateResponse struct {
func (x *CreateResponse) Reset() { func (x *CreateResponse) Reset() {
*x = CreateResponse{} *x = CreateResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[4] mi := &file_gosdn_csbi_csbi_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
...@@ -383,7 +493,7 @@ func (x *CreateResponse) String() string { ...@@ -383,7 +493,7 @@ func (x *CreateResponse) String() string {
func (*CreateResponse) ProtoMessage() {} func (*CreateResponse) ProtoMessage() {}
func (x *CreateResponse) ProtoReflect() protoreflect.Message { func (x *CreateResponse) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[4] mi := &file_gosdn_csbi_csbi_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
...@@ -396,7 +506,7 @@ func (x *CreateResponse) ProtoReflect() protoreflect.Message { ...@@ -396,7 +506,7 @@ func (x *CreateResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead. // Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) Descriptor() ([]byte, []int) { func (*CreateResponse) Descriptor() ([]byte, []int) {
return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{4} return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{6}
} }
func (x *CreateResponse) GetTimestamp() int64 { func (x *CreateResponse) GetTimestamp() int64 {
...@@ -425,7 +535,7 @@ type DeleteRequest struct { ...@@ -425,7 +535,7 @@ type DeleteRequest struct {
func (x *DeleteRequest) Reset() { func (x *DeleteRequest) Reset() {
*x = DeleteRequest{} *x = DeleteRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[5] mi := &file_gosdn_csbi_csbi_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
...@@ -438,7 +548,7 @@ func (x *DeleteRequest) String() string { ...@@ -438,7 +548,7 @@ func (x *DeleteRequest) String() string {
func (*DeleteRequest) ProtoMessage() {} func (*DeleteRequest) ProtoMessage() {}
func (x *DeleteRequest) ProtoReflect() protoreflect.Message { func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[5] mi := &file_gosdn_csbi_csbi_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
...@@ -451,7 +561,7 @@ func (x *DeleteRequest) ProtoReflect() protoreflect.Message { ...@@ -451,7 +561,7 @@ func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead. // Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) Descriptor() ([]byte, []int) { func (*DeleteRequest) Descriptor() ([]byte, []int) {
return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{5} return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{7}
} }
func (x *DeleteRequest) GetTimestamp() int64 { func (x *DeleteRequest) GetTimestamp() int64 {
...@@ -480,7 +590,7 @@ type DeleteResponse struct { ...@@ -480,7 +590,7 @@ type DeleteResponse struct {
func (x *DeleteResponse) Reset() { func (x *DeleteResponse) Reset() {
*x = DeleteResponse{} *x = DeleteResponse{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[6] mi := &file_gosdn_csbi_csbi_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
...@@ -493,7 +603,7 @@ func (x *DeleteResponse) String() string { ...@@ -493,7 +603,7 @@ func (x *DeleteResponse) String() string {
func (*DeleteResponse) ProtoMessage() {} func (*DeleteResponse) ProtoMessage() {}
func (x *DeleteResponse) ProtoReflect() protoreflect.Message { func (x *DeleteResponse) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_csbi_csbi_proto_msgTypes[6] mi := &file_gosdn_csbi_csbi_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
...@@ -506,7 +616,7 @@ func (x *DeleteResponse) ProtoReflect() protoreflect.Message { ...@@ -506,7 +616,7 @@ func (x *DeleteResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead. // Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) Descriptor() ([]byte, []int) { func (*DeleteResponse) Descriptor() ([]byte, []int) {
return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{6} return file_gosdn_csbi_csbi_proto_rawDescGZIP(), []int{8}
} }
func (x *DeleteResponse) GetTimestamp() int64 { func (x *DeleteResponse) GetTimestamp() int64 {
...@@ -530,71 +640,81 @@ var file_gosdn_csbi_csbi_proto_rawDesc = []byte{ ...@@ -530,71 +640,81 @@ var file_gosdn_csbi_csbi_proto_rawDesc = []byte{
0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63,
0x73, 0x62, 0x69, 0x1a, 0x1f, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x73, 0x62, 0x69, 0x1a, 0x1f, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73,
0x70, 0x6f, 0x72, 0x74, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x03, 0x53, 0x79, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74,
0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64,
0x6c, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72,
0x03, 0x64, 0x69, 0x64, 0x22, 0x65, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x65, 0x73, 0x73, 0x22, 0x23, 0x0a, 0x03, 0x41, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69,
0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74,
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x4e, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52,
0x70, 0x12, 0x38, 0x0a, 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
0x73, 0x62, 0x69, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x59, 0x0a, 0x0a, 0x44, 0x08, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x03, 0x20,
0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x64, 0x22, 0x65, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x52,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65,
0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x67, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x38, 0x0a, 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,
0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x73, 0x62, 0x69, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x73,
0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x79, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x6e, 0x2e, 0x63, 0x73, 0x62, 0x69, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x6e, 0x74, 0x52, 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22,
0x59, 0x0a, 0x0a, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a,
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a,
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
0x65, 0x12, 0x27, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,
0x32, 0x11, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x73, 0x62, 0x69, 0x2e, 0x53, 0x74,
0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x79, 0x0a, 0x0d, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74,
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x4a, 0x0a, 0x0f, 0x54, 0x72, 0x61,
0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
0x70, 0x6f, 0x72, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4f, 0x70,
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4f,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x68, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65,
0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x4a, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x38, 0x0a, 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,
0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x73,
0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x64, 0x6e, 0x2e, 0x63, 0x73, 0x62, 0x69, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65,
0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x6e, 0x74, 0x52, 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22,
0x52, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x3f, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x6e, 0x22, 0x68, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20,
0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x10,
0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x64,
0x22, 0x86, 0x01, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
0x70, 0x12, 0x38, 0x0a, 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x70, 0x12, 0x39, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x0e, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x73, 0x62, 0x69, 0x2e, 0x44,
0x73, 0x62, 0x69, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x73, 0x74,
0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x3f, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x1b, 0x0a, 0x06,
0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x00, 0x12, 0x09,
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x2a, 0x50, 0x0a, 0x05, 0x53, 0x74, 0x61,
0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x74, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x4e, 0x4e, 0x4f, 0x55, 0x4e, 0x43, 0x45, 0x44, 0x10,
0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x64, 0x22, 0x86, 0x01, 0x0a, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x55, 0x49, 0x4c, 0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08,
0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x45, 0x50, 0x4c, 0x4f, 0x59, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55,
0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, 0x43, 0x4f, 0x4d,
0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x39, 0x0a, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x45, 0x44, 0x10, 0x04, 0x32, 0xeb, 0x01, 0x0a, 0x04,
0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x63, 0x73, 0x62, 0x69, 0x12, 0x36, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f,
0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x73, 0x62, 0x69, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x73, 0x62, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75,
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x73, 0x62, 0x69,
0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x1b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x06,
0x75, 0x73, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x19, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63,
0x52, 0x4f, 0x52, 0x10, 0x01, 0x2a, 0x50, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0d, 0x73, 0x62, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x0a, 0x09, 0x41, 0x4e, 0x4e, 0x4f, 0x55, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x73, 0x62, 0x69, 0x2e, 0x43,
0x05, 0x42, 0x55, 0x49, 0x4c, 0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x50, 0x4c, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a,
0x4f, 0x59, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x19, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e,
0x47, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x53, 0x53, 0x63, 0x73, 0x62, 0x69, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
0x49, 0x4f, 0x4e, 0x45, 0x44, 0x10, 0x04, 0x32, 0xc0, 0x01, 0x0a, 0x04, 0x63, 0x73, 0x62, 0x69, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x73, 0x62, 0x69, 0x2e,
0x12, 0x36, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29,
0x63, 0x73, 0x62, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0a, 0x05, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x0f, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e,
0x17, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x73, 0x62, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x63, 0x73, 0x62, 0x69, 0x2e, 0x53, 0x79, 0x6e, 0x1a, 0x0f, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x2e, 0x63, 0x73, 0x62, 0x69, 0x2e, 0x41, 0x63, 0x6b, 0x42, 0x2a, 0x5a, 0x28, 0x63, 0x6f, 0x64,
0x74, 0x65, 0x12, 0x19, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x73, 0x62, 0x69, 0x2e, 0x65, 0x2e, 0x66, 0x62, 0x69, 0x2e, 0x68, 0x2d, 0x64, 0x61, 0x2e, 0x64, 0x65, 0x2f, 0x63, 0x6f,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x63, 0x73, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x6f, 0x73, 0x64, 0x6e,
0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x73, 0x62, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x2f, 0x63, 0x73, 0x62, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x44, 0x65, 0x6c,
0x65, 0x74, 0x65, 0x12, 0x19, 0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x73, 0x62, 0x69,
0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a,
0x2e, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2e, 0x63, 0x73, 0x62, 0x69, 0x2e, 0x44, 0x65, 0x6c, 0x65,
0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x2a, 0x5a, 0x28, 0x63, 0x6f,
0x64, 0x65, 0x2e, 0x66, 0x62, 0x69, 0x2e, 0x68, 0x2d, 0x64, 0x61, 0x2e, 0x64, 0x65, 0x2f, 0x63,
0x6f, 0x63, 0x73, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x6f, 0x73, 0x64,
0x6e, 0x2f, 0x63, 0x73, 0x62, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
...@@ -610,36 +730,40 @@ func file_gosdn_csbi_csbi_proto_rawDescGZIP() []byte { ...@@ -610,36 +730,40 @@ func file_gosdn_csbi_csbi_proto_rawDescGZIP() []byte {
} }
var file_gosdn_csbi_csbi_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_gosdn_csbi_csbi_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_gosdn_csbi_csbi_proto_msgTypes = make([]protoimpl.MessageInfo, 7) var file_gosdn_csbi_csbi_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_gosdn_csbi_csbi_proto_goTypes = []interface{}{ var file_gosdn_csbi_csbi_proto_goTypes = []interface{}{
(State)(0), // 0: gosdn.csbi.State (State)(0), // 0: gosdn.csbi.State
(DeleteResponseStatus)(0), // 1: gosdn.csbi.DeleteResponse.status (DeleteResponseStatus)(0), // 1: gosdn.csbi.DeleteResponse.status
(*GetRequest)(nil), // 2: gosdn.csbi.GetRequest (*Syn)(nil), // 2: gosdn.csbi.Syn
(*GetResponse)(nil), // 3: gosdn.csbi.GetResponse (*Ack)(nil), // 3: gosdn.csbi.Ack
(*Deployment)(nil), // 4: gosdn.csbi.Deployment (*GetRequest)(nil), // 4: gosdn.csbi.GetRequest
(*CreateRequest)(nil), // 5: gosdn.csbi.CreateRequest (*GetResponse)(nil), // 5: gosdn.csbi.GetResponse
(*CreateResponse)(nil), // 6: gosdn.csbi.CreateResponse (*Deployment)(nil), // 6: gosdn.csbi.Deployment
(*DeleteRequest)(nil), // 7: gosdn.csbi.DeleteRequest (*CreateRequest)(nil), // 7: gosdn.csbi.CreateRequest
(*DeleteResponse)(nil), // 8: gosdn.csbi.DeleteResponse (*CreateResponse)(nil), // 8: gosdn.csbi.CreateResponse
(*transport.TransportOption)(nil), // 9: gosdn.transport.TransportOption (*DeleteRequest)(nil), // 9: gosdn.csbi.DeleteRequest
(*DeleteResponse)(nil), // 10: gosdn.csbi.DeleteResponse
(*transport.TransportOption)(nil), // 11: gosdn.transport.TransportOption
} }
var file_gosdn_csbi_csbi_proto_depIdxs = []int32{ var file_gosdn_csbi_csbi_proto_depIdxs = []int32{
4, // 0: gosdn.csbi.GetResponse.deployments:type_name -> gosdn.csbi.Deployment 6, // 0: gosdn.csbi.GetResponse.deployments:type_name -> gosdn.csbi.Deployment
0, // 1: gosdn.csbi.Deployment.state:type_name -> gosdn.csbi.State 0, // 1: gosdn.csbi.Deployment.state:type_name -> gosdn.csbi.State
9, // 2: gosdn.csbi.CreateRequest.TransportOption:type_name -> gosdn.transport.TransportOption 11, // 2: gosdn.csbi.CreateRequest.TransportOption:type_name -> gosdn.transport.TransportOption
4, // 3: gosdn.csbi.CreateResponse.deployments:type_name -> gosdn.csbi.Deployment 6, // 3: gosdn.csbi.CreateResponse.deployments:type_name -> gosdn.csbi.Deployment
1, // 4: gosdn.csbi.DeleteResponse.Status:type_name -> gosdn.csbi.DeleteResponse.status 1, // 4: gosdn.csbi.DeleteResponse.Status:type_name -> gosdn.csbi.DeleteResponse.status
2, // 5: gosdn.csbi.csbi.Get:input_type -> gosdn.csbi.GetRequest 4, // 5: gosdn.csbi.csbi.Get:input_type -> gosdn.csbi.GetRequest
5, // 6: gosdn.csbi.csbi.Create:input_type -> gosdn.csbi.CreateRequest 7, // 6: gosdn.csbi.csbi.Create:input_type -> gosdn.csbi.CreateRequest
7, // 7: gosdn.csbi.csbi.Delete:input_type -> gosdn.csbi.DeleteRequest 9, // 7: gosdn.csbi.csbi.Delete:input_type -> gosdn.csbi.DeleteRequest
3, // 8: gosdn.csbi.csbi.Get:output_type -> gosdn.csbi.GetResponse 2, // 8: gosdn.csbi.csbi.Hello:input_type -> gosdn.csbi.Syn
6, // 9: gosdn.csbi.csbi.Create:output_type -> gosdn.csbi.CreateResponse 5, // 9: gosdn.csbi.csbi.Get:output_type -> gosdn.csbi.GetResponse
8, // 10: gosdn.csbi.csbi.Delete:output_type -> gosdn.csbi.DeleteResponse 8, // 10: gosdn.csbi.csbi.Create:output_type -> gosdn.csbi.CreateResponse
8, // [8:11] is the sub-list for method output_type 10, // 11: gosdn.csbi.csbi.Delete:output_type -> gosdn.csbi.DeleteResponse
5, // [5:8] is the sub-list for method input_type 3, // 12: gosdn.csbi.csbi.Hello:output_type -> gosdn.csbi.Ack
5, // [5:5] is the sub-list for extension type_name 9, // [9:13] is the sub-list for method output_type
5, // [5:5] is the sub-list for extension extendee 5, // [5:9] is the sub-list for method input_type
0, // [0:5] is the sub-list for field type_name 5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
} }
func init() { file_gosdn_csbi_csbi_proto_init() } func init() { file_gosdn_csbi_csbi_proto_init() }
...@@ -649,7 +773,7 @@ func file_gosdn_csbi_csbi_proto_init() { ...@@ -649,7 +773,7 @@ func file_gosdn_csbi_csbi_proto_init() {
} }
if !protoimpl.UnsafeEnabled { if !protoimpl.UnsafeEnabled {
file_gosdn_csbi_csbi_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { file_gosdn_csbi_csbi_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetRequest); i { switch v := v.(*Syn); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
...@@ -661,7 +785,7 @@ func file_gosdn_csbi_csbi_proto_init() { ...@@ -661,7 +785,7 @@ func file_gosdn_csbi_csbi_proto_init() {
} }
} }
file_gosdn_csbi_csbi_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { file_gosdn_csbi_csbi_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetResponse); i { switch v := v.(*Ack); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
...@@ -673,7 +797,7 @@ func file_gosdn_csbi_csbi_proto_init() { ...@@ -673,7 +797,7 @@ func file_gosdn_csbi_csbi_proto_init() {
} }
} }
file_gosdn_csbi_csbi_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { file_gosdn_csbi_csbi_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Deployment); i { switch v := v.(*GetRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
...@@ -685,7 +809,7 @@ func file_gosdn_csbi_csbi_proto_init() { ...@@ -685,7 +809,7 @@ func file_gosdn_csbi_csbi_proto_init() {
} }
} }
file_gosdn_csbi_csbi_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { file_gosdn_csbi_csbi_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateRequest); i { switch v := v.(*GetResponse); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
...@@ -697,7 +821,7 @@ func file_gosdn_csbi_csbi_proto_init() { ...@@ -697,7 +821,7 @@ func file_gosdn_csbi_csbi_proto_init() {
} }
} }
file_gosdn_csbi_csbi_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { file_gosdn_csbi_csbi_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateResponse); i { switch v := v.(*Deployment); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
...@@ -709,7 +833,7 @@ func file_gosdn_csbi_csbi_proto_init() { ...@@ -709,7 +833,7 @@ func file_gosdn_csbi_csbi_proto_init() {
} }
} }
file_gosdn_csbi_csbi_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { file_gosdn_csbi_csbi_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteRequest); i { switch v := v.(*CreateRequest); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
...@@ -721,6 +845,30 @@ func file_gosdn_csbi_csbi_proto_init() { ...@@ -721,6 +845,30 @@ func file_gosdn_csbi_csbi_proto_init() {
} }
} }
file_gosdn_csbi_csbi_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { file_gosdn_csbi_csbi_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gosdn_csbi_csbi_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gosdn_csbi_csbi_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteResponse); i { switch v := v.(*DeleteResponse); i {
case 0: case 0:
return &v.state return &v.state
...@@ -739,7 +887,7 @@ func file_gosdn_csbi_csbi_proto_init() { ...@@ -739,7 +887,7 @@ func file_gosdn_csbi_csbi_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_gosdn_csbi_csbi_proto_rawDesc, RawDescriptor: file_gosdn_csbi_csbi_proto_rawDesc,
NumEnums: 2, NumEnums: 2,
NumMessages: 7, NumMessages: 9,
NumExtensions: 0, NumExtensions: 0,
NumServices: 1, NumServices: 1,
}, },
......
...@@ -20,6 +20,7 @@ type CsbiClient interface { ...@@ -20,6 +20,7 @@ type CsbiClient interface {
Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
Hello(ctx context.Context, in *Syn, opts ...grpc.CallOption) (*Ack, error)
} }
type csbiClient struct { type csbiClient struct {
...@@ -57,6 +58,15 @@ func (c *csbiClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc ...@@ -57,6 +58,15 @@ func (c *csbiClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc
return out, nil return out, nil
} }
func (c *csbiClient) Hello(ctx context.Context, in *Syn, opts ...grpc.CallOption) (*Ack, error) {
out := new(Ack)
err := c.cc.Invoke(ctx, "/gosdn.csbi.csbi/Hello", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// CsbiServer is the server API for Csbi service. // CsbiServer is the server API for Csbi service.
// All implementations must embed UnimplementedCsbiServer // All implementations must embed UnimplementedCsbiServer
// for forward compatibility // for forward compatibility
...@@ -64,6 +74,7 @@ type CsbiServer interface { ...@@ -64,6 +74,7 @@ type CsbiServer interface {
Get(context.Context, *GetRequest) (*GetResponse, error) Get(context.Context, *GetRequest) (*GetResponse, error)
Create(context.Context, *CreateRequest) (*CreateResponse, error) Create(context.Context, *CreateRequest) (*CreateResponse, error)
Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
Hello(context.Context, *Syn) (*Ack, error)
mustEmbedUnimplementedCsbiServer() mustEmbedUnimplementedCsbiServer()
} }
...@@ -80,6 +91,9 @@ func (*UnimplementedCsbiServer) Create(context.Context, *CreateRequest) (*Create ...@@ -80,6 +91,9 @@ func (*UnimplementedCsbiServer) Create(context.Context, *CreateRequest) (*Create
func (*UnimplementedCsbiServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) { func (*UnimplementedCsbiServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
} }
func (*UnimplementedCsbiServer) Hello(context.Context, *Syn) (*Ack, error) {
return nil, status.Errorf(codes.Unimplemented, "method Hello not implemented")
}
func (*UnimplementedCsbiServer) mustEmbedUnimplementedCsbiServer() {} func (*UnimplementedCsbiServer) mustEmbedUnimplementedCsbiServer() {}
func RegisterCsbiServer(s *grpc.Server, srv CsbiServer) { func RegisterCsbiServer(s *grpc.Server, srv CsbiServer) {
...@@ -140,6 +154,24 @@ func _Csbi_Delete_Handler(srv interface{}, ctx context.Context, dec func(interfa ...@@ -140,6 +154,24 @@ func _Csbi_Delete_Handler(srv interface{}, ctx context.Context, dec func(interfa
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }
func _Csbi_Hello_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Syn)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CsbiServer).Hello(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gosdn.csbi.csbi/Hello",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CsbiServer).Hello(ctx, req.(*Syn))
}
return interceptor(ctx, in, info, handler)
}
var _Csbi_serviceDesc = grpc.ServiceDesc{ var _Csbi_serviceDesc = grpc.ServiceDesc{
ServiceName: "gosdn.csbi.csbi", ServiceName: "gosdn.csbi.csbi",
HandlerType: (*CsbiServer)(nil), HandlerType: (*CsbiServer)(nil),
...@@ -156,6 +188,10 @@ var _Csbi_serviceDesc = grpc.ServiceDesc{ ...@@ -156,6 +188,10 @@ var _Csbi_serviceDesc = grpc.ServiceDesc{
MethodName: "Delete", MethodName: "Delete",
Handler: _Csbi_Delete_Handler, Handler: _Csbi_Delete_Handler,
}, },
{
MethodName: "Hello",
Handler: _Csbi_Hello_Handler,
},
}, },
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "gosdn/csbi/csbi.proto", Metadata: "gosdn/csbi/csbi.proto",
......
...@@ -10,6 +10,17 @@ service csbi { ...@@ -10,6 +10,17 @@ service csbi {
rpc Get(GetRequest) returns (GetResponse); rpc Get(GetRequest) returns (GetResponse);
rpc Create(CreateRequest) returns (CreateResponse); rpc Create(CreateRequest) returns (CreateResponse);
rpc Delete(DeleteRequest) returns (DeleteResponse); rpc Delete(DeleteRequest) returns (DeleteResponse);
rpc Hello(Syn) returns (Ack);
}
message Syn {
int64 timestamp = 1; // Timestamp in nanoseconds since Epoch.
string id = 2;
string address = 3;
}
message Ack {
int64 timestamp = 1; // Timestamp in nanoseconds since Epoch.
} }
message GetRequest { message GetRequest {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment