|
|
@ -31,9 +31,10 @@ var _ = math.Inf |
|
|
|
|
|
|
|
// 使用key查询
|
|
|
|
type GetRequest struct { |
|
|
|
Dbname *string `protobuf:"bytes,1,opt,name=dbname" json:"dbname,omitempty"` |
|
|
|
Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` |
|
|
|
Field *string `protobuf:"bytes,3,opt,name=field" json:"field,omitempty"` |
|
|
|
SiteId *string `protobuf:"bytes,1,opt,name=site_id" json:"site_id,omitempty"` |
|
|
|
Dbname *string `protobuf:"bytes,2,opt,name=dbname" json:"dbname,omitempty"` |
|
|
|
Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"` |
|
|
|
Field *string `protobuf:"bytes,4,opt,name=field" json:"field,omitempty"` |
|
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
|
} |
|
|
|
|
|
|
@ -41,6 +42,13 @@ func (m *GetRequest) Reset() { *m = GetRequest{} } |
|
|
|
func (m *GetRequest) String() string { return proto.CompactTextString(m) } |
|
|
|
func (*GetRequest) ProtoMessage() {} |
|
|
|
|
|
|
|
func (m *GetRequest) GetSiteId() string { |
|
|
|
if m != nil && m.SiteId != nil { |
|
|
|
return *m.SiteId |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (m *GetRequest) GetDbname() string { |
|
|
|
if m != nil && m.Dbname != nil { |
|
|
|
return *m.Dbname |
|
|
@ -63,9 +71,10 @@ func (m *GetRequest) GetField() string { |
|
|
|
} |
|
|
|
|
|
|
|
type GetUuidRequest struct { |
|
|
|
Dbname *string `protobuf:"bytes,1,opt,name=dbname" json:"dbname,omitempty"` |
|
|
|
Uuid *string `protobuf:"bytes,2,opt,name=uuid" json:"uuid,omitempty"` |
|
|
|
Field *string `protobuf:"bytes,3,opt,name=field" json:"field,omitempty"` |
|
|
|
SiteId *string `protobuf:"bytes,1,opt,name=site_id" json:"site_id,omitempty"` |
|
|
|
Dbname *string `protobuf:"bytes,2,opt,name=dbname" json:"dbname,omitempty"` |
|
|
|
Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"` |
|
|
|
Field *string `protobuf:"bytes,4,opt,name=field" json:"field,omitempty"` |
|
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
|
} |
|
|
|
|
|
|
@ -73,6 +82,13 @@ func (m *GetUuidRequest) Reset() { *m = GetUuidRequest{} } |
|
|
|
func (m *GetUuidRequest) String() string { return proto.CompactTextString(m) } |
|
|
|
func (*GetUuidRequest) ProtoMessage() {} |
|
|
|
|
|
|
|
func (m *GetUuidRequest) GetSiteId() string { |
|
|
|
if m != nil && m.SiteId != nil { |
|
|
|
return *m.SiteId |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (m *GetUuidRequest) GetDbname() string { |
|
|
|
if m != nil && m.Dbname != nil { |
|
|
|
return *m.Dbname |
|
|
@ -80,9 +96,9 @@ func (m *GetUuidRequest) GetDbname() string { |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (m *GetUuidRequest) GetUuid() string { |
|
|
|
if m != nil && m.Uuid != nil { |
|
|
|
return *m.Uuid |
|
|
|
func (m *GetUuidRequest) GetId() string { |
|
|
|
if m != nil && m.Id != nil { |
|
|
|
return *m.Id |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|