Skip to content
Snippets Groups Projects
pnd.pb.go 55.1 KiB
Newer Older
  • Learn to ignore specific revisions
  • Manuel Kieweg's avatar
    Manuel Kieweg committed
    // Code generated by protoc-gen-go. DO NOT EDIT.
    // versions:
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    // 	protoc-gen-go v1.26.0
    
    // 	protoc        v3.15.8
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    // source: gosdn/pnd/pnd.proto
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    package pnd
    
    import (
    	gnmi "github.com/openconfig/gnmi/proto/gnmi"
    	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    	_ "google.golang.org/protobuf/types/descriptorpb"
    	reflect "reflect"
    	sync "sync"
    )
    
    const (
    	// Verify that this generated code is sufficiently up-to-date.
    	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    	// Verify that runtime/protoimpl is sufficiently up-to-date.
    	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    )
    
    type Change_State int32
    
    const (
    	Change_PENDING   Change_State = 0
    	Change_COMMITTED Change_State = 1
    	Change_CONFIRMED Change_State = 2
    )
    
    // Enum value maps for Change_State.
    var (
    	Change_State_name = map[int32]string{
    		0: "PENDING",
    		1: "COMMITTED",
    		2: "CONFIRMED",
    	}
    	Change_State_value = map[string]int32{
    		"PENDING":   0,
    		"COMMITTED": 1,
    		"CONFIRMED": 2,
    	}
    )
    
    func (x Change_State) Enum() *Change_State {
    	p := new(Change_State)
    	*p = x
    	return p
    }
    
    func (x Change_State) String() string {
    	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    }
    
    func (Change_State) Descriptor() protoreflect.EnumDescriptor {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_enumTypes[0].Descriptor()
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    func (Change_State) Type() protoreflect.EnumType {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return &file_gosdn_pnd_pnd_proto_enumTypes[0]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    func (x Change_State) Number() protoreflect.EnumNumber {
    	return protoreflect.EnumNumber(x)
    }
    
    // Deprecated: Use Change_State.Descriptor instead.
    func (Change_State) EnumDescriptor() ([]byte, []int) {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{9, 0}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    type SetChange_Operation int32
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    const (
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	SetChange_CREATE  SetChange_Operation = 0
    	SetChange_COMMIT  SetChange_Operation = 1
    	SetChange_CONFIRM SetChange_Operation = 2
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    )
    
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    // Enum value maps for SetChange_Operation.
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    var (
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	SetChange_Operation_name = map[int32]string{
    		0: "CREATE",
    		1: "COMMIT",
    		2: "CONFIRM",
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	SetChange_Operation_value = map[string]int32{
    		"CREATE":  0,
    		"COMMIT":  1,
    		"CONFIRM": 2,
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    func (x SetChange_Operation) Enum() *SetChange_Operation {
    	p := new(SetChange_Operation)
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	*p = x
    	return p
    }
    
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    func (x SetChange_Operation) String() string {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    }
    
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    func (SetChange_Operation) Descriptor() protoreflect.EnumDescriptor {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_enumTypes[1].Descriptor()
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    func (SetChange_Operation) Type() protoreflect.EnumType {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return &file_gosdn_pnd_pnd_proto_enumTypes[1]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    func (x SetChange_Operation) Number() protoreflect.EnumNumber {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return protoreflect.EnumNumber(x)
    }
    
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    // Deprecated: Use SetChange_Operation.Descriptor instead.
    func (SetChange_Operation) EnumDescriptor() ([]byte, []int) {
    	return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{13, 0}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    type SetResponseStatus int32
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    const (
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	SetResponse_OK    SetResponseStatus = 0
    	SetResponse_ERROR SetResponseStatus = 1
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    // Enum value maps for SetResponseStatus.
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    var (
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	SetResponseStatus_name = map[int32]string{
    		0: "OK",
    		1: "ERROR",
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	SetResponseStatus_value = map[string]int32{
    		"OK":    0,
    		"ERROR": 1,
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    func (x SetResponseStatus) Enum() *SetResponseStatus {
    	p := new(SetResponseStatus)
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	*p = x
    	return p
    }
    
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    func (x SetResponseStatus) String() string {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    }
    
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    func (SetResponseStatus) Descriptor() protoreflect.EnumDescriptor {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_enumTypes[2].Descriptor()
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    func (SetResponseStatus) Type() protoreflect.EnumType {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return &file_gosdn_pnd_pnd_proto_enumTypes[2]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    func (x SetResponseStatus) Number() protoreflect.EnumNumber {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return protoreflect.EnumNumber(x)
    }
    
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    // Deprecated: Use SetResponseStatus.Descriptor instead.
    func (SetResponseStatus) EnumDescriptor() ([]byte, []int) {
    	return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{14, 0}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    type ChangeRequest_ApiOperation int32
    
    const (
    	ChangeRequest_UPDATE  ChangeRequest_ApiOperation = 0
    	ChangeRequest_REPLACE ChangeRequest_ApiOperation = 1
    	ChangeRequest_DELETE  ChangeRequest_ApiOperation = 2
    )
    
    // Enum value maps for ChangeRequest_ApiOperation.
    var (
    	ChangeRequest_ApiOperation_name = map[int32]string{
    		0: "UPDATE",
    		1: "REPLACE",
    		2: "DELETE",
    	}
    	ChangeRequest_ApiOperation_value = map[string]int32{
    		"UPDATE":  0,
    		"REPLACE": 1,
    		"DELETE":  2,
    	}
    )
    
    func (x ChangeRequest_ApiOperation) Enum() *ChangeRequest_ApiOperation {
    	p := new(ChangeRequest_ApiOperation)
    	*p = x
    	return p
    }
    
    func (x ChangeRequest_ApiOperation) String() string {
    	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    }
    
    func (ChangeRequest_ApiOperation) Descriptor() protoreflect.EnumDescriptor {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_enumTypes[3].Descriptor()
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    func (ChangeRequest_ApiOperation) Type() protoreflect.EnumType {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return &file_gosdn_pnd_pnd_proto_enumTypes[3]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    func (x ChangeRequest_ApiOperation) Number() protoreflect.EnumNumber {
    	return protoreflect.EnumNumber(x)
    }
    
    // Deprecated: Use ChangeRequest_ApiOperation.Descriptor instead.
    func (ChangeRequest_ApiOperation) EnumDescriptor() ([]byte, []int) {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{15, 0}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    type GetRequest 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.
    	// Types that are assignable to Request:
    	//	*GetRequest_Pnd
    	//	*GetRequest_Ond
    	//	*GetRequest_Sbi
    	//	*GetRequest_Change
    	Request isGetRequest_Request `protobuf_oneof:"request"`
    	Pid     string               `protobuf:"bytes,6,opt,name=pid,proto3" json:"pid,omitempty"`
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    func (x *GetRequest) Reset() {
    	*x = GetRequest{}
    	if protoimpl.UnsafeEnabled {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		mi := &file_gosdn_pnd_pnd_proto_msgTypes[0]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    }
    
    func (x *GetRequest) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*GetRequest) ProtoMessage() {}
    
    func (x *GetRequest) ProtoReflect() protoreflect.Message {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	mi := &file_gosdn_pnd_pnd_proto_msgTypes[0]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	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 GetRequest.ProtoReflect.Descriptor instead.
    func (*GetRequest) Descriptor() ([]byte, []int) {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{0}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    func (x *GetRequest) GetTimestamp() int64 {
    	if x != nil {
    		return x.Timestamp
    	}
    	return 0
    }
    
    
    func (m *GetRequest) GetRequest() isGetRequest_Request {
    	if m != nil {
    		return m.Request
    	}
    	return nil
    }
    
    func (x *GetRequest) GetPnd() *GetPnd {
    	if x, ok := x.GetRequest().(*GetRequest_Pnd); ok {
    		return x.Pnd
    	}
    	return nil
    }
    
    func (x *GetRequest) GetOnd() *GetOnd {
    	if x, ok := x.GetRequest().(*GetRequest_Ond); ok {
    		return x.Ond
    	}
    	return nil
    }
    
    func (x *GetRequest) GetSbi() *GetSbi {
    	if x, ok := x.GetRequest().(*GetRequest_Sbi); ok {
    		return x.Sbi
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    
    func (x *GetRequest) GetChange() *GetChange {
    	if x, ok := x.GetRequest().(*GetRequest_Change); ok {
    		return x.Change
    	}
    	return nil
    }
    
    func (x *GetRequest) GetPid() string {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    	return ""
    }
    
    
    type isGetRequest_Request interface {
    	isGetRequest_Request()
    }
    
    type GetRequest_Pnd struct {
    	Pnd *GetPnd `protobuf:"bytes,2,opt,name=pnd,proto3,oneof"`
    }
    
    type GetRequest_Ond struct {
    	Ond *GetOnd `protobuf:"bytes,3,opt,name=ond,proto3,oneof"`
    }
    
    type GetRequest_Sbi struct {
    	Sbi *GetSbi `protobuf:"bytes,4,opt,name=sbi,proto3,oneof"`
    }
    
    type GetRequest_Change struct {
    	Change *GetChange `protobuf:"bytes,5,opt,name=change,proto3,oneof"`
    }
    
    func (*GetRequest_Pnd) isGetRequest_Request() {}
    
    func (*GetRequest_Ond) isGetRequest_Request() {}
    
    func (*GetRequest_Sbi) isGetRequest_Request() {}
    
    func (*GetRequest_Change) isGetRequest_Request() {}
    
    type GetPnd struct {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    }
    
    
    func (x *GetPnd) Reset() {
    	*x = GetPnd{}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if protoimpl.UnsafeEnabled {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		mi := &file_gosdn_pnd_pnd_proto_msgTypes[1]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    }
    
    
    func (x *GetPnd) String() string {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return protoimpl.X.MessageStringOf(x)
    }
    
    
    func (*GetPnd) ProtoMessage() {}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    
    func (x *GetPnd) ProtoReflect() protoreflect.Message {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	mi := &file_gosdn_pnd_pnd_proto_msgTypes[1]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	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 GetPnd.ProtoReflect.Descriptor instead.
    func (*GetPnd) Descriptor() ([]byte, []int) {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{1}
    
    type GetOnd struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	All bool     `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
    	Did []string `protobuf:"bytes,2,rep,name=did,proto3" json:"did,omitempty"`
    }
    
    func (x *GetOnd) Reset() {
    	*x = GetOnd{}
    	if protoimpl.UnsafeEnabled {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		mi := &file_gosdn_pnd_pnd_proto_msgTypes[2]
    
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    }
    
    func (x *GetOnd) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*GetOnd) ProtoMessage() {}
    
    func (x *GetOnd) ProtoReflect() protoreflect.Message {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	mi := &file_gosdn_pnd_pnd_proto_msgTypes[2]
    
    	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 GetOnd.ProtoReflect.Descriptor instead.
    func (*GetOnd) Descriptor() ([]byte, []int) {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{2}
    
    }
    
    func (x *GetOnd) GetAll() bool {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    
    func (x *GetOnd) GetDid() []string {
    	if x != nil {
    		return x.Did
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    	return nil
    }
    
    
    type GetSbi struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	All bool     `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
    	Sid []string `protobuf:"bytes,2,rep,name=sid,proto3" json:"sid,omitempty"`
    }
    
    func (x *GetSbi) Reset() {
    	*x = GetSbi{}
    	if protoimpl.UnsafeEnabled {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		mi := &file_gosdn_pnd_pnd_proto_msgTypes[3]
    
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    
    func (x *GetSbi) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*GetSbi) ProtoMessage() {}
    
    func (x *GetSbi) ProtoReflect() protoreflect.Message {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	mi := &file_gosdn_pnd_pnd_proto_msgTypes[3]
    
    	if protoimpl.UnsafeEnabled && x != nil {
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		if ms.LoadMessageInfo() == nil {
    			ms.StoreMessageInfo(mi)
    		}
    		return ms
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    
    	return mi.MessageOf(x)
    }
    
    // Deprecated: Use GetSbi.ProtoReflect.Descriptor instead.
    func (*GetSbi) Descriptor() ([]byte, []int) {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{3}
    
    func (x *GetSbi) GetAll() bool {
    	if x != nil {
    		return x.All
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    
    func (x *GetSbi) GetSid() []string {
    	if x != nil {
    		return x.Sid
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    	return nil
    }
    
    
    type GetChange struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	All  bool     `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
    	Cuid []string `protobuf:"bytes,2,rep,name=cuid,proto3" json:"cuid,omitempty"`
    }
    
    func (x *GetChange) Reset() {
    	*x = GetChange{}
    	if protoimpl.UnsafeEnabled {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		mi := &file_gosdn_pnd_pnd_proto_msgTypes[4]
    
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    
    func (x *GetChange) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*GetChange) ProtoMessage() {}
    
    func (x *GetChange) ProtoReflect() protoreflect.Message {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	mi := &file_gosdn_pnd_pnd_proto_msgTypes[4]
    
    	if protoimpl.UnsafeEnabled && x != nil {
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		if ms.LoadMessageInfo() == nil {
    			ms.StoreMessageInfo(mi)
    		}
    		return ms
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    
    	return mi.MessageOf(x)
    
    // Deprecated: Use GetChange.ProtoReflect.Descriptor instead.
    func (*GetChange) Descriptor() ([]byte, []int) {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{4}
    
    func (x *GetChange) GetAll() bool {
    	if x != nil {
    		return x.All
    	}
    	return false
    
    func (x *GetChange) GetCuid() []string {
    	if x != nil {
    		return x.Cuid
    	}
    	return nil
    
    type GetResponse 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.
    	Pnd       *PrincipalNetworkDomain         `protobuf:"bytes,2,opt,name=pnd,proto3" json:"pnd,omitempty"`
    	Ond       []*OrchestratedNetworkingDevice `protobuf:"bytes,3,rep,name=ond,proto3" json:"ond,omitempty"`
    	Sbi       []*SouthboundInterface          `protobuf:"bytes,5,rep,name=sbi,proto3" json:"sbi,omitempty"`
    	Change    []*Change                       `protobuf:"bytes,7,rep,name=change,proto3" json:"change,omitempty"`
    
    func (x *GetResponse) Reset() {
    	*x = GetResponse{}
    	if protoimpl.UnsafeEnabled {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		mi := &file_gosdn_pnd_pnd_proto_msgTypes[5]
    
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    
    func (x *GetResponse) String() string {
    	return protoimpl.X.MessageStringOf(x)
    
    func (*GetResponse) ProtoMessage() {}
    
    func (x *GetResponse) ProtoReflect() protoreflect.Message {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	mi := &file_gosdn_pnd_pnd_proto_msgTypes[5]
    
    	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 GetResponse.ProtoReflect.Descriptor instead.
    func (*GetResponse) Descriptor() ([]byte, []int) {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{5}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    
    func (x *GetResponse) GetTimestamp() int64 {
    	if x != nil {
    		return x.Timestamp
    	}
    	return 0
    }
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    
    func (x *GetResponse) GetPnd() *PrincipalNetworkDomain {
    	if x != nil {
    		return x.Pnd
    	}
    	return nil
    }
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    
    func (x *GetResponse) GetOnd() []*OrchestratedNetworkingDevice {
    	if x != nil {
    		return x.Ond
    	}
    	return nil
    }
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    
    func (x *GetResponse) GetSbi() []*SouthboundInterface {
    	if x != nil {
    		return x.Sbi
    	}
    	return nil
    }
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    
    func (x *GetResponse) GetChange() []*Change {
    	if x != nil {
    		return x.Change
    	}
    	return nil
    }
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    type PrincipalNetworkDomain struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    
    	Id          string                          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    	Name        string                          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    	Description string                          `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    	Ond         []*OrchestratedNetworkingDevice `protobuf:"bytes,4,rep,name=ond,proto3" json:"ond,omitempty"`
    	Sbi         []*SouthboundInterface          `protobuf:"bytes,5,rep,name=sbi,proto3" json:"sbi,omitempty"`
    	Change      []*Change                       `protobuf:"bytes,6,rep,name=change,proto3" json:"change,omitempty"`
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    func (x *PrincipalNetworkDomain) Reset() {
    	*x = PrincipalNetworkDomain{}
    	if protoimpl.UnsafeEnabled {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		mi := &file_gosdn_pnd_pnd_proto_msgTypes[6]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    }
    
    func (x *PrincipalNetworkDomain) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*PrincipalNetworkDomain) ProtoMessage() {}
    
    func (x *PrincipalNetworkDomain) ProtoReflect() protoreflect.Message {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	mi := &file_gosdn_pnd_pnd_proto_msgTypes[6]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	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 PrincipalNetworkDomain.ProtoReflect.Descriptor instead.
    func (*PrincipalNetworkDomain) Descriptor() ([]byte, []int) {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{6}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    func (x *PrincipalNetworkDomain) GetId() string {
    	if x != nil {
    		return x.Id
    	}
    	return ""
    }
    
    func (x *PrincipalNetworkDomain) GetName() string {
    	if x != nil {
    		return x.Name
    	}
    	return ""
    }
    
    func (x *PrincipalNetworkDomain) GetDescription() string {
    	if x != nil {
    		return x.Description
    	}
    	return ""
    }
    
    
    func (x *PrincipalNetworkDomain) GetOnd() []*OrchestratedNetworkingDevice {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    	return nil
    }
    
    
    func (x *PrincipalNetworkDomain) GetSbi() []*SouthboundInterface {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    	return nil
    }
    
    
    func (x *PrincipalNetworkDomain) GetChange() []*Change {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    	return nil
    }
    
    type SouthboundInterface struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    	Type int32  `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    func (x *SouthboundInterface) Reset() {
    	*x = SouthboundInterface{}
    	if protoimpl.UnsafeEnabled {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		mi := &file_gosdn_pnd_pnd_proto_msgTypes[7]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    }
    
    func (x *SouthboundInterface) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*SouthboundInterface) ProtoMessage() {}
    
    func (x *SouthboundInterface) ProtoReflect() protoreflect.Message {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	mi := &file_gosdn_pnd_pnd_proto_msgTypes[7]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	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 SouthboundInterface.ProtoReflect.Descriptor instead.
    func (*SouthboundInterface) Descriptor() ([]byte, []int) {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{7}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    func (x *SouthboundInterface) GetId() string {
    	if x != nil {
    		return x.Id
    	}
    	return ""
    }
    
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    func (x *SouthboundInterface) GetType() int32 {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		return x.Type
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return 0
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    type OrchestratedNetworkingDevice struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    
    	Id     string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    	Name   string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    	Device []*gnmi.Notification `protobuf:"bytes,3,rep,name=device,proto3" json:"device,omitempty"`
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	Sbi    *SouthboundInterface `protobuf:"bytes,4,opt,name=sbi,proto3" json:"sbi,omitempty"`
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    func (x *OrchestratedNetworkingDevice) Reset() {
    	*x = OrchestratedNetworkingDevice{}
    	if protoimpl.UnsafeEnabled {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		mi := &file_gosdn_pnd_pnd_proto_msgTypes[8]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    }
    
    func (x *OrchestratedNetworkingDevice) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*OrchestratedNetworkingDevice) ProtoMessage() {}
    
    func (x *OrchestratedNetworkingDevice) ProtoReflect() protoreflect.Message {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	mi := &file_gosdn_pnd_pnd_proto_msgTypes[8]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	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 OrchestratedNetworkingDevice.ProtoReflect.Descriptor instead.
    func (*OrchestratedNetworkingDevice) Descriptor() ([]byte, []int) {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{8}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    func (x *OrchestratedNetworkingDevice) GetId() string {
    	if x != nil {
    		return x.Id
    	}
    	return ""
    }
    
    func (x *OrchestratedNetworkingDevice) GetName() string {
    	if x != nil {
    		return x.Name
    	}
    	return ""
    }
    
    
    func (x *OrchestratedNetworkingDevice) GetDevice() []*gnmi.Notification {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    		return x.Device
    	}
    	return nil
    }
    
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    func (x *OrchestratedNetworkingDevice) GetSbi() *SouthboundInterface {
    	if x != nil {
    		return x.Sbi
    	}
    	return nil
    }
    
    
    type Change struct {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    
    	Id    string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    	Age   int64        `protobuf:"varint,2,opt,name=age,proto3" json:"age,omitempty"`
    	State Change_State `protobuf:"varint,3,opt,name=state,proto3,enum=gosdn.pnd.Change_State" json:"state,omitempty"`
    
    func (x *Change) Reset() {
    	*x = Change{}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if protoimpl.UnsafeEnabled {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		mi := &file_gosdn_pnd_pnd_proto_msgTypes[9]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    }
    
    
    func (x *Change) String() string {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return protoimpl.X.MessageStringOf(x)
    }
    
    
    func (*Change) ProtoMessage() {}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    
    func (x *Change) ProtoReflect() protoreflect.Message {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	mi := &file_gosdn_pnd_pnd_proto_msgTypes[9]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	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 Change.ProtoReflect.Descriptor instead.
    func (*Change) Descriptor() ([]byte, []int) {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{9}
    
    func (x *Change) GetId() string {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    
    	return ""
    }
    
    func (x *Change) GetAge() int64 {
    	if x != nil {
    		return x.Age
    	}
    	return 0
    
    func (x *Change) GetState() Change_State {
    	if x != nil {
    		return x.State
    	}
    	return Change_PENDING
    }
    
    type SetRequest struct {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	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.
    	Ond           []*SetOnd        `protobuf:"bytes,2,rep,name=ond,proto3" json:"ond,omitempty"`
    	Sbi           []*SetSbi        `protobuf:"bytes,3,rep,name=sbi,proto3" json:"sbi,omitempty"`
    	Change        []*SetChange     `protobuf:"bytes,4,rep,name=change,proto3" json:"change,omitempty"`
    	ChangeRequest []*ChangeRequest `protobuf:"bytes,5,rep,name=changeRequest,proto3" json:"changeRequest,omitempty"`
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	Pid           string           `protobuf:"bytes,6,opt,name=pid,proto3" json:"pid,omitempty"`
    
    func (x *SetRequest) Reset() {
    	*x = SetRequest{}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if protoimpl.UnsafeEnabled {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		mi := &file_gosdn_pnd_pnd_proto_msgTypes[10]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    }
    
    
    func (x *SetRequest) String() string {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return protoimpl.X.MessageStringOf(x)
    }
    
    
    func (*SetRequest) ProtoMessage() {}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    
    func (x *SetRequest) ProtoReflect() protoreflect.Message {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	mi := &file_gosdn_pnd_pnd_proto_msgTypes[10]
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	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 SetRequest.ProtoReflect.Descriptor instead.
    func (*SetRequest) Descriptor() ([]byte, []int) {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{10}
    
    func (x *SetRequest) GetTimestamp() int64 {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    
    		return x.Timestamp
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    
    func (x *SetRequest) GetOnd() []*SetOnd {
    	if x != nil {
    		return x.Ond
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    
    func (x *SetRequest) GetSbi() []*SetSbi {
    	if x != nil {
    		return x.Sbi
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    
    func (x *SetRequest) GetChange() []*SetChange {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    
    func (x *SetRequest) GetChangeRequest() []*ChangeRequest {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    
    		return x.ChangeRequest
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    func (x *SetRequest) GetPid() string {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		return x.Pid
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    
    type SetOnd struct {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    	Address  string               `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
    	Username string               `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
    	Password string               `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
    	Sbi      *SouthboundInterface `protobuf:"bytes,4,opt,name=sbi,proto3" json:"sbi,omitempty"`
    
    func (x *SetOnd) Reset() {
    	*x = SetOnd{}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if protoimpl.UnsafeEnabled {