2020-01-16 19:10:15 +03:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2020-03-12 01:31:24 +03:00
|
|
|
// source: github.com/micro/go-micro/config/source/service/proto/service.proto
|
2020-01-16 19:10:15 +03:00
|
|
|
|
2020-01-18 18:16:23 +03:00
|
|
|
package service
|
2020-01-16 19:10:15 +03:00
|
|
|
|
|
|
|
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 ChangeSet struct {
|
|
|
|
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
|
Checksum string `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"`
|
|
|
|
Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`
|
|
|
|
Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
|
|
|
|
Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChangeSet) Reset() { *m = ChangeSet{} }
|
|
|
|
func (m *ChangeSet) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ChangeSet) ProtoMessage() {}
|
|
|
|
func (*ChangeSet) Descriptor() ([]byte, []int) {
|
2020-03-12 01:31:24 +03:00
|
|
|
return fileDescriptor_54fcef0de4ea31b3, []int{0}
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChangeSet) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ChangeSet.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ChangeSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ChangeSet.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ChangeSet) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ChangeSet.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ChangeSet) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ChangeSet.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ChangeSet) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ChangeSet.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ChangeSet proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ChangeSet) GetData() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Data
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChangeSet) GetChecksum() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Checksum
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChangeSet) GetFormat() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Format
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChangeSet) GetSource() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Source
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ChangeSet) GetTimestamp() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Timestamp
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type Change struct {
|
2020-03-12 01:31:24 +03:00
|
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
2020-01-16 19:10:15 +03:00
|
|
|
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
|
|
ChangeSet *ChangeSet `protobuf:"bytes,3,opt,name=changeSet,proto3" json:"changeSet,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Change) Reset() { *m = Change{} }
|
|
|
|
func (m *Change) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Change) ProtoMessage() {}
|
|
|
|
func (*Change) Descriptor() ([]byte, []int) {
|
2020-03-12 01:31:24 +03:00
|
|
|
return fileDescriptor_54fcef0de4ea31b3, []int{1}
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Change) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Change.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *Change) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Change.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *Change) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Change.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *Change) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Change.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Change) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Change.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_Change proto.InternalMessageInfo
|
|
|
|
|
2020-03-12 01:31:24 +03:00
|
|
|
func (m *Change) GetNamespace() string {
|
2020-01-16 19:10:15 +03:00
|
|
|
if m != nil {
|
2020-03-12 01:31:24 +03:00
|
|
|
return m.Namespace
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Change) GetPath() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Change) GetChangeSet() *ChangeSet {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChangeSet
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type CreateRequest struct {
|
|
|
|
Change *Change `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateRequest) Reset() { *m = CreateRequest{} }
|
|
|
|
func (m *CreateRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CreateRequest) ProtoMessage() {}
|
|
|
|
func (*CreateRequest) Descriptor() ([]byte, []int) {
|
2020-03-12 01:31:24 +03:00
|
|
|
return fileDescriptor_54fcef0de4ea31b3, []int{2}
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CreateRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CreateRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *CreateRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CreateRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *CreateRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CreateRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CreateRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CreateRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_CreateRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *CreateRequest) GetChange() *Change {
|
|
|
|
if m != nil {
|
|
|
|
return m.Change
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type CreateResponse struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateResponse) Reset() { *m = CreateResponse{} }
|
|
|
|
func (m *CreateResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*CreateResponse) ProtoMessage() {}
|
|
|
|
func (*CreateResponse) Descriptor() ([]byte, []int) {
|
2020-03-12 01:31:24 +03:00
|
|
|
return fileDescriptor_54fcef0de4ea31b3, []int{3}
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *CreateResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_CreateResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_CreateResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *CreateResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_CreateResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *CreateResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_CreateResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *CreateResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_CreateResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_CreateResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type UpdateRequest struct {
|
|
|
|
Change *Change `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UpdateRequest) Reset() { *m = UpdateRequest{} }
|
|
|
|
func (m *UpdateRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UpdateRequest) ProtoMessage() {}
|
|
|
|
func (*UpdateRequest) Descriptor() ([]byte, []int) {
|
2020-03-12 01:31:24 +03:00
|
|
|
return fileDescriptor_54fcef0de4ea31b3, []int{4}
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UpdateRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UpdateRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UpdateRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *UpdateRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UpdateRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *UpdateRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UpdateRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UpdateRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UpdateRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UpdateRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *UpdateRequest) GetChange() *Change {
|
|
|
|
if m != nil {
|
|
|
|
return m.Change
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type UpdateResponse struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UpdateResponse) Reset() { *m = UpdateResponse{} }
|
|
|
|
func (m *UpdateResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*UpdateResponse) ProtoMessage() {}
|
|
|
|
func (*UpdateResponse) Descriptor() ([]byte, []int) {
|
2020-03-12 01:31:24 +03:00
|
|
|
return fileDescriptor_54fcef0de4ea31b3, []int{5}
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *UpdateResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_UpdateResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *UpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_UpdateResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *UpdateResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_UpdateResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *UpdateResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_UpdateResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *UpdateResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_UpdateResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_UpdateResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type DeleteRequest struct {
|
|
|
|
Change *Change `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
|
|
|
|
func (m *DeleteRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DeleteRequest) ProtoMessage() {}
|
|
|
|
func (*DeleteRequest) Descriptor() ([]byte, []int) {
|
2020-03-12 01:31:24 +03:00
|
|
|
return fileDescriptor_54fcef0de4ea31b3, []int{6}
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_DeleteRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_DeleteRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DeleteRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_DeleteRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *DeleteRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DeleteRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DeleteRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *DeleteRequest) GetChange() *Change {
|
|
|
|
if m != nil {
|
|
|
|
return m.Change
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type DeleteResponse struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteResponse) Reset() { *m = DeleteResponse{} }
|
|
|
|
func (m *DeleteResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DeleteResponse) ProtoMessage() {}
|
|
|
|
func (*DeleteResponse) Descriptor() ([]byte, []int) {
|
2020-03-12 01:31:24 +03:00
|
|
|
return fileDescriptor_54fcef0de4ea31b3, []int{7}
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DeleteResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_DeleteResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_DeleteResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *DeleteResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_DeleteResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *DeleteResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_DeleteResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *DeleteResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_DeleteResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_DeleteResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type ListRequest struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListRequest) Reset() { *m = ListRequest{} }
|
|
|
|
func (m *ListRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListRequest) ProtoMessage() {}
|
|
|
|
func (*ListRequest) Descriptor() ([]byte, []int) {
|
2020-03-12 01:31:24 +03:00
|
|
|
return fileDescriptor_54fcef0de4ea31b3, []int{8}
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ListRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ListRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ListRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ListRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
type ListResponse struct {
|
2020-01-18 18:16:23 +03:00
|
|
|
Values []*Change `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
2020-01-16 19:10:15 +03:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListResponse) Reset() { *m = ListResponse{} }
|
|
|
|
func (m *ListResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListResponse) ProtoMessage() {}
|
|
|
|
func (*ListResponse) Descriptor() ([]byte, []int) {
|
2020-03-12 01:31:24 +03:00
|
|
|
return fileDescriptor_54fcef0de4ea31b3, []int{9}
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ListResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ListResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ListResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ListResponse proto.InternalMessageInfo
|
|
|
|
|
2020-01-18 18:16:23 +03:00
|
|
|
func (m *ListResponse) GetValues() []*Change {
|
2020-01-16 19:10:15 +03:00
|
|
|
if m != nil {
|
2020-01-18 18:16:23 +03:00
|
|
|
return m.Values
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ReadRequest struct {
|
2020-03-12 01:31:24 +03:00
|
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
2020-01-16 19:10:15 +03:00
|
|
|
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReadRequest) Reset() { *m = ReadRequest{} }
|
|
|
|
func (m *ReadRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ReadRequest) ProtoMessage() {}
|
|
|
|
func (*ReadRequest) Descriptor() ([]byte, []int) {
|
2020-03-12 01:31:24 +03:00
|
|
|
return fileDescriptor_54fcef0de4ea31b3, []int{10}
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReadRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ReadRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ReadRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ReadRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ReadRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ReadRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ReadRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ReadRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ReadRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ReadRequest proto.InternalMessageInfo
|
|
|
|
|
2020-03-12 01:31:24 +03:00
|
|
|
func (m *ReadRequest) GetNamespace() string {
|
2020-01-16 19:10:15 +03:00
|
|
|
if m != nil {
|
2020-03-12 01:31:24 +03:00
|
|
|
return m.Namespace
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReadRequest) GetPath() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type ReadResponse struct {
|
|
|
|
Change *Change `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReadResponse) Reset() { *m = ReadResponse{} }
|
|
|
|
func (m *ReadResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ReadResponse) ProtoMessage() {}
|
|
|
|
func (*ReadResponse) Descriptor() ([]byte, []int) {
|
2020-03-12 01:31:24 +03:00
|
|
|
return fileDescriptor_54fcef0de4ea31b3, []int{11}
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ReadResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ReadResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ReadResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ReadResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ReadResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ReadResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ReadResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ReadResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ReadResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ReadResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ReadResponse) GetChange() *Change {
|
|
|
|
if m != nil {
|
|
|
|
return m.Change
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type WatchRequest struct {
|
2020-03-12 01:31:24 +03:00
|
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
2020-01-20 13:31:18 +03:00
|
|
|
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
2020-01-16 19:10:15 +03:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WatchRequest) Reset() { *m = WatchRequest{} }
|
|
|
|
func (m *WatchRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*WatchRequest) ProtoMessage() {}
|
|
|
|
func (*WatchRequest) Descriptor() ([]byte, []int) {
|
2020-03-12 01:31:24 +03:00
|
|
|
return fileDescriptor_54fcef0de4ea31b3, []int{12}
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WatchRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_WatchRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *WatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_WatchRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *WatchRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_WatchRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *WatchRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_WatchRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *WatchRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_WatchRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_WatchRequest proto.InternalMessageInfo
|
|
|
|
|
2020-03-12 01:31:24 +03:00
|
|
|
func (m *WatchRequest) GetNamespace() string {
|
2020-01-16 19:10:15 +03:00
|
|
|
if m != nil {
|
2020-03-12 01:31:24 +03:00
|
|
|
return m.Namespace
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-01-20 13:31:18 +03:00
|
|
|
func (m *WatchRequest) GetPath() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-01-16 19:10:15 +03:00
|
|
|
type WatchResponse struct {
|
2020-03-12 01:31:24 +03:00
|
|
|
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
2020-01-16 19:10:15 +03:00
|
|
|
ChangeSet *ChangeSet `protobuf:"bytes,2,opt,name=changeSet,proto3" json:"changeSet,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WatchResponse) Reset() { *m = WatchResponse{} }
|
|
|
|
func (m *WatchResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*WatchResponse) ProtoMessage() {}
|
|
|
|
func (*WatchResponse) Descriptor() ([]byte, []int) {
|
2020-03-12 01:31:24 +03:00
|
|
|
return fileDescriptor_54fcef0de4ea31b3, []int{13}
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WatchResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_WatchResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *WatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_WatchResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *WatchResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_WatchResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *WatchResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_WatchResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *WatchResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_WatchResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_WatchResponse proto.InternalMessageInfo
|
|
|
|
|
2020-03-12 01:31:24 +03:00
|
|
|
func (m *WatchResponse) GetNamespace() string {
|
2020-01-16 19:10:15 +03:00
|
|
|
if m != nil {
|
2020-03-12 01:31:24 +03:00
|
|
|
return m.Namespace
|
2020-01-16 19:10:15 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WatchResponse) GetChangeSet() *ChangeSet {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChangeSet
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*ChangeSet)(nil), "ChangeSet")
|
|
|
|
proto.RegisterType((*Change)(nil), "Change")
|
|
|
|
proto.RegisterType((*CreateRequest)(nil), "CreateRequest")
|
|
|
|
proto.RegisterType((*CreateResponse)(nil), "CreateResponse")
|
|
|
|
proto.RegisterType((*UpdateRequest)(nil), "UpdateRequest")
|
|
|
|
proto.RegisterType((*UpdateResponse)(nil), "UpdateResponse")
|
|
|
|
proto.RegisterType((*DeleteRequest)(nil), "DeleteRequest")
|
|
|
|
proto.RegisterType((*DeleteResponse)(nil), "DeleteResponse")
|
|
|
|
proto.RegisterType((*ListRequest)(nil), "ListRequest")
|
|
|
|
proto.RegisterType((*ListResponse)(nil), "ListResponse")
|
|
|
|
proto.RegisterType((*ReadRequest)(nil), "ReadRequest")
|
|
|
|
proto.RegisterType((*ReadResponse)(nil), "ReadResponse")
|
|
|
|
proto.RegisterType((*WatchRequest)(nil), "WatchRequest")
|
|
|
|
proto.RegisterType((*WatchResponse)(nil), "WatchResponse")
|
|
|
|
}
|
|
|
|
|
2020-01-23 14:37:54 +03:00
|
|
|
func init() {
|
2020-03-12 01:31:24 +03:00
|
|
|
proto.RegisterFile("github.com/micro/go-micro/config/source/service/proto/service.proto", fileDescriptor_54fcef0de4ea31b3)
|
|
|
|
}
|
|
|
|
|
|
|
|
var fileDescriptor_54fcef0de4ea31b3 = []byte{
|
|
|
|
// 455 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0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