Newer
Older
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
southbound "code.fbi.h-da.de/cocsn/api/go/gosdn/southbound"
transport "code.fbi.h-da.de/cocsn/api/go/gosdn/transport"
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)
)
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
type ApiOperation int32
const (
ApiOperation_UPDATE ApiOperation = 0
ApiOperation_REPLACE ApiOperation = 1
ApiOperation_DELETE ApiOperation = 2
)
// Enum value maps for ApiOperation.
var (
ApiOperation_name = map[int32]string{
0: "UPDATE",
1: "REPLACE",
2: "DELETE",
}
ApiOperation_value = map[string]int32{
"UPDATE": 0,
"REPLACE": 1,
"DELETE": 2,
}
)
func (x ApiOperation) Enum() *ApiOperation {
p := new(ApiOperation)
*p = x
return p
}
func (x ApiOperation) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ApiOperation) Descriptor() protoreflect.EnumDescriptor {
return file_gosdn_pnd_pnd_proto_enumTypes[0].Descriptor()
}
func (ApiOperation) Type() protoreflect.EnumType {
return &file_gosdn_pnd_pnd_proto_enumTypes[0]
}
func (x ApiOperation) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ApiOperation.Descriptor instead.
func (ApiOperation) EnumDescriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{0}
}
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
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_gosdn_pnd_pnd_proto_enumTypes[1].Descriptor()
}
func (Change_State) Type() protoreflect.EnumType {
return &file_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_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{9, 0}
SetChange_CREATE SetChange_Operation = 0
SetChange_COMMIT SetChange_Operation = 1
SetChange_CONFIRM SetChange_Operation = 2
SetChange_Operation_name = map[int32]string{
0: "CREATE",
1: "COMMIT",
2: "CONFIRM",
SetChange_Operation_value = map[string]int32{
"CREATE": 0,
"COMMIT": 1,
"CONFIRM": 2,
func (x SetChange_Operation) Enum() *SetChange_Operation {
p := new(SetChange_Operation)
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SetChange_Operation) Descriptor() protoreflect.EnumDescriptor {
return file_gosdn_pnd_pnd_proto_enumTypes[2].Descriptor()
func (SetChange_Operation) Type() protoreflect.EnumType {
return &file_gosdn_pnd_pnd_proto_enumTypes[2]
func (x SetChange_Operation) Number() protoreflect.EnumNumber {
// Deprecated: Use SetChange_Operation.Descriptor instead.
func (SetChange_Operation) EnumDescriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{13, 0}
SetResponse_OK SetResponseStatus = 0
SetResponse_ERROR SetResponseStatus = 1
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)
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SetResponseStatus) Descriptor() protoreflect.EnumDescriptor {
return file_gosdn_pnd_pnd_proto_enumTypes[3].Descriptor()
func (SetResponseStatus) Type() protoreflect.EnumType {
return &file_gosdn_pnd_pnd_proto_enumTypes[3]
func (x SetResponseStatus) Number() protoreflect.EnumNumber {
// Deprecated: Use SetResponseStatus.Descriptor instead.
func (SetResponseStatus) EnumDescriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{14, 0}
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
type DeleteRequest_Type int32
const (
DeleteRequest_OND DeleteRequest_Type = 0
DeleteRequest_SBI DeleteRequest_Type = 1
DeleteRequest_PND DeleteRequest_Type = 2
)
// Enum value maps for DeleteRequest_Type.
var (
DeleteRequest_Type_name = map[int32]string{
0: "OND",
1: "SBI",
2: "PND",
}
DeleteRequest_Type_value = map[string]int32{
"OND": 0,
"SBI": 1,
"PND": 2,
}
)
func (x DeleteRequest_Type) Enum() *DeleteRequest_Type {
p := new(DeleteRequest_Type)
*p = x
return p
}
func (x DeleteRequest_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DeleteRequest_Type) Descriptor() protoreflect.EnumDescriptor {
return file_gosdn_pnd_pnd_proto_enumTypes[4].Descriptor()
}
func (DeleteRequest_Type) Type() protoreflect.EnumType {
return &file_gosdn_pnd_pnd_proto_enumTypes[4]
}
func (x DeleteRequest_Type) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use DeleteRequest_Type.Descriptor instead.
func (DeleteRequest_Type) EnumDescriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{16, 0}
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
}
type DeleteResponseStatus int32
const (
DeleteResponse_OK DeleteResponseStatus = 0
DeleteResponse_ERROR DeleteResponseStatus = 1
)
// Enum value maps for DeleteResponseStatus.
var (
DeleteResponseStatus_name = map[int32]string{
0: "OK",
1: "ERROR",
}
DeleteResponseStatus_value = map[string]int32{
"OK": 0,
"ERROR": 1,
}
)
func (x DeleteResponseStatus) Enum() *DeleteResponseStatus {
p := new(DeleteResponseStatus)
*p = x
return p
}
func (x DeleteResponseStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DeleteResponseStatus) Descriptor() protoreflect.EnumDescriptor {
return file_gosdn_pnd_pnd_proto_enumTypes[5].Descriptor()
}
func (DeleteResponseStatus) Type() protoreflect.EnumType {
return &file_gosdn_pnd_pnd_proto_enumTypes[5]
}
func (x DeleteResponseStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use DeleteResponseStatus.Descriptor instead.
func (DeleteResponseStatus) EnumDescriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{17, 0}
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"`
}
func (x *GetRequest) Reset() {
*x = GetRequest{}
if protoimpl.UnsafeEnabled {
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 {
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_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{0}
}
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
func (x *GetRequest) GetChange() *GetChange {
if x, ok := x.GetRequest().(*GetRequest_Change); ok {
return x.Change
}
return nil
}
func (x *GetRequest) GetPath() *GetPath {
if x, ok := x.GetRequest().(*GetRequest_Path); ok {
return x.Path
}
return nil
}
func (x *GetRequest) GetPid() string {
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"`
}
type GetRequest_Path struct {
Path *GetPath `protobuf:"bytes,7,opt,name=path,proto3,oneof"`
}
func (*GetRequest_Pnd) isGetRequest_Request() {}
func (*GetRequest_Ond) isGetRequest_Request() {}
func (*GetRequest_Sbi) isGetRequest_Request() {}
func (*GetRequest_Change) isGetRequest_Request() {}
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *GetPnd) Reset() {
*x = GetPnd{}
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetPnd) String() string {
func (*GetPnd) ProtoMessage() {}
func (x *GetPnd) ProtoReflect() protoreflect.Message {
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) {
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 {
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 {
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) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{2}
}
func (x *GetOnd) GetAll() bool {
func (x *GetOnd) GetDid() []string {
if x != nil {
return x.Did
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 {
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 {
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 GetSbi.ProtoReflect.Descriptor instead.
func (*GetSbi) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{3}
func (x *GetSbi) GetAll() bool {
if x != nil {
return x.All
func (x *GetSbi) GetSid() []string {
if x != nil {
return x.Sid
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 {
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 {
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
// Deprecated: Use GetChange.ProtoReflect.Descriptor instead.
func (*GetChange) Descriptor() ([]byte, []int) {
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 GetPath struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Did string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
}
func (x *GetPath) Reset() {
*x = GetPath{}
if protoimpl.UnsafeEnabled {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetPath) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetPath) ProtoMessage() {}
func (x *GetPath) ProtoReflect() protoreflect.Message {
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 GetPath.ProtoReflect.Descriptor instead.
func (*GetPath) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{5}
}
func (x *GetPath) GetDid() string {
if x != nil {
return x.Did
}
return ""
}
func (x *GetPath) GetPath() string {
if x != nil {
return x.Path
}
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.
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 []*southbound.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 {
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 {
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) {
func (x *GetResponse) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *GetResponse) GetPnd() *PrincipalNetworkDomain {
if x != nil {
return x.Pnd
}
return nil
}
func (x *GetResponse) GetOnd() []*OrchestratedNetworkingDevice {
if x != nil {
return x.Ond
}
return nil
}
func (x *GetResponse) GetSbi() []*southbound.SouthboundInterface {
if x != nil {
return x.Sbi
}
return nil
}
func (x *GetResponse) GetChange() []*Change {
if x != nil {
return x.Change
}
return nil
}
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 []*southbound.SouthboundInterface `protobuf:"bytes,5,rep,name=sbi,proto3" json:"sbi,omitempty"`
Change []*Change `protobuf:"bytes,6,rep,name=change,proto3" json:"change,omitempty"`
}
func (x *PrincipalNetworkDomain) Reset() {
*x = PrincipalNetworkDomain{}
if protoimpl.UnsafeEnabled {
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 {
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) {
}
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 {
func (x *PrincipalNetworkDomain) GetSbi() []*southbound.SouthboundInterface {
func (x *PrincipalNetworkDomain) GetChange() []*Change {
}
return nil
}
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"`
Sbi *southbound.SouthboundInterface `protobuf:"bytes,4,opt,name=sbi,proto3" json:"sbi,omitempty"`
}
func (x *OrchestratedNetworkingDevice) Reset() {
*x = OrchestratedNetworkingDevice{}
if protoimpl.UnsafeEnabled {
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 {
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) {
}
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 {
if x != nil {
return x.Device
}
return nil
}
func (x *OrchestratedNetworkingDevice) GetSbi() *southbound.SouthboundInterface {
if x != nil {
return x.Sbi
}
return nil
}
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{}
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Change) String() string {
func (*Change) ProtoMessage() {}
func (x *Change) ProtoReflect() protoreflect.Message {
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) {
func (x *Change) GetId() string {
return ""
}
func (x *Change) GetAge() int64 {
if x != nil {
return x.Age
}