Newer
Older
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
southbound "code.fbi.h-da.de/danet/api/go/gosdn/southbound"
transport "code.fbi.h-da.de/danet/api/go/gosdn/transport"
_ "google.golang.org/genproto/googleapis/api/annotations"
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
Change_INCONSISTENT Change_State = 3
)
// Enum value maps for Change_State.
var (
Change_State_name = map[int32]string{
0: "PENDING",
1: "COMMITTED",
2: "CONFIRMED",
"PENDING": 0,
"COMMITTED": 1,
"CONFIRMED": 2,
"INCONSISTENT": 3,
}
)
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[0].Descriptor()
}
func (Change_State) Type() protoreflect.EnumType {
}
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{13, 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[1].Descriptor()
func (SetChange_Operation) Type() protoreflect.EnumType {
func (x SetChange_Operation) Number() protoreflect.EnumNumber {
// Deprecated: Use SetChange_Operation.Descriptor instead.
func (SetChange_Operation) EnumDescriptor() ([]byte, []int) {
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{20, 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_gosdn_pnd_pnd_proto_enumTypes[2].Descriptor()
}
func (ChangeRequest_ApiOperation) Type() protoreflect.EnumType {
return &file_gosdn_pnd_pnd_proto_enumTypes[2]
}
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_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{21, 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{22, 0}
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
266
267
268
269
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{23, 0}
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
312
313
314
315
}
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{24, 0}
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.
Pid string `protobuf:"bytes,4,opt,name=pid,proto3" json:"pid,omitempty"`
}
func (x *GetOndListRequest) Reset() {
*x = GetOndListRequest{}
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetOndListRequest) 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 GetOndListRequest.ProtoReflect.Descriptor instead.
func (*GetOndListRequest) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{0}
func (x *GetOndListRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
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.
Did []string `protobuf:"bytes,3,rep,name=did,proto3" json:"did,omitempty"`
Pid string `protobuf:"bytes,4,opt,name=pid,proto3" json:"pid,omitempty"`
func (x *GetOndRequest) Reset() {
*x = GetOndRequest{}
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetOndRequest) 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 GetOndRequest.ProtoReflect.Descriptor instead.
func (*GetOndRequest) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{1}
func (x *GetOndRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *GetOndRequest) GetDid() []string {
if x != nil {
return x.Did
}
return nil
}
func (x *GetOndRequest) GetPid() string {
if x != nil {
return x.Pid
}
return ""
}
type GetSbiListRequest 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.
Pid string `protobuf:"bytes,4,opt,name=pid,proto3" json:"pid,omitempty"`
func (x *GetSbiListRequest) Reset() {
*x = GetSbiListRequest{}
if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
return protoimpl.X.MessageStringOf(x)
}
func (x *GetSbiListRequest) 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 GetSbiListRequest.ProtoReflect.Descriptor instead.
func (*GetSbiListRequest) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{2}
func (x *GetSbiListRequest) GetTimestamp() int64 {
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.
Sid []string `protobuf:"bytes,3,rep,name=sid,proto3" json:"sid,omitempty"`
Pid string `protobuf:"bytes,4,opt,name=pid,proto3" json:"pid,omitempty"`
func (x *GetSbiRequest) Reset() {
*x = GetSbiRequest{}
if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
return protoimpl.X.MessageStringOf(x)
}
func (x *GetSbiRequest) 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 GetSbiRequest.ProtoReflect.Descriptor instead.
func (*GetSbiRequest) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{3}
if x != nil {
return x.Sid
func (x *GetSbiRequest) GetPid() string {
if x != nil {
return x.Pid
}
return ""
}
type GetChangeListRequest 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.
Pid string `protobuf:"bytes,4,opt,name=pid,proto3" json:"pid,omitempty"`
func (x *GetChangeListRequest) Reset() {
*x = GetChangeListRequest{}
if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
return protoimpl.X.MessageStringOf(x)
}
func (x *GetChangeListRequest) 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 GetChangeListRequest.ProtoReflect.Descriptor instead.
func (*GetChangeListRequest) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{4}
func (x *GetChangeListRequest) GetTimestamp() int64 {
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.
Cuid []string `protobuf:"bytes,3,rep,name=cuid,proto3" json:"cuid,omitempty"`
Pid string `protobuf:"bytes,4,opt,name=pid,proto3" json:"pid,omitempty"`
func (x *GetChangeRequest) Reset() {
*x = GetChangeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetChangeRequest) 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 GetChangeRequest.ProtoReflect.Descriptor instead.
func (*GetChangeRequest) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{5}
}
return x.Cuid
}
return nil
}
func (x *GetChangeRequest) GetPid() string {
if x != nil {
return x.Pid
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.
Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
Pid string `protobuf:"bytes,4,opt,name=pid,proto3" json:"pid,omitempty"`
func (x *GetPathRequest) Reset() {
*x = GetPathRequest{}
if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
return protoimpl.X.MessageStringOf(x)
func (x *GetPathRequest) 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 GetPathRequest.ProtoReflect.Descriptor instead.
func (*GetPathRequest) Descriptor() ([]byte, []int) {
if x != nil {
return x.Timestamp
}
return 0
}
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.
// TODO: Check if this is really needed. Perhaps a reference to the PND's ID
// is also sufficient.
Pnd *PrincipalNetworkDomain `protobuf:"bytes,2,opt,name=pnd,proto3" json:"pnd,omitempty"`
Ond []*OrchestratedNetworkingDevice `protobuf:"bytes,3,rep,name=ond,proto3" json:"ond,omitempty"`
func (x *GetOndResponse) Reset() {
*x = GetOndResponse{}
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetOndResponse) 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 GetOndResponse.ProtoReflect.Descriptor instead.
func (*GetOndResponse) Descriptor() ([]byte, []int) {
func (x *GetOndResponse) GetPnd() *PrincipalNetworkDomain {
func (x *GetOndResponse) GetOnd() []*OrchestratedNetworkingDevice {
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.
// TODO: Check if this is really needed. Perhaps a reference to the PND's ID
// is also sufficient.
Pnd *PrincipalNetworkDomain `protobuf:"bytes,2,opt,name=pnd,proto3" json:"pnd,omitempty"`
Sbi []*southbound.SouthboundInterface `protobuf:"bytes,3,rep,name=sbi,proto3" json:"sbi,omitempty"`
func (x *GetSbiResponse) Reset() {
*x = GetSbiResponse{}
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetSbiResponse) 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 GetSbiResponse.ProtoReflect.Descriptor instead.
func (*GetSbiResponse) Descriptor() ([]byte, []int) {
func (x *GetSbiResponse) GetPnd() *PrincipalNetworkDomain {
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
return nil
}
func (x *GetSbiResponse) GetSbi() []*southbound.SouthboundInterface {
if x != nil {
return x.Sbi
}
return nil
}
type GetPathResponse 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.
// TODO: Check if this is really needed. Perhaps a reference to the PND's ID
// is also sufficient.
Pnd *PrincipalNetworkDomain `protobuf:"bytes,2,opt,name=pnd,proto3" json:"pnd,omitempty"`
Device []*gnmi.Notification `protobuf:"bytes,3,rep,name=device,proto3" json:"device,omitempty"`
}
func (x *GetPathResponse) Reset() {
*x = GetPathResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetPathResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetPathResponse) ProtoMessage() {}
func (x *GetPathResponse) ProtoReflect() protoreflect.Message {
mi := &file_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 GetPathResponse.ProtoReflect.Descriptor instead.
func (*GetPathResponse) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{9}
}
func (x *GetPathResponse) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *GetPathResponse) GetPnd() *PrincipalNetworkDomain {
if x != nil {
return x.Pnd
}
return nil
}
func (x *GetPathResponse) GetDevice() []*gnmi.Notification {
if x != nil {
return x.Device
}
return nil
}
type GetChangeResponse 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.
// TODO: Check if this is really needed. Perhaps a reference to the PND's ID
// is also sufficient.
Pnd *PrincipalNetworkDomain `protobuf:"bytes,2,opt,name=pnd,proto3" json:"pnd,omitempty"`
Change []*Change `protobuf:"bytes,3,rep,name=change,proto3" json:"change,omitempty"`
}
func (x *GetChangeResponse) Reset() {
*x = GetChangeResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetChangeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetChangeResponse) ProtoMessage() {}
func (x *GetChangeResponse) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[10]
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 GetChangeResponse.ProtoReflect.Descriptor instead.
func (*GetChangeResponse) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{10}
}
func (x *GetChangeResponse) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *GetChangeResponse) GetPnd() *PrincipalNetworkDomain {
if x != nil {
return x.Pnd
}
return nil
}
func (x *GetChangeResponse) GetChange() []*Change {
if x != nil {
return x.Change
}