diff --git a/go/onos/e2sub/subscription/subscription.pb.go b/go/onos/e2sub/subscription/subscription.pb.go index 4566b674..df788c00 100644 --- a/go/onos/e2sub/subscription/subscription.pb.go +++ b/go/onos/e2sub/subscription/subscription.pb.go @@ -358,13 +358,13 @@ func (m *ServiceModel) GetID() ServiceModelID { // Subscription is a subscription state type Subscription struct { - ID ID `protobuf:"bytes,1,opt,name=id,proto3,casttype=ID" json:"id,omitempty"` - Revision Revision `protobuf:"varint,2,opt,name=revision,proto3,casttype=Revision" json:"revision,omitempty"` - AppID AppID `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3,casttype=AppID" json:"app_id,omitempty"` - E2NodeID E2NodeID `protobuf:"bytes,4,opt,name=e2_node_id,json=e2NodeId,proto3,casttype=E2NodeID" json:"e2_node_id,omitempty"` - ServiceModel *ServiceModel `protobuf:"bytes,5,opt,name=service_model,json=serviceModel,proto3" json:"service_model,omitempty"` - Details *SubscriptionDetails `protobuf:"bytes,6,opt,name=details,proto3" json:"details,omitempty"` - Lifecycle Lifecycle `protobuf:"bytes,7,opt,name=lifecycle,proto3" json:"lifecycle"` + ID ID `protobuf:"bytes,1,opt,name=id,proto3,casttype=ID" json:"id,omitempty"` + Revision Revision `protobuf:"varint,2,opt,name=revision,proto3,casttype=Revision" json:"revision,omitempty"` + AppID AppID `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3,casttype=AppID" json:"app_id,omitempty"` + E2NodeID E2NodeID `protobuf:"bytes,4,opt,name=e2_node_id,json=e2NodeId,proto3,casttype=E2NodeID" json:"e2_node_id,omitempty"` + ServiceModel ServiceModel `protobuf:"bytes,5,opt,name=service_model,json=serviceModel,proto3" json:"service_model"` + Details SubscriptionDetails `protobuf:"bytes,6,opt,name=details,proto3" json:"details"` + Lifecycle Lifecycle `protobuf:"bytes,7,opt,name=lifecycle,proto3" json:"lifecycle"` } func (m *Subscription) Reset() { *m = Subscription{} } @@ -428,18 +428,18 @@ func (m *Subscription) GetE2NodeID() E2NodeID { return "" } -func (m *Subscription) GetServiceModel() *ServiceModel { +func (m *Subscription) GetServiceModel() ServiceModel { if m != nil { return m.ServiceModel } - return nil + return ServiceModel{} } -func (m *Subscription) GetDetails() *SubscriptionDetails { +func (m *Subscription) GetDetails() SubscriptionDetails { if m != nil { return m.Details } - return nil + return SubscriptionDetails{} } func (m *Subscription) GetLifecycle() Lifecycle { @@ -1080,79 +1080,79 @@ func init() { } var fileDescriptor_9092711340dfb78a = []byte{ - // 1137 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x5f, 0x4f, 0xdb, 0x56, - 0x14, 0x8f, 0xf3, 0x8f, 0xe4, 0x90, 0xc2, 0xe5, 0x96, 0x82, 0xc9, 0xaa, 0x04, 0xb9, 0x9a, 0x94, - 0x46, 0x1b, 0xa4, 0x66, 0x40, 0xdb, 0xb7, 0x04, 0xbb, 0x95, 0x27, 0x92, 0x50, 0xdb, 0xc0, 0x3a, - 0x4d, 0xb2, 0x42, 0x7c, 0xcb, 0x2c, 0x41, 0xec, 0xc5, 0x86, 0x89, 0x49, 0xd3, 0xde, 0xf7, 0xd4, - 0x97, 0xbd, 0xed, 0x53, 0xec, 0x53, 0xf4, 0xb1, 0x7b, 0xdb, 0x13, 0x9a, 0xc2, 0xb7, 0xe8, 0xcb, - 0x26, 0x5f, 0x9b, 0xe0, 0xf8, 0x4f, 0x00, 0xa9, 0x6f, 0xd7, 0xbf, 0x73, 0xce, 0xef, 0x9c, 0x73, - 0xef, 0xb9, 0xbf, 0x9b, 0x40, 0xdd, 0x1c, 0x98, 0xf6, 0x3a, 0xe1, 0xed, 0xb3, 0xa3, 0x75, 0xfb, - 0xec, 0xc8, 0xee, 0x0f, 0x0d, 0xcb, 0x31, 0xcc, 0xc1, 0xc4, 0xc7, 0x9a, 0x35, 0x34, 0x1d, 0x13, - 0x2f, 0xbb, 0xbe, 0x6b, 0xd4, 0x77, 0x2d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, 0x4e, 0x69, 0x3a, 0x5e, 0xc4, 0xa7, 0x34, 0x9d, - 0xa4, 0xde, 0xbf, 0xc0, 0x42, 0x44, 0x56, 0xf1, 0xb3, 0x29, 0x3f, 0xbf, 0xe2, 0xe5, 0xb9, 0xcc, - 0xdf, 0x27, 0xc4, 0xcf, 0xfd, 0x1b, 0xe0, 0xa8, 0x52, 0x4e, 0xd9, 0xf0, 0x44, 0x3d, 0x9e, 0xb2, - 0xe1, 0xc9, 0x52, 0xdc, 0x60, 0x5a, 0xec, 0x87, 0x51, 0x85, 0xf9, 0x38, 0xaa, 0x30, 0xff, 0x8e, - 0x2a, 0xcc, 0xfb, 0xab, 0x4a, 0xea, 0xe3, 0x55, 0x25, 0xf5, 0xcf, 0x55, 0x25, 0x75, 0x94, 0xa7, - 0xff, 0x7e, 0x36, 0xfe, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x4d, 0x4a, 0xc4, 0xa3, 0x5a, 0x0d, 0x00, - 0x00, + // 1138 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcd, 0x6e, 0xdb, 0x46, + 0x10, 0x16, 0xf5, 0x67, 0x69, 0xac, 0x38, 0xeb, 0x8d, 0x63, 0xd3, 0x6a, 0x20, 0x19, 0x0c, 0x0a, + 0x28, 0x42, 0x6b, 0x2b, 0x74, 0x6d, 0x27, 0xb9, 0x49, 0x26, 0x1b, 0x10, 0xb0, 0x7e, 0x42, 0xd2, + 0x76, 0x53, 0x14, 0x20, 0x64, 0x71, 0xe3, 0x12, 0xb0, 0x45, 0x56, 0xa4, 0x5d, 0xb8, 0x40, 0xd1, + 0x7b, 0x4f, 0x79, 0x80, 0x5e, 0xfa, 0x0a, 0x7d, 0x8a, 0x1c, 0xd3, 0x5b, 0x4f, 0x46, 0x21, 0xbf, + 0x45, 0x2e, 0x2d, 0xb8, 0xa4, 0x65, 0x8a, 0x3f, 0xb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f, 0x59, 0x78, 0x2c, 0xf2, 0xc1, 0x6b, 0xe2, 0xff, 0xf0, + 0xc0, 0x0e, 0x3c, 0x0c, 0x89, 0x2c, 0xde, 0x48, 0x7e, 0x1e, 0x63, 0x35, 0xbf, 0xdc, 0xb8, 0x7b, + 0x80, 0x7f, 0x35, 0x7f, 0x05, 0x1c, 0x55, 0x4e, 0xcc, 0x27, 0xf2, 0x24, 0x2a, 0x74, 0x79, 0xf3, + 0x5e, 0x31, 0xfe, 0xf1, 0x0e, 0x3c, 0x0c, 0x49, 0xec, 0x8c, 0xa2, 0xe3, 0x45, 0x7c, 0x46, 0xd1, + 0x49, 0xea, 0xfd, 0x0b, 0x2c, 0x46, 0x64, 0x15, 0x3f, 0x9f, 0xf1, 0xf3, 0x2b, 0x5e, 0x9e, 0xcb, + 0xfc, 0x7d, 0x42, 0xfc, 0xb3, 0x7f, 0x03, 0x1c, 0x55, 0xca, 0x19, 0x0d, 0x4f, 0xd4, 0xe3, 0x19, + 0x0d, 0x4f, 0x96, 0xe2, 0x06, 0xd3, 0x62, 0x3f, 0x8c, 0x2b, 0xcc, 0xc7, 0x71, 0x85, 0xf9, 0x77, + 0x5c, 0x61, 0xde, 0x5f, 0x55, 0x52, 0x1f, 0xaf, 0x2a, 0xa9, 0x7f, 0xae, 0x2a, 0xa9, 0xa3, 0x3c, + 0xfd, 0x27, 0xb4, 0xf9, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1f, 0x37, 0x7c, 0x6b, 0x66, 0x0d, + 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1543,30 +1543,26 @@ func (m *Subscription) MarshalToSizedBuffer(dAtA []byte) (int, error) { } i-- dAtA[i] = 0x3a - if m.Details != nil { - { - size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintSubscription(dAtA, i, uint64(size)) + { + size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x32 + i -= size + i = encodeVarintSubscription(dAtA, i, uint64(size)) } - if m.ServiceModel != nil { - { - size, err := m.ServiceModel.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintSubscription(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + { + size, err := m.ServiceModel.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x2a + i -= size + i = encodeVarintSubscription(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x2a if len(m.E2NodeID) > 0 { i -= len(m.E2NodeID) copy(dAtA[i:], m.E2NodeID) @@ -2110,14 +2106,10 @@ func (m *Subscription) Size() (n int) { if l > 0 { n += 1 + l + sovSubscription(uint64(l)) } - if m.ServiceModel != nil { - l = m.ServiceModel.Size() - n += 1 + l + sovSubscription(uint64(l)) - } - if m.Details != nil { - l = m.Details.Size() - n += 1 + l + sovSubscription(uint64(l)) - } + l = m.ServiceModel.Size() + n += 1 + l + sovSubscription(uint64(l)) + l = m.Details.Size() + n += 1 + l + sovSubscription(uint64(l)) l = m.Lifecycle.Size() n += 1 + l + sovSubscription(uint64(l)) return n @@ -2742,9 +2734,6 @@ func (m *Subscription) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ServiceModel == nil { - m.ServiceModel = &ServiceModel{} - } if err := m.ServiceModel.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -2778,9 +2767,6 @@ func (m *Subscription) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Details == nil { - m.Details = &SubscriptionDetails{} - } if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } diff --git a/proto/onos/e2sub/subscription/subscription.proto b/proto/onos/e2sub/subscription/subscription.proto index 5d530a4b..59e4b1c0 100644 --- a/proto/onos/e2sub/subscription/subscription.proto +++ b/proto/onos/e2sub/subscription/subscription.proto @@ -75,8 +75,8 @@ message Subscription { uint64 revision = 2 [(gogoproto.casttype) = "Revision"]; string app_id = 3 [(gogoproto.casttype) = "AppID", (gogoproto.customname) = "AppID"]; string e2_node_id = 4 [(gogoproto.casttype) = "E2NodeID", (gogoproto.customname) = "E2NodeID"]; - ServiceModel service_model = 5; - SubscriptionDetails details = 6; + ServiceModel service_model = 5 [(gogoproto.nullable) = false]; + SubscriptionDetails details = 6 [(gogoproto.nullable) = false]; Lifecycle lifecycle = 7 [(gogoproto.nullable) = false]; }