Skip to content
Snippets Groups Projects
pnd.pb.go 52.7 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:
    // 	protoc-gen-go v1.25.0-devel
    
    // 	protoc        v3.15.8
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    // source: proto/gosdn/pnd/pnd.proto
    
    package pnd
    
    import (
    	proto "github.com/golang/protobuf/proto"
    	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)
    )
    
    // This is a compile-time assertion that a sufficiently up-to-date version
    // of the legacy proto package is being used.
    const _ = proto.ProtoPackageIsVersion4
    
    type GetRequestGetType int32
    
    const (
    	GetRequest_PND     GetRequestGetType = 0
    	GetRequest_OND     GetRequestGetType = 1
    	GetRequest_ONDS    GetRequestGetType = 2
    	GetRequest_SBI     GetRequestGetType = 3
    	GetRequest_SBIS    GetRequestGetType = 4
    	GetRequest_Changes GetRequestGetType = 5
    )
    
    // Enum value maps for GetRequestGetType.
    var (
    	GetRequestGetType_name = map[int32]string{
    		0: "PND",
    		1: "OND",
    		2: "ONDS",
    		3: "SBI",
    		4: "SBIS",
    		5: "Changes",
    	}
    	GetRequestGetType_value = map[string]int32{
    		"PND":     0,
    		"OND":     1,
    		"ONDS":    2,
    		"SBI":     3,
    		"SBIS":    4,
    		"Changes": 5,
    	}
    )
    
    func (x GetRequestGetType) Enum() *GetRequestGetType {
    	p := new(GetRequestGetType)
    	*p = x
    	return p
    }
    
    func (x GetRequestGetType) String() string {
    	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    }
    
    func (GetRequestGetType) Descriptor() protoreflect.EnumDescriptor {
    	return file_proto_gosdn_pnd_pnd_proto_enumTypes[0].Descriptor()
    }
    
    func (GetRequestGetType) Type() protoreflect.EnumType {
    	return &file_proto_gosdn_pnd_pnd_proto_enumTypes[0]
    }
    
    func (x GetRequestGetType) Number() protoreflect.EnumNumber {
    	return protoreflect.EnumNumber(x)
    }
    
    // Deprecated: Use GetRequestGetType.Descriptor instead.
    func (GetRequestGetType) EnumDescriptor() ([]byte, []int) {
    	return file_proto_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{0, 0}
    }
    
    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 {
    	return file_proto_gosdn_pnd_pnd_proto_enumTypes[1].Descriptor()
    }
    
    func (Change_State) Type() protoreflect.EnumType {
    	return &file_proto_gosdn_pnd_pnd_proto_enumTypes[1]
    }
    
    func (x Change_State) Number() protoreflect.EnumNumber {
    	return protoreflect.EnumNumber(x)
    }
    
    // Deprecated: Use Change_State.Descriptor instead.
    func (Change_State) EnumDescriptor() ([]byte, []int) {
    	return file_proto_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{7, 0}
    }
    
    type SetResponseStatus int32
    
    const (
    	SetResponse_OK    SetResponseStatus = 0
    	SetResponse_ERROR SetResponseStatus = 1
    )
    
    // Enum value maps for SetResponseStatus.
    var (
    	SetResponseStatus_name = map[int32]string{
    		0: "OK",
    		1: "ERROR",
    	}
    	SetResponseStatus_value = map[string]int32{
    		"OK":    0,
    		"ERROR": 1,
    	}
    )
    
    func (x SetResponseStatus) Enum() *SetResponseStatus {
    	p := new(SetResponseStatus)
    	*p = x
    	return p
    }
    
    func (x SetResponseStatus) String() string {
    	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    }
    
    func (SetResponseStatus) Descriptor() protoreflect.EnumDescriptor {
    	return file_proto_gosdn_pnd_pnd_proto_enumTypes[2].Descriptor()
    }
    
    func (SetResponseStatus) Type() protoreflect.EnumType {
    	return &file_proto_gosdn_pnd_pnd_proto_enumTypes[2]
    }
    
    func (x SetResponseStatus) Number() protoreflect.EnumNumber {
    	return protoreflect.EnumNumber(x)
    }
    
    // Deprecated: Use SetResponseStatus.Descriptor instead.
    func (SetResponseStatus) EnumDescriptor() ([]byte, []int) {
    	return file_proto_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{10, 0}
    }
    
    type ChangeRequest_Operation int32
    
    const (
    	ChangeRequest_CREATE  ChangeRequest_Operation = 0
    	ChangeRequest_COMMIT  ChangeRequest_Operation = 1
    	ChangeRequest_CONFIRM ChangeRequest_Operation = 2
    )
    
    // Enum value maps for ChangeRequest_Operation.
    var (
    	ChangeRequest_Operation_name = map[int32]string{
    		0: "CREATE",
    		1: "COMMIT",
    		2: "CONFIRM",
    	}
    	ChangeRequest_Operation_value = map[string]int32{
    		"CREATE":  0,
    		"COMMIT":  1,
    		"CONFIRM": 2,
    	}
    )
    
    func (x ChangeRequest_Operation) Enum() *ChangeRequest_Operation {
    	p := new(ChangeRequest_Operation)
    	*p = x
    	return p
    }
    
    func (x ChangeRequest_Operation) String() string {
    	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    }
    
    func (ChangeRequest_Operation) Descriptor() protoreflect.EnumDescriptor {
    	return file_proto_gosdn_pnd_pnd_proto_enumTypes[3].Descriptor()
    }
    
    func (ChangeRequest_Operation) Type() protoreflect.EnumType {
    	return &file_proto_gosdn_pnd_pnd_proto_enumTypes[3]
    }
    
    func (x ChangeRequest_Operation) Number() protoreflect.EnumNumber {
    	return protoreflect.EnumNumber(x)
    }
    
    // Deprecated: Use ChangeRequest_Operation.Descriptor instead.
    func (ChangeRequest_Operation) EnumDescriptor() ([]byte, []int) {
    	return file_proto_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{11, 0}
    }
    
    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 {
    	return file_proto_gosdn_pnd_pnd_proto_enumTypes[4].Descriptor()
    }
    
    func (ChangeRequest_ApiOperation) Type() protoreflect.EnumType {
    	return &file_proto_gosdn_pnd_pnd_proto_enumTypes[4]
    }
    
    func (x ChangeRequest_ApiOperation) Number() protoreflect.EnumNumber {
    	return protoreflect.EnumNumber(x)
    }
    
    // Deprecated: Use ChangeRequest_ApiOperation.Descriptor instead.
    func (ChangeRequest_ApiOperation) EnumDescriptor() ([]byte, []int) {
    	return file_proto_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{11, 1}
    }
    
    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.
    	Type      GetRequestGetType `protobuf:"varint,2,opt,name=type,proto3,enum=gosdn.pnd.GetRequestGetType" json:"type,omitempty"`
    	Id        string            `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
    }
    
    func (x *GetRequest) Reset() {
    	*x = GetRequest{}
    	if protoimpl.UnsafeEnabled {
    		mi := &file_proto_gosdn_pnd_pnd_proto_msgTypes[0]
    		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 {
    	mi := &file_proto_gosdn_pnd_pnd_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 GetRequest.ProtoReflect.Descriptor instead.
    func (*GetRequest) Descriptor() ([]byte, []int) {
    	return file_proto_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{0}
    }
    
    func (x *GetRequest) GetTimestamp() int64 {
    	if x != nil {
    		return x.Timestamp
    	}
    	return 0
    }
    
    func (x *GetRequest) GetType() GetRequestGetType {
    	if x != nil {
    		return x.Type
    	}
    	return GetRequest_PND
    }
    
    func (x *GetRequest) GetId() string {
    	if x != nil {
    		return x.Id
    	}
    	return ""
    }
    
    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.
    
    	// Types that are assignable to Payload:
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	//	*GetResponse_Pnd
    	//	*GetResponse_Ond
    	//	*GetResponse_Onds
    	//	*GetResponse_Sbi
    	//	*GetResponse_Sbis
    	//	*GetResponse_Changes
    
    	Payload isGetResponse_Payload `protobuf_oneof:"payload"`
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    func (x *GetResponse) Reset() {
    	*x = GetResponse{}
    	if protoimpl.UnsafeEnabled {
    		mi := &file_proto_gosdn_pnd_pnd_proto_msgTypes[1]
    		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 {
    	mi := &file_proto_gosdn_pnd_pnd_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 GetResponse.ProtoReflect.Descriptor instead.
    func (*GetResponse) Descriptor() ([]byte, []int) {
    	return file_proto_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{1}
    }
    
    func (x *GetResponse) GetTimestamp() int64 {
    	if x != nil {
    		return x.Timestamp
    	}
    	return 0
    }
    
    
    func (m *GetResponse) GetPayload() isGetResponse_Payload {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if m != nil {
    
    		return m.Payload
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    	return nil
    }
    
    func (x *GetResponse) GetPnd() *PrincipalNetworkDomain {
    
    	if x, ok := x.GetPayload().(*GetResponse_Pnd); ok {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		return x.Pnd
    	}
    	return nil
    }
    
    func (x *GetResponse) GetOnd() *OrchestratedNetworkingDevice {
    
    	if x, ok := x.GetPayload().(*GetResponse_Ond); ok {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		return x.Ond
    	}
    	return nil
    }
    
    func (x *GetResponse) GetOnds() *OrchestratedNetworkingDevices {
    
    	if x, ok := x.GetPayload().(*GetResponse_Onds); ok {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		return x.Onds
    	}
    	return nil
    }
    
    func (x *GetResponse) GetSbi() *SouthboundInterface {
    
    	if x, ok := x.GetPayload().(*GetResponse_Sbi); ok {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		return x.Sbi
    	}
    	return nil
    }
    
    func (x *GetResponse) GetSbis() *SouthboundInterfaces {
    
    	if x, ok := x.GetPayload().(*GetResponse_Sbis); ok {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		return x.Sbis
    	}
    	return nil
    }
    
    func (x *GetResponse) GetChanges() *Changes {
    
    	if x, ok := x.GetPayload().(*GetResponse_Changes); ok {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    		return x.Changes
    	}
    	return nil
    }
    
    
    type isGetResponse_Payload interface {
    	isGetResponse_Payload()
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    type GetResponse_Pnd struct {
    	Pnd *PrincipalNetworkDomain `protobuf:"bytes,2,opt,name=pnd,proto3,oneof"`
    }
    
    type GetResponse_Ond struct {
    	Ond *OrchestratedNetworkingDevice `protobuf:"bytes,3,opt,name=ond,proto3,oneof"`
    }
    
    type GetResponse_Onds struct {
    	Onds *OrchestratedNetworkingDevices `protobuf:"bytes,4,opt,name=onds,proto3,oneof"`
    }
    
    type GetResponse_Sbi struct {
    	Sbi *SouthboundInterface `protobuf:"bytes,5,opt,name=sbi,proto3,oneof"`
    }
    
    type GetResponse_Sbis struct {
    	Sbis *SouthboundInterfaces `protobuf:"bytes,6,opt,name=sbis,proto3,oneof"`
    }
    
    type GetResponse_Changes struct {
    	Changes *Changes `protobuf:"bytes,7,opt,name=changes,proto3,oneof"`
    }
    
    
    func (*GetResponse_Pnd) isGetResponse_Payload() {}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    
    func (*GetResponse_Ond) isGetResponse_Payload() {}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    
    func (*GetResponse_Onds) isGetResponse_Payload() {}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    
    func (*GetResponse_Sbi) isGetResponse_Payload() {}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    
    func (*GetResponse_Sbis) isGetResponse_Payload() {}
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    
    
    func (*GetResponse_Changes) isGetResponse_Payload() {}
    
    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"`
    	Onds        *OrchestratedNetworkingDevices `protobuf:"bytes,4,opt,name=onds,proto3" json:"onds,omitempty"`
    	Sbis        *SouthboundInterfaces          `protobuf:"bytes,5,opt,name=sbis,proto3" json:"sbis,omitempty"`
    	Changes     *Changes                       `protobuf:"bytes,6,opt,name=changes,proto3" json:"changes,omitempty"`
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    func (x *PrincipalNetworkDomain) Reset() {
    	*x = PrincipalNetworkDomain{}
    	if protoimpl.UnsafeEnabled {
    		mi := &file_proto_gosdn_pnd_pnd_proto_msgTypes[2]
    		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 {
    	mi := &file_proto_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 PrincipalNetworkDomain.ProtoReflect.Descriptor instead.
    func (*PrincipalNetworkDomain) Descriptor() ([]byte, []int) {
    	return file_proto_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{2}
    }
    
    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) GetOnds() *OrchestratedNetworkingDevices {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    		return x.Onds
    	}
    	return nil
    }
    
    
    func (x *PrincipalNetworkDomain) GetSbis() *SouthboundInterfaces {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    		return x.Sbis
    	}
    	return nil
    }
    
    
    func (x *PrincipalNetworkDomain) GetChanges() *Changes {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    		return x.Changes
    	}
    	return nil
    }
    
    type SouthboundInterface struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    	Schema string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
    }
    
    func (x *SouthboundInterface) Reset() {
    	*x = SouthboundInterface{}
    	if protoimpl.UnsafeEnabled {
    		mi := &file_proto_gosdn_pnd_pnd_proto_msgTypes[3]
    		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 {
    	mi := &file_proto_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
    	}
    	return mi.MessageOf(x)
    }
    
    // Deprecated: Use SouthboundInterface.ProtoReflect.Descriptor instead.
    func (*SouthboundInterface) Descriptor() ([]byte, []int) {
    	return file_proto_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{3}
    }
    
    func (x *SouthboundInterface) GetId() string {
    	if x != nil {
    		return x.Id
    	}
    	return ""
    }
    
    func (x *SouthboundInterface) GetSchema() string {
    	if x != nil {
    		return x.Schema
    	}
    	return ""
    }
    
    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
    }
    
    func (x *OrchestratedNetworkingDevice) Reset() {
    	*x = OrchestratedNetworkingDevice{}
    	if protoimpl.UnsafeEnabled {
    		mi := &file_proto_gosdn_pnd_pnd_proto_msgTypes[4]
    		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 {
    	mi := &file_proto_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
    	}
    	return mi.MessageOf(x)
    }
    
    // Deprecated: Use OrchestratedNetworkingDevice.ProtoReflect.Descriptor instead.
    func (*OrchestratedNetworkingDevice) Descriptor() ([]byte, []int) {
    	return file_proto_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{4}
    }
    
    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
    }
    
    type SouthboundInterfaces struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	Sbis map[string]*SouthboundInterface `protobuf:"bytes,1,rep,name=sbis,proto3" json:"sbis,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    }
    
    func (x *SouthboundInterfaces) Reset() {
    	*x = SouthboundInterfaces{}
    	if protoimpl.UnsafeEnabled {
    		mi := &file_proto_gosdn_pnd_pnd_proto_msgTypes[5]
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    }
    
    func (x *SouthboundInterfaces) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*SouthboundInterfaces) ProtoMessage() {}
    
    func (x *SouthboundInterfaces) ProtoReflect() protoreflect.Message {
    	mi := &file_proto_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 SouthboundInterfaces.ProtoReflect.Descriptor instead.
    func (*SouthboundInterfaces) Descriptor() ([]byte, []int) {
    	return file_proto_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{5}
    }
    
    func (x *SouthboundInterfaces) GetSbis() map[string]*SouthboundInterface {
    	if x != nil {
    		return x.Sbis
    	}
    	return nil
    }
    
    type OrchestratedNetworkingDevices struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    
    	Onds map[string]*OrchestratedNetworkingDevice `protobuf:"bytes,1,rep,name=onds,proto3" json:"onds,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    }
    
    func (x *OrchestratedNetworkingDevices) Reset() {
    	*x = OrchestratedNetworkingDevices{}
    	if protoimpl.UnsafeEnabled {
    		mi := &file_proto_gosdn_pnd_pnd_proto_msgTypes[6]
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    }
    
    func (x *OrchestratedNetworkingDevices) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*OrchestratedNetworkingDevices) ProtoMessage() {}
    
    func (x *OrchestratedNetworkingDevices) ProtoReflect() protoreflect.Message {
    	mi := &file_proto_gosdn_pnd_pnd_proto_msgTypes[6]
    	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 OrchestratedNetworkingDevices.ProtoReflect.Descriptor instead.
    func (*OrchestratedNetworkingDevices) Descriptor() ([]byte, []int) {
    	return file_proto_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{6}
    }
    
    
    func (x *OrchestratedNetworkingDevices) GetOnds() map[string]*OrchestratedNetworkingDevice {
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	if x != nil {
    
    		return x.Onds
    
    Manuel Kieweg's avatar
    Manuel Kieweg committed
    	}
    	return nil
    }
    
    type Change struct {
    	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{}
    	if protoimpl.UnsafeEnabled {
    		mi := &file_proto_gosdn_pnd_pnd_proto_msgTypes[7]
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    }
    
    func (x *Change) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*Change) ProtoMessage() {}
    
    func (x *Change) ProtoReflect() protoreflect.Message {
    	mi := &file_proto_gosdn_pnd_pnd_proto_msgTypes[7]
    	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) {
    	return file_proto_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{7}
    }
    
    func (x *Change) GetId() string {
    	if x != nil {
    		return x.Id
    	}
    	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 Changes struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	Sbis map[string]*Change `protobuf:"bytes,1,rep,name=sbis,proto3" json:"sbis,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    }
    
    func (x *Changes) Reset() {
    	*x = Changes{}
    	if protoimpl.UnsafeEnabled {
    		mi := &file_proto_gosdn_pnd_pnd_proto_msgTypes[8]
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    }
    
    func (x *Changes) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*Changes) ProtoMessage() {}
    
    func (x *Changes) ProtoReflect() protoreflect.Message {
    	mi := &file_proto_gosdn_pnd_pnd_proto_msgTypes[8]
    	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 Changes.ProtoReflect.Descriptor instead.
    func (*Changes) Descriptor() ([]byte, []int) {
    	return file_proto_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{8}
    }
    
    func (x *Changes) GetSbis() map[string]*Change {
    	if x != nil {
    		return x.Sbis
    	}
    	return nil
    }
    
    type SetRequest 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:
    	//	*SetRequest_Change
    	//	*SetRequest_Ond
    	//	*SetRequest_Sbi
    	Request isSetRequest_Request `protobuf_oneof:"request"`
    }
    
    func (x *SetRequest) Reset() {
    	*x = SetRequest{}
    	if protoimpl.UnsafeEnabled {
    		mi := &file_proto_gosdn_pnd_pnd_proto_msgTypes[9]
    		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    		ms.StoreMessageInfo(mi)
    	}
    }
    
    func (x *SetRequest) String() string {
    	return protoimpl.X.MessageStringOf(x)
    }
    
    func (*SetRequest) ProtoMessage() {}
    
    func (x *SetRequest) ProtoReflect() protoreflect.Message {
    	mi := &file_proto_gosdn_pnd_pnd_proto_msgTypes[9]
    	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) {
    	return file_proto_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{9}
    }
    
    func (x *SetRequest) GetTimestamp() int64 {
    	if x != nil {
    		return x.Timestamp
    	}
    	return 0
    }
    
    func (m *SetRequest) GetRequest() isSetRequest_Request {
    	if m != nil {
    		return m.Request
    	}
    	return nil
    }
    
    func (x *SetRequest) GetChange() *ChangeRequest {
    	if x, ok := x.GetRequest().(*SetRequest_Change); ok {
    		return x.Change
    	}
    	return nil
    }
    
    func (x *SetRequest) GetOnd() *OrchestratedNetworkingDevice {
    	if x, ok := x.GetRequest().(*SetRequest_Ond); ok {
    		return x.Ond
    	}
    	return nil
    }
    
    func (x *SetRequest) GetSbi() *SouthboundInterface {
    	if x, ok := x.GetRequest().(*SetRequest_Sbi); ok {
    		return x.Sbi
    	}
    	return nil
    }
    
    type isSetRequest_Request interface {
    	isSetRequest_Request()
    }
    
    type SetRequest_Change struct {
    	Change *ChangeRequest `protobuf:"bytes,2,opt,name=change,proto3,oneof"`
    }
    
    type SetRequest_Ond struct {
    	Ond *OrchestratedNetworkingDevice `protobuf:"bytes,3,opt,name=ond,proto3,oneof"`
    }
    
    type SetRequest_Sbi struct {
    	Sbi *SouthboundInterface `protobuf:"bytes,4,opt,name=sbi,proto3,oneof"`
    }
    
    func (*SetRequest_Change) isSetRequest_Request() {}
    
    func (*SetRequest_Ond) isSetRequest_Request() {}
    
    func (*SetRequest_Sbi) isSetRequest_Request() {}
    
    type SetResponse struct {
    	state         protoimpl.MessageState