Newer
Older
if protoimpl.UnsafeEnabled {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[12]
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[12]
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{12}
}
func (x *GetChangeResponse) GetTimestamp() int64 {
func (x *GetChangeResponse) GetPnd() *PrincipalNetworkDomain {
func (x *GetChangeResponse) GetChange() *Change {
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
type GetChangeListResponse 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 *GetChangeListResponse) Reset() {
*x = GetChangeListResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetChangeListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetChangeListResponse) ProtoMessage() {}
func (x *GetChangeListResponse) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[13]
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 GetChangeListResponse.ProtoReflect.Descriptor instead.
func (*GetChangeListResponse) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{13}
}
func (x *GetChangeListResponse) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *GetChangeListResponse) GetPnd() *PrincipalNetworkDomain {
if x != nil {
return x.Pnd
}
return nil
}
func (x *GetChangeListResponse) 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"`
}
func (x *PrincipalNetworkDomain) Reset() {
*x = PrincipalNetworkDomain{}
if protoimpl.UnsafeEnabled {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[14]
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_gosdn_pnd_pnd_proto_msgTypes[14]
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_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{14}
}
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 ""
}
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 {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[15]
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_gosdn_pnd_pnd_proto_msgTypes[15]
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_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{15}
}
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 {
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 ChangeState `protobuf:"varint,3,opt,name=state,proto3,enum=gosdn.pnd.ChangeState" json:"state,omitempty"`
}
func (x *Change) Reset() {
*x = Change{}
if protoimpl.UnsafeEnabled {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[16]
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_gosdn_pnd_pnd_proto_msgTypes[16]
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_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{16}
}
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() ChangeState {
return ChangeState_CHANGE_STATE_UNSPECIFIED
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"`
Pid string `protobuf:"bytes,3,opt,name=pid,proto3" json:"pid,omitempty"`
}
func (x *SetOndListRequest) Reset() {
*x = SetOndListRequest{}
mi := &file_gosdn_pnd_pnd_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SetOndListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetOndListRequest) ProtoMessage() {}
func (x *SetOndListRequest) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[17]
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 SetOndListRequest.ProtoReflect.Descriptor instead.
func (*SetOndListRequest) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{17}
func (x *SetOndListRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *SetOndListRequest) GetOnd() []*SetOnd {
if x != nil {
return x.Ond
}
return nil
}
func (x *SetOndListRequest) GetPid() string {
if x != nil {
return x.Pid
}
return ""
}
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.
Sbi []*SetSbi `protobuf:"bytes,2,rep,name=sbi,proto3" json:"sbi,omitempty"`
Pid string `protobuf:"bytes,3,opt,name=pid,proto3" json:"pid,omitempty"`
}
func (x *SetSbiListRequest) Reset() {
*x = SetSbiListRequest{}
mi := &file_gosdn_pnd_pnd_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SetSbiListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetSbiListRequest) ProtoMessage() {}
func (x *SetSbiListRequest) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[18]
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 SetSbiListRequest.ProtoReflect.Descriptor instead.
func (*SetSbiListRequest) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{18}
func (x *SetSbiListRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *SetSbiListRequest) GetSbi() []*SetSbi {
if x != nil {
return x.Sbi
}
return nil
}
func (x *SetSbiListRequest) GetPid() string {
if x != nil {
return x.Pid
}
return ""
}
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.
Change []*SetChange `protobuf:"bytes,2,rep,name=change,proto3" json:"change,omitempty"`
Pid string `protobuf:"bytes,3,opt,name=pid,proto3" json:"pid,omitempty"`
func (x *SetChangeListRequest) Reset() {
*x = SetChangeListRequest{}
mi := &file_gosdn_pnd_pnd_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SetChangeListRequest) String() string {
func (*SetChangeListRequest) ProtoMessage() {}
func (x *SetChangeListRequest) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[19]
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 SetChangeListRequest.ProtoReflect.Descriptor instead.
func (*SetChangeListRequest) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{19}
func (x *SetChangeListRequest) GetTimestamp() int64 {
func (x *SetChangeListRequest) GetChange() []*SetChange {
func (x *SetChangeListRequest) GetPid() string {
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.
ChangeRequest []*ChangeRequest `protobuf:"bytes,2,rep,name=change_request,json=changeRequest,proto3" json:"change_request,omitempty"`
Did string `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"`
Pid string `protobuf:"bytes,4,opt,name=pid,proto3" json:"pid,omitempty"`
func (x *SetPathListRequest) Reset() {
*x = SetPathListRequest{}
mi := &file_gosdn_pnd_pnd_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SetPathListRequest) String() string {
func (*SetPathListRequest) ProtoMessage() {}
func (x *SetPathListRequest) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[20]
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 SetPathListRequest.ProtoReflect.Descriptor instead.
func (*SetPathListRequest) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{20}
func (x *SetPathListRequest) GetTimestamp() int64 {
func (x *SetPathListRequest) GetChangeRequest() []*ChangeRequest {
func (x *SetPathListRequest) GetDid() string {
func (x *SetPathListRequest) GetPid() string {
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
//TODO: rename
type ChangeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
ApiOp ApiOperation `protobuf:"varint,3,opt,name=api_op,json=apiOp,proto3,enum=gosdn.pnd.ApiOperation" json:"api_op,omitempty"`
}
func (x *ChangeRequest) Reset() {
*x = ChangeRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ChangeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ChangeRequest) ProtoMessage() {}
func (x *ChangeRequest) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[21]
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 ChangeRequest.ProtoReflect.Descriptor instead.
func (*ChangeRequest) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{21}
}
func (x *ChangeRequest) GetPath() string {
if x != nil {
return x.Path
}
return ""
}
func (x *ChangeRequest) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
func (x *ChangeRequest) GetApiOp() ApiOperation {
if x != nil {
return x.ApiOp
}
return ApiOperation_API_OPERATION_UNSPECIFIED
}
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Sbi *southbound.SouthboundInterface `protobuf:"bytes,2,opt,name=sbi,proto3" json:"sbi,omitempty"`
DeviceName string `protobuf:"bytes,3,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
TransportOption *transport.TransportOption `protobuf:"bytes,4,opt,name=transport_option,json=transportOption,proto3" json:"transport_option,omitempty"`
func (x *SetOnd) Reset() {
*x = SetOnd{}
mi := &file_gosdn_pnd_pnd_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SetOnd) String() string {
func (*SetOnd) ProtoMessage() {}
func (x *SetOnd) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[22]
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 SetOnd.ProtoReflect.Descriptor instead.
func (*SetOnd) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{22}
func (x *SetOnd) GetAddress() string {
if x != nil {
return x.Address
}
return ""
}
func (x *SetOnd) GetSbi() *southbound.SouthboundInterface {
func (x *SetOnd) GetDeviceName() string {
func (x *SetOnd) GetTransportOption() *transport.TransportOption {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *SetSbi) Reset() {
*x = SetSbi{}
mi := &file_gosdn_pnd_pnd_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SetSbi) String() string {
func (*SetSbi) ProtoMessage() {}
func (x *SetSbi) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[23]
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 SetSbi.ProtoReflect.Descriptor instead.
func (*SetSbi) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{23}
type SetChange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Cuid string `protobuf:"bytes,1,opt,name=cuid,proto3" json:"cuid,omitempty"`
Op Operation `protobuf:"varint,2,opt,name=op,proto3,enum=gosdn.pnd.Operation" json:"op,omitempty"`
func (x *SetChange) Reset() {
*x = SetChange{}
if protoimpl.UnsafeEnabled {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
func (x *SetChange) String() string {
return protoimpl.X.MessageStringOf(x)
func (*SetChange) ProtoMessage() {}
func (x *SetChange) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
// Deprecated: Use SetChange.ProtoReflect.Descriptor instead.
func (*SetChange) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{24}
func (x *SetChange) GetCuid() string {
if x != nil {
return x.Cuid
}
return ""
}
func (x *SetChange) GetOp() Operation {
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.
Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=gosdn.pnd.Status" json:"status,omitempty"`
func (x *SetResponse) Reset() {
*x = SetResponse{}
mi := &file_gosdn_pnd_pnd_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SetResponse) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[25]
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 SetResponse.ProtoReflect.Descriptor instead.
func (*SetResponse) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{25}
func (x *SetResponse) GetStatus() Status {
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.
Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=gosdn.pnd.Status" json:"status,omitempty"`
Responses []*SetResponse `protobuf:"bytes,3,rep,name=responses,proto3" json:"responses,omitempty"`
func (x *SetOndListResponse) Reset() {
*x = SetOndListResponse{}
mi := &file_gosdn_pnd_pnd_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SetOndListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetOndListResponse) ProtoMessage() {}
func (x *SetOndListResponse) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[26]
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 SetOndListResponse.ProtoReflect.Descriptor instead.
func (*SetOndListResponse) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{26}
func (x *SetOndListResponse) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *SetOndListResponse) GetStatus() Status {
func (x *SetOndListResponse) GetResponses() []*SetResponse {
type SetChangeListResponse 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.
Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=gosdn.pnd.Status" json:"status,omitempty"`
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
Responses []*SetResponse `protobuf:"bytes,3,rep,name=responses,proto3" json:"responses,omitempty"`
}
func (x *SetChangeListResponse) Reset() {
*x = SetChangeListResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SetChangeListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetChangeListResponse) ProtoMessage() {}
func (x *SetChangeListResponse) ProtoReflect() protoreflect.Message {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[27]
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 SetChangeListResponse.ProtoReflect.Descriptor instead.
func (*SetChangeListResponse) Descriptor() ([]byte, []int) {
return file_gosdn_pnd_pnd_proto_rawDescGZIP(), []int{27}
}
func (x *SetChangeListResponse) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *SetChangeListResponse) GetStatus() Status {
if x != nil {
return x.Status
}
return Status_STATUS_UNSPECIFIED
}
func (x *SetChangeListResponse) GetResponses() []*SetResponse {
if x != nil {
return x.Responses
}
return nil
}
type SetChangeResponse 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.
Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=gosdn.pnd.Status" json:"status,omitempty"`
}
func (x *SetChangeResponse) Reset() {
*x = SetChangeResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_gosdn_pnd_pnd_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}