| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: voltha_protos/extensions.proto |
| |
| package extension |
| |
| import ( |
| context "context" |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| empty "github.com/golang/protobuf/ptypes/empty" |
| config "github.com/opencord/voltha-protos/v4/go/ext/config" |
| grpc "google.golang.org/grpc" |
| codes "google.golang.org/grpc/codes" |
| status "google.golang.org/grpc/status" |
| math "math" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // AlarmConfig from public import voltha_protos/ext_config.proto |
| type AlarmConfig = config.AlarmConfig |
| type AlarmConfig_OnuItuPonAlarmConfig = config.AlarmConfig_OnuItuPonAlarmConfig |
| |
| // OnuItuPonAlarm from public import voltha_protos/ext_config.proto |
| type OnuItuPonAlarm = config.OnuItuPonAlarm |
| type OnuItuPonAlarm_RateThresholdConfig_ = config.OnuItuPonAlarm_RateThresholdConfig_ |
| type OnuItuPonAlarm_RateRangeConfig_ = config.OnuItuPonAlarm_RateRangeConfig_ |
| type OnuItuPonAlarm_ValueThresholdConfig_ = config.OnuItuPonAlarm_ValueThresholdConfig_ |
| |
| // OnuItuPonAlarm_SoakTime from public import voltha_protos/ext_config.proto |
| type OnuItuPonAlarm_SoakTime = config.OnuItuPonAlarm_SoakTime |
| |
| // OnuItuPonAlarm_RateThresholdConfig from public import voltha_protos/ext_config.proto |
| type OnuItuPonAlarm_RateThresholdConfig = config.OnuItuPonAlarm_RateThresholdConfig |
| |
| // OnuItuPonAlarm_RateRangeConfig from public import voltha_protos/ext_config.proto |
| type OnuItuPonAlarm_RateRangeConfig = config.OnuItuPonAlarm_RateRangeConfig |
| |
| // OnuItuPonAlarm_ValueThresholdConfig from public import voltha_protos/ext_config.proto |
| type OnuItuPonAlarm_ValueThresholdConfig = config.OnuItuPonAlarm_ValueThresholdConfig |
| |
| // OnuItuPonAlarm_AlarmID from public import voltha_protos/ext_config.proto |
| type OnuItuPonAlarm_AlarmID = config.OnuItuPonAlarm_AlarmID |
| |
| var OnuItuPonAlarm_AlarmID_name = config.OnuItuPonAlarm_AlarmID_name |
| var OnuItuPonAlarm_AlarmID_value = config.OnuItuPonAlarm_AlarmID_value |
| |
| const OnuItuPonAlarm_RDI_ERRORS = OnuItuPonAlarm_AlarmID(config.OnuItuPonAlarm_RDI_ERRORS) |
| |
| // OnuItuPonAlarm_AlarmReportingCondition from public import voltha_protos/ext_config.proto |
| type OnuItuPonAlarm_AlarmReportingCondition = config.OnuItuPonAlarm_AlarmReportingCondition |
| |
| var OnuItuPonAlarm_AlarmReportingCondition_name = config.OnuItuPonAlarm_AlarmReportingCondition_name |
| var OnuItuPonAlarm_AlarmReportingCondition_value = config.OnuItuPonAlarm_AlarmReportingCondition_value |
| |
| const OnuItuPonAlarm_RATE_THRESHOLD = OnuItuPonAlarm_AlarmReportingCondition(config.OnuItuPonAlarm_RATE_THRESHOLD) |
| const OnuItuPonAlarm_RATE_RANGE = OnuItuPonAlarm_AlarmReportingCondition(config.OnuItuPonAlarm_RATE_RANGE) |
| const OnuItuPonAlarm_VALUE_THRESHOLD = OnuItuPonAlarm_AlarmReportingCondition(config.OnuItuPonAlarm_VALUE_THRESHOLD) |
| |
| type GetOnuUniInfoResponse_ConfigurationInd int32 |
| |
| const ( |
| GetOnuUniInfoResponse_UNKOWN GetOnuUniInfoResponse_ConfigurationInd = 0 |
| GetOnuUniInfoResponse_TEN_BASE_T_FDX GetOnuUniInfoResponse_ConfigurationInd = 1 |
| GetOnuUniInfoResponse_HUNDRED_BASE_T_FDX GetOnuUniInfoResponse_ConfigurationInd = 2 |
| GetOnuUniInfoResponse_GIGABIT_ETHERNET_FDX GetOnuUniInfoResponse_ConfigurationInd = 3 |
| GetOnuUniInfoResponse_TEN_G_ETHERNET_FDX GetOnuUniInfoResponse_ConfigurationInd = 4 |
| GetOnuUniInfoResponse_TEN_BASE_T_HDX GetOnuUniInfoResponse_ConfigurationInd = 5 |
| GetOnuUniInfoResponse_HUNDRED_BASE_T_HDX GetOnuUniInfoResponse_ConfigurationInd = 6 |
| GetOnuUniInfoResponse_GIGABIT_ETHERNET_HDX GetOnuUniInfoResponse_ConfigurationInd = 7 |
| ) |
| |
| var GetOnuUniInfoResponse_ConfigurationInd_name = map[int32]string{ |
| 0: "UNKOWN", |
| 1: "TEN_BASE_T_FDX", |
| 2: "HUNDRED_BASE_T_FDX", |
| 3: "GIGABIT_ETHERNET_FDX", |
| 4: "TEN_G_ETHERNET_FDX", |
| 5: "TEN_BASE_T_HDX", |
| 6: "HUNDRED_BASE_T_HDX", |
| 7: "GIGABIT_ETHERNET_HDX", |
| } |
| |
| var GetOnuUniInfoResponse_ConfigurationInd_value = map[string]int32{ |
| "UNKOWN": 0, |
| "TEN_BASE_T_FDX": 1, |
| "HUNDRED_BASE_T_FDX": 2, |
| "GIGABIT_ETHERNET_FDX": 3, |
| "TEN_G_ETHERNET_FDX": 4, |
| "TEN_BASE_T_HDX": 5, |
| "HUNDRED_BASE_T_HDX": 6, |
| "GIGABIT_ETHERNET_HDX": 7, |
| } |
| |
| func (x GetOnuUniInfoResponse_ConfigurationInd) String() string { |
| return proto.EnumName(GetOnuUniInfoResponse_ConfigurationInd_name, int32(x)) |
| } |
| |
| func (GetOnuUniInfoResponse_ConfigurationInd) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{3, 0} |
| } |
| |
| type GetOnuUniInfoResponse_AdministrativeState int32 |
| |
| const ( |
| GetOnuUniInfoResponse_ADMSTATE_UNDEFINED GetOnuUniInfoResponse_AdministrativeState = 0 |
| GetOnuUniInfoResponse_LOCKED GetOnuUniInfoResponse_AdministrativeState = 1 |
| GetOnuUniInfoResponse_UNLOCKED GetOnuUniInfoResponse_AdministrativeState = 2 |
| ) |
| |
| var GetOnuUniInfoResponse_AdministrativeState_name = map[int32]string{ |
| 0: "ADMSTATE_UNDEFINED", |
| 1: "LOCKED", |
| 2: "UNLOCKED", |
| } |
| |
| var GetOnuUniInfoResponse_AdministrativeState_value = map[string]int32{ |
| "ADMSTATE_UNDEFINED": 0, |
| "LOCKED": 1, |
| "UNLOCKED": 2, |
| } |
| |
| func (x GetOnuUniInfoResponse_AdministrativeState) String() string { |
| return proto.EnumName(GetOnuUniInfoResponse_AdministrativeState_name, int32(x)) |
| } |
| |
| func (GetOnuUniInfoResponse_AdministrativeState) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{3, 1} |
| } |
| |
| type GetOnuUniInfoResponse_OperationalState int32 |
| |
| const ( |
| GetOnuUniInfoResponse_OPERSTATE_UNDEFINED GetOnuUniInfoResponse_OperationalState = 0 |
| GetOnuUniInfoResponse_ENABLED GetOnuUniInfoResponse_OperationalState = 1 |
| GetOnuUniInfoResponse_DISABLED GetOnuUniInfoResponse_OperationalState = 2 |
| ) |
| |
| var GetOnuUniInfoResponse_OperationalState_name = map[int32]string{ |
| 0: "OPERSTATE_UNDEFINED", |
| 1: "ENABLED", |
| 2: "DISABLED", |
| } |
| |
| var GetOnuUniInfoResponse_OperationalState_value = map[string]int32{ |
| "OPERSTATE_UNDEFINED": 0, |
| "ENABLED": 1, |
| "DISABLED": 2, |
| } |
| |
| func (x GetOnuUniInfoResponse_OperationalState) String() string { |
| return proto.EnumName(GetOnuUniInfoResponse_OperationalState_name, int32(x)) |
| } |
| |
| func (GetOnuUniInfoResponse_OperationalState) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{3, 2} |
| } |
| |
| type GetOltPortCounters_PortType int32 |
| |
| const ( |
| GetOltPortCounters_Port_UNKNOWN GetOltPortCounters_PortType = 0 |
| GetOltPortCounters_Port_ETHERNET_NNI GetOltPortCounters_PortType = 1 |
| GetOltPortCounters_Port_PON_OLT GetOltPortCounters_PortType = 2 |
| ) |
| |
| var GetOltPortCounters_PortType_name = map[int32]string{ |
| 0: "Port_UNKNOWN", |
| 1: "Port_ETHERNET_NNI", |
| 2: "Port_PON_OLT", |
| } |
| |
| var GetOltPortCounters_PortType_value = map[string]int32{ |
| "Port_UNKNOWN": 0, |
| "Port_ETHERNET_NNI": 1, |
| "Port_PON_OLT": 2, |
| } |
| |
| func (x GetOltPortCounters_PortType) String() string { |
| return proto.EnumName(GetOltPortCounters_PortType_name, int32(x)) |
| } |
| |
| func (GetOltPortCounters_PortType) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{4, 0} |
| } |
| |
| type GetOnuEthernetBridgePortHistory_Direction int32 |
| |
| const ( |
| GetOnuEthernetBridgePortHistory_UNDEFINED GetOnuEthernetBridgePortHistory_Direction = 0 |
| GetOnuEthernetBridgePortHistory_UPSTREAM GetOnuEthernetBridgePortHistory_Direction = 1 |
| GetOnuEthernetBridgePortHistory_DOWNSTREAM GetOnuEthernetBridgePortHistory_Direction = 2 |
| ) |
| |
| var GetOnuEthernetBridgePortHistory_Direction_name = map[int32]string{ |
| 0: "UNDEFINED", |
| 1: "UPSTREAM", |
| 2: "DOWNSTREAM", |
| } |
| |
| var GetOnuEthernetBridgePortHistory_Direction_value = map[string]int32{ |
| "UNDEFINED": 0, |
| "UPSTREAM": 1, |
| "DOWNSTREAM": 2, |
| } |
| |
| func (x GetOnuEthernetBridgePortHistory_Direction) String() string { |
| return proto.EnumName(GetOnuEthernetBridgePortHistory_Direction_name, int32(x)) |
| } |
| |
| func (GetOnuEthernetBridgePortHistory_Direction) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{8, 0} |
| } |
| |
| type GetValueResponse_Status int32 |
| |
| const ( |
| GetValueResponse_STATUS_UNDEFINED GetValueResponse_Status = 0 |
| GetValueResponse_OK GetValueResponse_Status = 1 |
| GetValueResponse_ERROR GetValueResponse_Status = 2 |
| ) |
| |
| var GetValueResponse_Status_name = map[int32]string{ |
| 0: "STATUS_UNDEFINED", |
| 1: "OK", |
| 2: "ERROR", |
| } |
| |
| var GetValueResponse_Status_value = map[string]int32{ |
| "STATUS_UNDEFINED": 0, |
| "OK": 1, |
| "ERROR": 2, |
| } |
| |
| func (x GetValueResponse_Status) String() string { |
| return proto.EnumName(GetValueResponse_Status_name, int32(x)) |
| } |
| |
| func (GetValueResponse_Status) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{13, 0} |
| } |
| |
| type GetValueResponse_ErrorReason int32 |
| |
| const ( |
| GetValueResponse_REASON_UNDEFINED GetValueResponse_ErrorReason = 0 |
| GetValueResponse_UNSUPPORTED GetValueResponse_ErrorReason = 1 |
| GetValueResponse_INVALID_DEVICE_ID GetValueResponse_ErrorReason = 2 |
| GetValueResponse_INVALID_PORT_TYPE GetValueResponse_ErrorReason = 3 |
| GetValueResponse_TIMEOUT GetValueResponse_ErrorReason = 4 |
| GetValueResponse_INVALID_REQ_TYPE GetValueResponse_ErrorReason = 5 |
| GetValueResponse_INTERNAL_ERROR GetValueResponse_ErrorReason = 6 |
| ) |
| |
| var GetValueResponse_ErrorReason_name = map[int32]string{ |
| 0: "REASON_UNDEFINED", |
| 1: "UNSUPPORTED", |
| 2: "INVALID_DEVICE_ID", |
| 3: "INVALID_PORT_TYPE", |
| 4: "TIMEOUT", |
| 5: "INVALID_REQ_TYPE", |
| 6: "INTERNAL_ERROR", |
| } |
| |
| var GetValueResponse_ErrorReason_value = map[string]int32{ |
| "REASON_UNDEFINED": 0, |
| "UNSUPPORTED": 1, |
| "INVALID_DEVICE_ID": 2, |
| "INVALID_PORT_TYPE": 3, |
| "TIMEOUT": 4, |
| "INVALID_REQ_TYPE": 5, |
| "INTERNAL_ERROR": 6, |
| } |
| |
| func (x GetValueResponse_ErrorReason) String() string { |
| return proto.EnumName(GetValueResponse_ErrorReason_name, int32(x)) |
| } |
| |
| func (GetValueResponse_ErrorReason) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{13, 1} |
| } |
| |
| type SetValueResponse_Status int32 |
| |
| const ( |
| SetValueResponse_STATUS_UNDEFINED SetValueResponse_Status = 0 |
| SetValueResponse_OK SetValueResponse_Status = 1 |
| SetValueResponse_ERROR SetValueResponse_Status = 2 |
| ) |
| |
| var SetValueResponse_Status_name = map[int32]string{ |
| 0: "STATUS_UNDEFINED", |
| 1: "OK", |
| 2: "ERROR", |
| } |
| |
| var SetValueResponse_Status_value = map[string]int32{ |
| "STATUS_UNDEFINED": 0, |
| "OK": 1, |
| "ERROR": 2, |
| } |
| |
| func (x SetValueResponse_Status) String() string { |
| return proto.EnumName(SetValueResponse_Status_name, int32(x)) |
| } |
| |
| func (SetValueResponse_Status) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{15, 0} |
| } |
| |
| type SetValueResponse_ErrorReason int32 |
| |
| const ( |
| SetValueResponse_REASON_UNDEFINED SetValueResponse_ErrorReason = 0 |
| SetValueResponse_UNSUPPORTED SetValueResponse_ErrorReason = 1 |
| ) |
| |
| var SetValueResponse_ErrorReason_name = map[int32]string{ |
| 0: "REASON_UNDEFINED", |
| 1: "UNSUPPORTED", |
| } |
| |
| var SetValueResponse_ErrorReason_value = map[string]int32{ |
| "REASON_UNDEFINED": 0, |
| "UNSUPPORTED": 1, |
| } |
| |
| func (x SetValueResponse_ErrorReason) String() string { |
| return proto.EnumName(SetValueResponse_ErrorReason_name, int32(x)) |
| } |
| |
| func (SetValueResponse_ErrorReason) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{15, 1} |
| } |
| |
| type GetDistanceRequest struct { |
| OnuDeviceId string `protobuf:"bytes,1,opt,name=onuDeviceId,proto3" json:"onuDeviceId,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetDistanceRequest) Reset() { *m = GetDistanceRequest{} } |
| func (m *GetDistanceRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetDistanceRequest) ProtoMessage() {} |
| func (*GetDistanceRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{0} |
| } |
| |
| func (m *GetDistanceRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetDistanceRequest.Unmarshal(m, b) |
| } |
| func (m *GetDistanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetDistanceRequest.Marshal(b, m, deterministic) |
| } |
| func (m *GetDistanceRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetDistanceRequest.Merge(m, src) |
| } |
| func (m *GetDistanceRequest) XXX_Size() int { |
| return xxx_messageInfo_GetDistanceRequest.Size(m) |
| } |
| func (m *GetDistanceRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetDistanceRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetDistanceRequest proto.InternalMessageInfo |
| |
| func (m *GetDistanceRequest) GetOnuDeviceId() string { |
| if m != nil { |
| return m.OnuDeviceId |
| } |
| return "" |
| } |
| |
| type GetDistanceResponse struct { |
| Distance uint32 `protobuf:"varint,1,opt,name=distance,proto3" json:"distance,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetDistanceResponse) Reset() { *m = GetDistanceResponse{} } |
| func (m *GetDistanceResponse) String() string { return proto.CompactTextString(m) } |
| func (*GetDistanceResponse) ProtoMessage() {} |
| func (*GetDistanceResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{1} |
| } |
| |
| func (m *GetDistanceResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetDistanceResponse.Unmarshal(m, b) |
| } |
| func (m *GetDistanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetDistanceResponse.Marshal(b, m, deterministic) |
| } |
| func (m *GetDistanceResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetDistanceResponse.Merge(m, src) |
| } |
| func (m *GetDistanceResponse) XXX_Size() int { |
| return xxx_messageInfo_GetDistanceResponse.Size(m) |
| } |
| func (m *GetDistanceResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetDistanceResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetDistanceResponse proto.InternalMessageInfo |
| |
| func (m *GetDistanceResponse) GetDistance() uint32 { |
| if m != nil { |
| return m.Distance |
| } |
| return 0 |
| } |
| |
| type GetOnuUniInfoRequest struct { |
| UniIndex uint32 `protobuf:"varint,1,opt,name=uniIndex,proto3" json:"uniIndex,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetOnuUniInfoRequest) Reset() { *m = GetOnuUniInfoRequest{} } |
| func (m *GetOnuUniInfoRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetOnuUniInfoRequest) ProtoMessage() {} |
| func (*GetOnuUniInfoRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{2} |
| } |
| |
| func (m *GetOnuUniInfoRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetOnuUniInfoRequest.Unmarshal(m, b) |
| } |
| func (m *GetOnuUniInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetOnuUniInfoRequest.Marshal(b, m, deterministic) |
| } |
| func (m *GetOnuUniInfoRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetOnuUniInfoRequest.Merge(m, src) |
| } |
| func (m *GetOnuUniInfoRequest) XXX_Size() int { |
| return xxx_messageInfo_GetOnuUniInfoRequest.Size(m) |
| } |
| func (m *GetOnuUniInfoRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetOnuUniInfoRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetOnuUniInfoRequest proto.InternalMessageInfo |
| |
| func (m *GetOnuUniInfoRequest) GetUniIndex() uint32 { |
| if m != nil { |
| return m.UniIndex |
| } |
| return 0 |
| } |
| |
| type GetOnuUniInfoResponse struct { |
| AdmState GetOnuUniInfoResponse_AdministrativeState `protobuf:"varint,1,opt,name=admState,proto3,enum=extension.GetOnuUniInfoResponse_AdministrativeState" json:"admState,omitempty"` |
| OperState GetOnuUniInfoResponse_OperationalState `protobuf:"varint,2,opt,name=operState,proto3,enum=extension.GetOnuUniInfoResponse_OperationalState" json:"operState,omitempty"` |
| ConfigInd GetOnuUniInfoResponse_ConfigurationInd `protobuf:"varint,3,opt,name=configInd,proto3,enum=extension.GetOnuUniInfoResponse_ConfigurationInd" json:"configInd,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetOnuUniInfoResponse) Reset() { *m = GetOnuUniInfoResponse{} } |
| func (m *GetOnuUniInfoResponse) String() string { return proto.CompactTextString(m) } |
| func (*GetOnuUniInfoResponse) ProtoMessage() {} |
| func (*GetOnuUniInfoResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{3} |
| } |
| |
| func (m *GetOnuUniInfoResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetOnuUniInfoResponse.Unmarshal(m, b) |
| } |
| func (m *GetOnuUniInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetOnuUniInfoResponse.Marshal(b, m, deterministic) |
| } |
| func (m *GetOnuUniInfoResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetOnuUniInfoResponse.Merge(m, src) |
| } |
| func (m *GetOnuUniInfoResponse) XXX_Size() int { |
| return xxx_messageInfo_GetOnuUniInfoResponse.Size(m) |
| } |
| func (m *GetOnuUniInfoResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetOnuUniInfoResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetOnuUniInfoResponse proto.InternalMessageInfo |
| |
| func (m *GetOnuUniInfoResponse) GetAdmState() GetOnuUniInfoResponse_AdministrativeState { |
| if m != nil { |
| return m.AdmState |
| } |
| return GetOnuUniInfoResponse_ADMSTATE_UNDEFINED |
| } |
| |
| func (m *GetOnuUniInfoResponse) GetOperState() GetOnuUniInfoResponse_OperationalState { |
| if m != nil { |
| return m.OperState |
| } |
| return GetOnuUniInfoResponse_OPERSTATE_UNDEFINED |
| } |
| |
| func (m *GetOnuUniInfoResponse) GetConfigInd() GetOnuUniInfoResponse_ConfigurationInd { |
| if m != nil { |
| return m.ConfigInd |
| } |
| return GetOnuUniInfoResponse_UNKOWN |
| } |
| |
| type GetOltPortCounters struct { |
| PortNo uint32 `protobuf:"varint,1,opt,name=portNo,proto3" json:"portNo,omitempty"` |
| PortType GetOltPortCounters_PortType `protobuf:"varint,2,opt,name=portType,proto3,enum=extension.GetOltPortCounters_PortType" json:"portType,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetOltPortCounters) Reset() { *m = GetOltPortCounters{} } |
| func (m *GetOltPortCounters) String() string { return proto.CompactTextString(m) } |
| func (*GetOltPortCounters) ProtoMessage() {} |
| func (*GetOltPortCounters) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{4} |
| } |
| |
| func (m *GetOltPortCounters) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetOltPortCounters.Unmarshal(m, b) |
| } |
| func (m *GetOltPortCounters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetOltPortCounters.Marshal(b, m, deterministic) |
| } |
| func (m *GetOltPortCounters) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetOltPortCounters.Merge(m, src) |
| } |
| func (m *GetOltPortCounters) XXX_Size() int { |
| return xxx_messageInfo_GetOltPortCounters.Size(m) |
| } |
| func (m *GetOltPortCounters) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetOltPortCounters.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetOltPortCounters proto.InternalMessageInfo |
| |
| func (m *GetOltPortCounters) GetPortNo() uint32 { |
| if m != nil { |
| return m.PortNo |
| } |
| return 0 |
| } |
| |
| func (m *GetOltPortCounters) GetPortType() GetOltPortCounters_PortType { |
| if m != nil { |
| return m.PortType |
| } |
| return GetOltPortCounters_Port_UNKNOWN |
| } |
| |
| type GetOltPortCountersResponse struct { |
| TxBytes uint64 `protobuf:"varint,1,opt,name=txBytes,proto3" json:"txBytes,omitempty"` |
| RxBytes uint64 `protobuf:"varint,2,opt,name=rxBytes,proto3" json:"rxBytes,omitempty"` |
| TxPackets uint64 `protobuf:"varint,3,opt,name=txPackets,proto3" json:"txPackets,omitempty"` |
| RxPackets uint64 `protobuf:"varint,4,opt,name=rxPackets,proto3" json:"rxPackets,omitempty"` |
| TxErrorPackets uint64 `protobuf:"varint,5,opt,name=txErrorPackets,proto3" json:"txErrorPackets,omitempty"` |
| RxErrorPackets uint64 `protobuf:"varint,6,opt,name=rxErrorPackets,proto3" json:"rxErrorPackets,omitempty"` |
| TxBcastPackets uint64 `protobuf:"varint,7,opt,name=txBcastPackets,proto3" json:"txBcastPackets,omitempty"` |
| RxBcastPackets uint64 `protobuf:"varint,8,opt,name=rxBcastPackets,proto3" json:"rxBcastPackets,omitempty"` |
| TxUcastPackets uint64 `protobuf:"varint,9,opt,name=txUcastPackets,proto3" json:"txUcastPackets,omitempty"` |
| RxUcastPackets uint64 `protobuf:"varint,10,opt,name=rxUcastPackets,proto3" json:"rxUcastPackets,omitempty"` |
| TxMcastPackets uint64 `protobuf:"varint,11,opt,name=txMcastPackets,proto3" json:"txMcastPackets,omitempty"` |
| RxMcastPackets uint64 `protobuf:"varint,12,opt,name=rxMcastPackets,proto3" json:"rxMcastPackets,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetOltPortCountersResponse) Reset() { *m = GetOltPortCountersResponse{} } |
| func (m *GetOltPortCountersResponse) String() string { return proto.CompactTextString(m) } |
| func (*GetOltPortCountersResponse) ProtoMessage() {} |
| func (*GetOltPortCountersResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{5} |
| } |
| |
| func (m *GetOltPortCountersResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetOltPortCountersResponse.Unmarshal(m, b) |
| } |
| func (m *GetOltPortCountersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetOltPortCountersResponse.Marshal(b, m, deterministic) |
| } |
| func (m *GetOltPortCountersResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetOltPortCountersResponse.Merge(m, src) |
| } |
| func (m *GetOltPortCountersResponse) XXX_Size() int { |
| return xxx_messageInfo_GetOltPortCountersResponse.Size(m) |
| } |
| func (m *GetOltPortCountersResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetOltPortCountersResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetOltPortCountersResponse proto.InternalMessageInfo |
| |
| func (m *GetOltPortCountersResponse) GetTxBytes() uint64 { |
| if m != nil { |
| return m.TxBytes |
| } |
| return 0 |
| } |
| |
| func (m *GetOltPortCountersResponse) GetRxBytes() uint64 { |
| if m != nil { |
| return m.RxBytes |
| } |
| return 0 |
| } |
| |
| func (m *GetOltPortCountersResponse) GetTxPackets() uint64 { |
| if m != nil { |
| return m.TxPackets |
| } |
| return 0 |
| } |
| |
| func (m *GetOltPortCountersResponse) GetRxPackets() uint64 { |
| if m != nil { |
| return m.RxPackets |
| } |
| return 0 |
| } |
| |
| func (m *GetOltPortCountersResponse) GetTxErrorPackets() uint64 { |
| if m != nil { |
| return m.TxErrorPackets |
| } |
| return 0 |
| } |
| |
| func (m *GetOltPortCountersResponse) GetRxErrorPackets() uint64 { |
| if m != nil { |
| return m.RxErrorPackets |
| } |
| return 0 |
| } |
| |
| func (m *GetOltPortCountersResponse) GetTxBcastPackets() uint64 { |
| if m != nil { |
| return m.TxBcastPackets |
| } |
| return 0 |
| } |
| |
| func (m *GetOltPortCountersResponse) GetRxBcastPackets() uint64 { |
| if m != nil { |
| return m.RxBcastPackets |
| } |
| return 0 |
| } |
| |
| func (m *GetOltPortCountersResponse) GetTxUcastPackets() uint64 { |
| if m != nil { |
| return m.TxUcastPackets |
| } |
| return 0 |
| } |
| |
| func (m *GetOltPortCountersResponse) GetRxUcastPackets() uint64 { |
| if m != nil { |
| return m.RxUcastPackets |
| } |
| return 0 |
| } |
| |
| func (m *GetOltPortCountersResponse) GetTxMcastPackets() uint64 { |
| if m != nil { |
| return m.TxMcastPackets |
| } |
| return 0 |
| } |
| |
| func (m *GetOltPortCountersResponse) GetRxMcastPackets() uint64 { |
| if m != nil { |
| return m.RxMcastPackets |
| } |
| return 0 |
| } |
| |
| type GetOnuPonOpticalInfo struct { |
| Empty *empty.Empty `protobuf:"bytes,1,opt,name=empty,proto3" json:"empty,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetOnuPonOpticalInfo) Reset() { *m = GetOnuPonOpticalInfo{} } |
| func (m *GetOnuPonOpticalInfo) String() string { return proto.CompactTextString(m) } |
| func (*GetOnuPonOpticalInfo) ProtoMessage() {} |
| func (*GetOnuPonOpticalInfo) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{6} |
| } |
| |
| func (m *GetOnuPonOpticalInfo) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetOnuPonOpticalInfo.Unmarshal(m, b) |
| } |
| func (m *GetOnuPonOpticalInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetOnuPonOpticalInfo.Marshal(b, m, deterministic) |
| } |
| func (m *GetOnuPonOpticalInfo) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetOnuPonOpticalInfo.Merge(m, src) |
| } |
| func (m *GetOnuPonOpticalInfo) XXX_Size() int { |
| return xxx_messageInfo_GetOnuPonOpticalInfo.Size(m) |
| } |
| func (m *GetOnuPonOpticalInfo) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetOnuPonOpticalInfo.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetOnuPonOpticalInfo proto.InternalMessageInfo |
| |
| func (m *GetOnuPonOpticalInfo) GetEmpty() *empty.Empty { |
| if m != nil { |
| return m.Empty |
| } |
| return nil |
| } |
| |
| // These values correspond to the Optical Line Supervision Test results |
| // described in section A3.39.5 of ITU-T G.988 (11/2017) specification. |
| type GetOnuPonOpticalInfoResponse struct { |
| PowerFeedVoltage float32 `protobuf:"fixed32,1,opt,name=powerFeedVoltage,proto3" json:"powerFeedVoltage,omitempty"` |
| ReceivedOpticalPower float32 `protobuf:"fixed32,2,opt,name=receivedOpticalPower,proto3" json:"receivedOpticalPower,omitempty"` |
| MeanOpticalLaunchPower float32 `protobuf:"fixed32,3,opt,name=meanOpticalLaunchPower,proto3" json:"meanOpticalLaunchPower,omitempty"` |
| LaserBiasCurrent float32 `protobuf:"fixed32,4,opt,name=laserBiasCurrent,proto3" json:"laserBiasCurrent,omitempty"` |
| Temperature float32 `protobuf:"fixed32,5,opt,name=temperature,proto3" json:"temperature,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetOnuPonOpticalInfoResponse) Reset() { *m = GetOnuPonOpticalInfoResponse{} } |
| func (m *GetOnuPonOpticalInfoResponse) String() string { return proto.CompactTextString(m) } |
| func (*GetOnuPonOpticalInfoResponse) ProtoMessage() {} |
| func (*GetOnuPonOpticalInfoResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{7} |
| } |
| |
| func (m *GetOnuPonOpticalInfoResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetOnuPonOpticalInfoResponse.Unmarshal(m, b) |
| } |
| func (m *GetOnuPonOpticalInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetOnuPonOpticalInfoResponse.Marshal(b, m, deterministic) |
| } |
| func (m *GetOnuPonOpticalInfoResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetOnuPonOpticalInfoResponse.Merge(m, src) |
| } |
| func (m *GetOnuPonOpticalInfoResponse) XXX_Size() int { |
| return xxx_messageInfo_GetOnuPonOpticalInfoResponse.Size(m) |
| } |
| func (m *GetOnuPonOpticalInfoResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetOnuPonOpticalInfoResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetOnuPonOpticalInfoResponse proto.InternalMessageInfo |
| |
| func (m *GetOnuPonOpticalInfoResponse) GetPowerFeedVoltage() float32 { |
| if m != nil { |
| return m.PowerFeedVoltage |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuPonOpticalInfoResponse) GetReceivedOpticalPower() float32 { |
| if m != nil { |
| return m.ReceivedOpticalPower |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuPonOpticalInfoResponse) GetMeanOpticalLaunchPower() float32 { |
| if m != nil { |
| return m.MeanOpticalLaunchPower |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuPonOpticalInfoResponse) GetLaserBiasCurrent() float32 { |
| if m != nil { |
| return m.LaserBiasCurrent |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuPonOpticalInfoResponse) GetTemperature() float32 { |
| if m != nil { |
| return m.Temperature |
| } |
| return 0 |
| } |
| |
| type GetOnuEthernetBridgePortHistory struct { |
| Direction GetOnuEthernetBridgePortHistory_Direction `protobuf:"varint,1,opt,name=direction,proto3,enum=extension.GetOnuEthernetBridgePortHistory_Direction" json:"direction,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistory) Reset() { *m = GetOnuEthernetBridgePortHistory{} } |
| func (m *GetOnuEthernetBridgePortHistory) String() string { return proto.CompactTextString(m) } |
| func (*GetOnuEthernetBridgePortHistory) ProtoMessage() {} |
| func (*GetOnuEthernetBridgePortHistory) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{8} |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistory) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetOnuEthernetBridgePortHistory.Unmarshal(m, b) |
| } |
| func (m *GetOnuEthernetBridgePortHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetOnuEthernetBridgePortHistory.Marshal(b, m, deterministic) |
| } |
| func (m *GetOnuEthernetBridgePortHistory) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetOnuEthernetBridgePortHistory.Merge(m, src) |
| } |
| func (m *GetOnuEthernetBridgePortHistory) XXX_Size() int { |
| return xxx_messageInfo_GetOnuEthernetBridgePortHistory.Size(m) |
| } |
| func (m *GetOnuEthernetBridgePortHistory) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetOnuEthernetBridgePortHistory.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetOnuEthernetBridgePortHistory proto.InternalMessageInfo |
| |
| func (m *GetOnuEthernetBridgePortHistory) GetDirection() GetOnuEthernetBridgePortHistory_Direction { |
| if m != nil { |
| return m.Direction |
| } |
| return GetOnuEthernetBridgePortHistory_UNDEFINED |
| } |
| |
| type GetOnuEthernetBridgePortHistoryResponse struct { |
| DropEvents uint32 `protobuf:"varint,1,opt,name=dropEvents,proto3" json:"dropEvents,omitempty"` |
| Octets uint32 `protobuf:"varint,2,opt,name=octets,proto3" json:"octets,omitempty"` |
| Packets uint32 `protobuf:"varint,3,opt,name=packets,proto3" json:"packets,omitempty"` |
| BroadcastPackets uint32 `protobuf:"varint,4,opt,name=broadcastPackets,proto3" json:"broadcastPackets,omitempty"` |
| MulticastPackets uint32 `protobuf:"varint,5,opt,name=multicastPackets,proto3" json:"multicastPackets,omitempty"` |
| CrcErroredPackets uint32 `protobuf:"varint,6,opt,name=crcErroredPackets,proto3" json:"crcErroredPackets,omitempty"` |
| UndersizePackets uint32 `protobuf:"varint,7,opt,name=undersizePackets,proto3" json:"undersizePackets,omitempty"` |
| OversizePackets uint32 `protobuf:"varint,8,opt,name=oversizePackets,proto3" json:"oversizePackets,omitempty"` |
| Packets64Octets uint32 `protobuf:"varint,9,opt,name=packets64octets,proto3" json:"packets64octets,omitempty"` |
| Packets65To127Octets uint32 `protobuf:"varint,10,opt,name=packets65To127octets,proto3" json:"packets65To127octets,omitempty"` |
| Packets128To255Octets uint32 `protobuf:"varint,11,opt,name=packets128To255Octets,proto3" json:"packets128To255Octets,omitempty"` |
| Packets256To511Octets uint32 `protobuf:"varint,12,opt,name=packets256To511octets,proto3" json:"packets256To511octets,omitempty"` |
| Packets512To1023Octets uint32 `protobuf:"varint,13,opt,name=packets512To1023octets,proto3" json:"packets512To1023octets,omitempty"` |
| Packets1024To1518Octets uint32 `protobuf:"varint,14,opt,name=packets1024To1518octets,proto3" json:"packets1024To1518octets,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) Reset() { |
| *m = GetOnuEthernetBridgePortHistoryResponse{} |
| } |
| func (m *GetOnuEthernetBridgePortHistoryResponse) String() string { return proto.CompactTextString(m) } |
| func (*GetOnuEthernetBridgePortHistoryResponse) ProtoMessage() {} |
| func (*GetOnuEthernetBridgePortHistoryResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{9} |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse.Unmarshal(m, b) |
| } |
| func (m *GetOnuEthernetBridgePortHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse.Marshal(b, m, deterministic) |
| } |
| func (m *GetOnuEthernetBridgePortHistoryResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse.Merge(m, src) |
| } |
| func (m *GetOnuEthernetBridgePortHistoryResponse) XXX_Size() int { |
| return xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse.Size(m) |
| } |
| func (m *GetOnuEthernetBridgePortHistoryResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse proto.InternalMessageInfo |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) GetDropEvents() uint32 { |
| if m != nil { |
| return m.DropEvents |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) GetOctets() uint32 { |
| if m != nil { |
| return m.Octets |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets() uint32 { |
| if m != nil { |
| return m.Packets |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) GetBroadcastPackets() uint32 { |
| if m != nil { |
| return m.BroadcastPackets |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) GetMulticastPackets() uint32 { |
| if m != nil { |
| return m.MulticastPackets |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) GetCrcErroredPackets() uint32 { |
| if m != nil { |
| return m.CrcErroredPackets |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) GetUndersizePackets() uint32 { |
| if m != nil { |
| return m.UndersizePackets |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) GetOversizePackets() uint32 { |
| if m != nil { |
| return m.OversizePackets |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets64Octets() uint32 { |
| if m != nil { |
| return m.Packets64Octets |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets65To127Octets() uint32 { |
| if m != nil { |
| return m.Packets65To127Octets |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets128To255Octets() uint32 { |
| if m != nil { |
| return m.Packets128To255Octets |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets256To511Octets() uint32 { |
| if m != nil { |
| return m.Packets256To511Octets |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets512To1023Octets() uint32 { |
| if m != nil { |
| return m.Packets512To1023Octets |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets1024To1518Octets() uint32 { |
| if m != nil { |
| return m.Packets1024To1518Octets |
| } |
| return 0 |
| } |
| |
| type GetOnuFecHistory struct { |
| Empty *empty.Empty `protobuf:"bytes,1,opt,name=empty,proto3" json:"empty,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetOnuFecHistory) Reset() { *m = GetOnuFecHistory{} } |
| func (m *GetOnuFecHistory) String() string { return proto.CompactTextString(m) } |
| func (*GetOnuFecHistory) ProtoMessage() {} |
| func (*GetOnuFecHistory) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{10} |
| } |
| |
| func (m *GetOnuFecHistory) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetOnuFecHistory.Unmarshal(m, b) |
| } |
| func (m *GetOnuFecHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetOnuFecHistory.Marshal(b, m, deterministic) |
| } |
| func (m *GetOnuFecHistory) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetOnuFecHistory.Merge(m, src) |
| } |
| func (m *GetOnuFecHistory) XXX_Size() int { |
| return xxx_messageInfo_GetOnuFecHistory.Size(m) |
| } |
| func (m *GetOnuFecHistory) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetOnuFecHistory.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetOnuFecHistory proto.InternalMessageInfo |
| |
| func (m *GetOnuFecHistory) GetEmpty() *empty.Empty { |
| if m != nil { |
| return m.Empty |
| } |
| return nil |
| } |
| |
| type GetOnuFecHistoryResponse struct { |
| CorrectedBytes uint32 `protobuf:"varint,1,opt,name=correctedBytes,proto3" json:"correctedBytes,omitempty"` |
| CorrectedCodeWords uint32 `protobuf:"varint,2,opt,name=correctedCodeWords,proto3" json:"correctedCodeWords,omitempty"` |
| FecSeconds uint32 `protobuf:"varint,3,opt,name=fecSeconds,proto3" json:"fecSeconds,omitempty"` |
| TotalCodeWords uint32 `protobuf:"varint,4,opt,name=totalCodeWords,proto3" json:"totalCodeWords,omitempty"` |
| UncorrectableCodeWords uint32 `protobuf:"varint,5,opt,name=uncorrectableCodeWords,proto3" json:"uncorrectableCodeWords,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetOnuFecHistoryResponse) Reset() { *m = GetOnuFecHistoryResponse{} } |
| func (m *GetOnuFecHistoryResponse) String() string { return proto.CompactTextString(m) } |
| func (*GetOnuFecHistoryResponse) ProtoMessage() {} |
| func (*GetOnuFecHistoryResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{11} |
| } |
| |
| func (m *GetOnuFecHistoryResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetOnuFecHistoryResponse.Unmarshal(m, b) |
| } |
| func (m *GetOnuFecHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetOnuFecHistoryResponse.Marshal(b, m, deterministic) |
| } |
| func (m *GetOnuFecHistoryResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetOnuFecHistoryResponse.Merge(m, src) |
| } |
| func (m *GetOnuFecHistoryResponse) XXX_Size() int { |
| return xxx_messageInfo_GetOnuFecHistoryResponse.Size(m) |
| } |
| func (m *GetOnuFecHistoryResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetOnuFecHistoryResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetOnuFecHistoryResponse proto.InternalMessageInfo |
| |
| func (m *GetOnuFecHistoryResponse) GetCorrectedBytes() uint32 { |
| if m != nil { |
| return m.CorrectedBytes |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuFecHistoryResponse) GetCorrectedCodeWords() uint32 { |
| if m != nil { |
| return m.CorrectedCodeWords |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuFecHistoryResponse) GetFecSeconds() uint32 { |
| if m != nil { |
| return m.FecSeconds |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuFecHistoryResponse) GetTotalCodeWords() uint32 { |
| if m != nil { |
| return m.TotalCodeWords |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuFecHistoryResponse) GetUncorrectableCodeWords() uint32 { |
| if m != nil { |
| return m.UncorrectableCodeWords |
| } |
| return 0 |
| } |
| |
| type GetValueRequest struct { |
| // Types that are valid to be assigned to Request: |
| // *GetValueRequest_Distance |
| // *GetValueRequest_UniInfo |
| // *GetValueRequest_OltPortInfo |
| // *GetValueRequest_OnuOpticalInfo |
| // *GetValueRequest_EthBridgePort |
| // *GetValueRequest_FecHistory |
| Request isGetValueRequest_Request `protobuf_oneof:"request"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetValueRequest) Reset() { *m = GetValueRequest{} } |
| func (m *GetValueRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetValueRequest) ProtoMessage() {} |
| func (*GetValueRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{12} |
| } |
| |
| func (m *GetValueRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetValueRequest.Unmarshal(m, b) |
| } |
| func (m *GetValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetValueRequest.Marshal(b, m, deterministic) |
| } |
| func (m *GetValueRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetValueRequest.Merge(m, src) |
| } |
| func (m *GetValueRequest) XXX_Size() int { |
| return xxx_messageInfo_GetValueRequest.Size(m) |
| } |
| func (m *GetValueRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetValueRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetValueRequest proto.InternalMessageInfo |
| |
| type isGetValueRequest_Request interface { |
| isGetValueRequest_Request() |
| } |
| |
| type GetValueRequest_Distance struct { |
| Distance *GetDistanceRequest `protobuf:"bytes,1,opt,name=distance,proto3,oneof"` |
| } |
| |
| type GetValueRequest_UniInfo struct { |
| UniInfo *GetOnuUniInfoRequest `protobuf:"bytes,2,opt,name=uniInfo,proto3,oneof"` |
| } |
| |
| type GetValueRequest_OltPortInfo struct { |
| OltPortInfo *GetOltPortCounters `protobuf:"bytes,3,opt,name=oltPortInfo,proto3,oneof"` |
| } |
| |
| type GetValueRequest_OnuOpticalInfo struct { |
| OnuOpticalInfo *GetOnuPonOpticalInfo `protobuf:"bytes,4,opt,name=onuOpticalInfo,proto3,oneof"` |
| } |
| |
| type GetValueRequest_EthBridgePort struct { |
| EthBridgePort *GetOnuEthernetBridgePortHistory `protobuf:"bytes,5,opt,name=ethBridgePort,proto3,oneof"` |
| } |
| |
| type GetValueRequest_FecHistory struct { |
| FecHistory *GetOnuFecHistory `protobuf:"bytes,6,opt,name=fecHistory,proto3,oneof"` |
| } |
| |
| func (*GetValueRequest_Distance) isGetValueRequest_Request() {} |
| |
| func (*GetValueRequest_UniInfo) isGetValueRequest_Request() {} |
| |
| func (*GetValueRequest_OltPortInfo) isGetValueRequest_Request() {} |
| |
| func (*GetValueRequest_OnuOpticalInfo) isGetValueRequest_Request() {} |
| |
| func (*GetValueRequest_EthBridgePort) isGetValueRequest_Request() {} |
| |
| func (*GetValueRequest_FecHistory) isGetValueRequest_Request() {} |
| |
| func (m *GetValueRequest) GetRequest() isGetValueRequest_Request { |
| if m != nil { |
| return m.Request |
| } |
| return nil |
| } |
| |
| func (m *GetValueRequest) GetDistance() *GetDistanceRequest { |
| if x, ok := m.GetRequest().(*GetValueRequest_Distance); ok { |
| return x.Distance |
| } |
| return nil |
| } |
| |
| func (m *GetValueRequest) GetUniInfo() *GetOnuUniInfoRequest { |
| if x, ok := m.GetRequest().(*GetValueRequest_UniInfo); ok { |
| return x.UniInfo |
| } |
| return nil |
| } |
| |
| func (m *GetValueRequest) GetOltPortInfo() *GetOltPortCounters { |
| if x, ok := m.GetRequest().(*GetValueRequest_OltPortInfo); ok { |
| return x.OltPortInfo |
| } |
| return nil |
| } |
| |
| func (m *GetValueRequest) GetOnuOpticalInfo() *GetOnuPonOpticalInfo { |
| if x, ok := m.GetRequest().(*GetValueRequest_OnuOpticalInfo); ok { |
| return x.OnuOpticalInfo |
| } |
| return nil |
| } |
| |
| func (m *GetValueRequest) GetEthBridgePort() *GetOnuEthernetBridgePortHistory { |
| if x, ok := m.GetRequest().(*GetValueRequest_EthBridgePort); ok { |
| return x.EthBridgePort |
| } |
| return nil |
| } |
| |
| func (m *GetValueRequest) GetFecHistory() *GetOnuFecHistory { |
| if x, ok := m.GetRequest().(*GetValueRequest_FecHistory); ok { |
| return x.FecHistory |
| } |
| return nil |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*GetValueRequest) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*GetValueRequest_Distance)(nil), |
| (*GetValueRequest_UniInfo)(nil), |
| (*GetValueRequest_OltPortInfo)(nil), |
| (*GetValueRequest_OnuOpticalInfo)(nil), |
| (*GetValueRequest_EthBridgePort)(nil), |
| (*GetValueRequest_FecHistory)(nil), |
| } |
| } |
| |
| type GetValueResponse struct { |
| Status GetValueResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=extension.GetValueResponse_Status" json:"status,omitempty"` |
| ErrReason GetValueResponse_ErrorReason `protobuf:"varint,2,opt,name=errReason,proto3,enum=extension.GetValueResponse_ErrorReason" json:"errReason,omitempty"` |
| // Types that are valid to be assigned to Response: |
| // *GetValueResponse_Distance |
| // *GetValueResponse_UniInfo |
| // *GetValueResponse_PortCoutners |
| // *GetValueResponse_OnuOpticalInfo |
| // *GetValueResponse_EthBridgePortInfo |
| // *GetValueResponse_FecHistory |
| Response isGetValueResponse_Response `protobuf_oneof:"response"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetValueResponse) Reset() { *m = GetValueResponse{} } |
| func (m *GetValueResponse) String() string { return proto.CompactTextString(m) } |
| func (*GetValueResponse) ProtoMessage() {} |
| func (*GetValueResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{13} |
| } |
| |
| func (m *GetValueResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetValueResponse.Unmarshal(m, b) |
| } |
| func (m *GetValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetValueResponse.Marshal(b, m, deterministic) |
| } |
| func (m *GetValueResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetValueResponse.Merge(m, src) |
| } |
| func (m *GetValueResponse) XXX_Size() int { |
| return xxx_messageInfo_GetValueResponse.Size(m) |
| } |
| func (m *GetValueResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetValueResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetValueResponse proto.InternalMessageInfo |
| |
| func (m *GetValueResponse) GetStatus() GetValueResponse_Status { |
| if m != nil { |
| return m.Status |
| } |
| return GetValueResponse_STATUS_UNDEFINED |
| } |
| |
| func (m *GetValueResponse) GetErrReason() GetValueResponse_ErrorReason { |
| if m != nil { |
| return m.ErrReason |
| } |
| return GetValueResponse_REASON_UNDEFINED |
| } |
| |
| type isGetValueResponse_Response interface { |
| isGetValueResponse_Response() |
| } |
| |
| type GetValueResponse_Distance struct { |
| Distance *GetDistanceResponse `protobuf:"bytes,3,opt,name=distance,proto3,oneof"` |
| } |
| |
| type GetValueResponse_UniInfo struct { |
| UniInfo *GetOnuUniInfoResponse `protobuf:"bytes,4,opt,name=uniInfo,proto3,oneof"` |
| } |
| |
| type GetValueResponse_PortCoutners struct { |
| PortCoutners *GetOltPortCountersResponse `protobuf:"bytes,5,opt,name=portCoutners,proto3,oneof"` |
| } |
| |
| type GetValueResponse_OnuOpticalInfo struct { |
| OnuOpticalInfo *GetOnuPonOpticalInfoResponse `protobuf:"bytes,6,opt,name=onuOpticalInfo,proto3,oneof"` |
| } |
| |
| type GetValueResponse_EthBridgePortInfo struct { |
| EthBridgePortInfo *GetOnuEthernetBridgePortHistoryResponse `protobuf:"bytes,7,opt,name=ethBridgePortInfo,proto3,oneof"` |
| } |
| |
| type GetValueResponse_FecHistory struct { |
| FecHistory *GetOnuFecHistoryResponse `protobuf:"bytes,8,opt,name=fecHistory,proto3,oneof"` |
| } |
| |
| func (*GetValueResponse_Distance) isGetValueResponse_Response() {} |
| |
| func (*GetValueResponse_UniInfo) isGetValueResponse_Response() {} |
| |
| func (*GetValueResponse_PortCoutners) isGetValueResponse_Response() {} |
| |
| func (*GetValueResponse_OnuOpticalInfo) isGetValueResponse_Response() {} |
| |
| func (*GetValueResponse_EthBridgePortInfo) isGetValueResponse_Response() {} |
| |
| func (*GetValueResponse_FecHistory) isGetValueResponse_Response() {} |
| |
| func (m *GetValueResponse) GetResponse() isGetValueResponse_Response { |
| if m != nil { |
| return m.Response |
| } |
| return nil |
| } |
| |
| func (m *GetValueResponse) GetDistance() *GetDistanceResponse { |
| if x, ok := m.GetResponse().(*GetValueResponse_Distance); ok { |
| return x.Distance |
| } |
| return nil |
| } |
| |
| func (m *GetValueResponse) GetUniInfo() *GetOnuUniInfoResponse { |
| if x, ok := m.GetResponse().(*GetValueResponse_UniInfo); ok { |
| return x.UniInfo |
| } |
| return nil |
| } |
| |
| func (m *GetValueResponse) GetPortCoutners() *GetOltPortCountersResponse { |
| if x, ok := m.GetResponse().(*GetValueResponse_PortCoutners); ok { |
| return x.PortCoutners |
| } |
| return nil |
| } |
| |
| func (m *GetValueResponse) GetOnuOpticalInfo() *GetOnuPonOpticalInfoResponse { |
| if x, ok := m.GetResponse().(*GetValueResponse_OnuOpticalInfo); ok { |
| return x.OnuOpticalInfo |
| } |
| return nil |
| } |
| |
| func (m *GetValueResponse) GetEthBridgePortInfo() *GetOnuEthernetBridgePortHistoryResponse { |
| if x, ok := m.GetResponse().(*GetValueResponse_EthBridgePortInfo); ok { |
| return x.EthBridgePortInfo |
| } |
| return nil |
| } |
| |
| func (m *GetValueResponse) GetFecHistory() *GetOnuFecHistoryResponse { |
| if x, ok := m.GetResponse().(*GetValueResponse_FecHistory); ok { |
| return x.FecHistory |
| } |
| return nil |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*GetValueResponse) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*GetValueResponse_Distance)(nil), |
| (*GetValueResponse_UniInfo)(nil), |
| (*GetValueResponse_PortCoutners)(nil), |
| (*GetValueResponse_OnuOpticalInfo)(nil), |
| (*GetValueResponse_EthBridgePortInfo)(nil), |
| (*GetValueResponse_FecHistory)(nil), |
| } |
| } |
| |
| type SetValueRequest struct { |
| // Types that are valid to be assigned to Request: |
| // *SetValueRequest_AlarmConfig |
| Request isSetValueRequest_Request `protobuf_oneof:"request"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SetValueRequest) Reset() { *m = SetValueRequest{} } |
| func (m *SetValueRequest) String() string { return proto.CompactTextString(m) } |
| func (*SetValueRequest) ProtoMessage() {} |
| func (*SetValueRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{14} |
| } |
| |
| func (m *SetValueRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SetValueRequest.Unmarshal(m, b) |
| } |
| func (m *SetValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SetValueRequest.Marshal(b, m, deterministic) |
| } |
| func (m *SetValueRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SetValueRequest.Merge(m, src) |
| } |
| func (m *SetValueRequest) XXX_Size() int { |
| return xxx_messageInfo_SetValueRequest.Size(m) |
| } |
| func (m *SetValueRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_SetValueRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SetValueRequest proto.InternalMessageInfo |
| |
| type isSetValueRequest_Request interface { |
| isSetValueRequest_Request() |
| } |
| |
| type SetValueRequest_AlarmConfig struct { |
| AlarmConfig *config.AlarmConfig `protobuf:"bytes,1,opt,name=alarm_config,json=alarmConfig,proto3,oneof"` |
| } |
| |
| func (*SetValueRequest_AlarmConfig) isSetValueRequest_Request() {} |
| |
| func (m *SetValueRequest) GetRequest() isSetValueRequest_Request { |
| if m != nil { |
| return m.Request |
| } |
| return nil |
| } |
| |
| func (m *SetValueRequest) GetAlarmConfig() *config.AlarmConfig { |
| if x, ok := m.GetRequest().(*SetValueRequest_AlarmConfig); ok { |
| return x.AlarmConfig |
| } |
| return nil |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*SetValueRequest) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*SetValueRequest_AlarmConfig)(nil), |
| } |
| } |
| |
| type SetValueResponse struct { |
| Status SetValueResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=extension.SetValueResponse_Status" json:"status,omitempty"` |
| ErrReason SetValueResponse_ErrorReason `protobuf:"varint,2,opt,name=errReason,proto3,enum=extension.SetValueResponse_ErrorReason" json:"errReason,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SetValueResponse) Reset() { *m = SetValueResponse{} } |
| func (m *SetValueResponse) String() string { return proto.CompactTextString(m) } |
| func (*SetValueResponse) ProtoMessage() {} |
| func (*SetValueResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{15} |
| } |
| |
| func (m *SetValueResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SetValueResponse.Unmarshal(m, b) |
| } |
| func (m *SetValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SetValueResponse.Marshal(b, m, deterministic) |
| } |
| func (m *SetValueResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SetValueResponse.Merge(m, src) |
| } |
| func (m *SetValueResponse) XXX_Size() int { |
| return xxx_messageInfo_SetValueResponse.Size(m) |
| } |
| func (m *SetValueResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_SetValueResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SetValueResponse proto.InternalMessageInfo |
| |
| func (m *SetValueResponse) GetStatus() SetValueResponse_Status { |
| if m != nil { |
| return m.Status |
| } |
| return SetValueResponse_STATUS_UNDEFINED |
| } |
| |
| func (m *SetValueResponse) GetErrReason() SetValueResponse_ErrorReason { |
| if m != nil { |
| return m.ErrReason |
| } |
| return SetValueResponse_REASON_UNDEFINED |
| } |
| |
| type SingleGetValueRequest struct { |
| TargetId string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId,omitempty"` |
| Request *GetValueRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SingleGetValueRequest) Reset() { *m = SingleGetValueRequest{} } |
| func (m *SingleGetValueRequest) String() string { return proto.CompactTextString(m) } |
| func (*SingleGetValueRequest) ProtoMessage() {} |
| func (*SingleGetValueRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{16} |
| } |
| |
| func (m *SingleGetValueRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SingleGetValueRequest.Unmarshal(m, b) |
| } |
| func (m *SingleGetValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SingleGetValueRequest.Marshal(b, m, deterministic) |
| } |
| func (m *SingleGetValueRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SingleGetValueRequest.Merge(m, src) |
| } |
| func (m *SingleGetValueRequest) XXX_Size() int { |
| return xxx_messageInfo_SingleGetValueRequest.Size(m) |
| } |
| func (m *SingleGetValueRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_SingleGetValueRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SingleGetValueRequest proto.InternalMessageInfo |
| |
| func (m *SingleGetValueRequest) GetTargetId() string { |
| if m != nil { |
| return m.TargetId |
| } |
| return "" |
| } |
| |
| func (m *SingleGetValueRequest) GetRequest() *GetValueRequest { |
| if m != nil { |
| return m.Request |
| } |
| return nil |
| } |
| |
| type SingleGetValueResponse struct { |
| Response *GetValueResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SingleGetValueResponse) Reset() { *m = SingleGetValueResponse{} } |
| func (m *SingleGetValueResponse) String() string { return proto.CompactTextString(m) } |
| func (*SingleGetValueResponse) ProtoMessage() {} |
| func (*SingleGetValueResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{17} |
| } |
| |
| func (m *SingleGetValueResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SingleGetValueResponse.Unmarshal(m, b) |
| } |
| func (m *SingleGetValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SingleGetValueResponse.Marshal(b, m, deterministic) |
| } |
| func (m *SingleGetValueResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SingleGetValueResponse.Merge(m, src) |
| } |
| func (m *SingleGetValueResponse) XXX_Size() int { |
| return xxx_messageInfo_SingleGetValueResponse.Size(m) |
| } |
| func (m *SingleGetValueResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_SingleGetValueResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SingleGetValueResponse proto.InternalMessageInfo |
| |
| func (m *SingleGetValueResponse) GetResponse() *GetValueResponse { |
| if m != nil { |
| return m.Response |
| } |
| return nil |
| } |
| |
| type SingleSetValueRequest struct { |
| TargetId string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId,omitempty"` |
| Request *SetValueRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SingleSetValueRequest) Reset() { *m = SingleSetValueRequest{} } |
| func (m *SingleSetValueRequest) String() string { return proto.CompactTextString(m) } |
| func (*SingleSetValueRequest) ProtoMessage() {} |
| func (*SingleSetValueRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{18} |
| } |
| |
| func (m *SingleSetValueRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SingleSetValueRequest.Unmarshal(m, b) |
| } |
| func (m *SingleSetValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SingleSetValueRequest.Marshal(b, m, deterministic) |
| } |
| func (m *SingleSetValueRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SingleSetValueRequest.Merge(m, src) |
| } |
| func (m *SingleSetValueRequest) XXX_Size() int { |
| return xxx_messageInfo_SingleSetValueRequest.Size(m) |
| } |
| func (m *SingleSetValueRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_SingleSetValueRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SingleSetValueRequest proto.InternalMessageInfo |
| |
| func (m *SingleSetValueRequest) GetTargetId() string { |
| if m != nil { |
| return m.TargetId |
| } |
| return "" |
| } |
| |
| func (m *SingleSetValueRequest) GetRequest() *SetValueRequest { |
| if m != nil { |
| return m.Request |
| } |
| return nil |
| } |
| |
| type SingleSetValueResponse struct { |
| Response *SetValueResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SingleSetValueResponse) Reset() { *m = SingleSetValueResponse{} } |
| func (m *SingleSetValueResponse) String() string { return proto.CompactTextString(m) } |
| func (*SingleSetValueResponse) ProtoMessage() {} |
| func (*SingleSetValueResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_7ecf6e9799a9202d, []int{19} |
| } |
| |
| func (m *SingleSetValueResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SingleSetValueResponse.Unmarshal(m, b) |
| } |
| func (m *SingleSetValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SingleSetValueResponse.Marshal(b, m, deterministic) |
| } |
| func (m *SingleSetValueResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SingleSetValueResponse.Merge(m, src) |
| } |
| func (m *SingleSetValueResponse) XXX_Size() int { |
| return xxx_messageInfo_SingleSetValueResponse.Size(m) |
| } |
| func (m *SingleSetValueResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_SingleSetValueResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SingleSetValueResponse proto.InternalMessageInfo |
| |
| func (m *SingleSetValueResponse) GetResponse() *SetValueResponse { |
| if m != nil { |
| return m.Response |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterEnum("extension.GetOnuUniInfoResponse_ConfigurationInd", GetOnuUniInfoResponse_ConfigurationInd_name, GetOnuUniInfoResponse_ConfigurationInd_value) |
| proto.RegisterEnum("extension.GetOnuUniInfoResponse_AdministrativeState", GetOnuUniInfoResponse_AdministrativeState_name, GetOnuUniInfoResponse_AdministrativeState_value) |
| proto.RegisterEnum("extension.GetOnuUniInfoResponse_OperationalState", GetOnuUniInfoResponse_OperationalState_name, GetOnuUniInfoResponse_OperationalState_value) |
| proto.RegisterEnum("extension.GetOltPortCounters_PortType", GetOltPortCounters_PortType_name, GetOltPortCounters_PortType_value) |
| proto.RegisterEnum("extension.GetOnuEthernetBridgePortHistory_Direction", GetOnuEthernetBridgePortHistory_Direction_name, GetOnuEthernetBridgePortHistory_Direction_value) |
| proto.RegisterEnum("extension.GetValueResponse_Status", GetValueResponse_Status_name, GetValueResponse_Status_value) |
| proto.RegisterEnum("extension.GetValueResponse_ErrorReason", GetValueResponse_ErrorReason_name, GetValueResponse_ErrorReason_value) |
| proto.RegisterEnum("extension.SetValueResponse_Status", SetValueResponse_Status_name, SetValueResponse_Status_value) |
| proto.RegisterEnum("extension.SetValueResponse_ErrorReason", SetValueResponse_ErrorReason_name, SetValueResponse_ErrorReason_value) |
| proto.RegisterType((*GetDistanceRequest)(nil), "extension.GetDistanceRequest") |
| proto.RegisterType((*GetDistanceResponse)(nil), "extension.GetDistanceResponse") |
| proto.RegisterType((*GetOnuUniInfoRequest)(nil), "extension.GetOnuUniInfoRequest") |
| proto.RegisterType((*GetOnuUniInfoResponse)(nil), "extension.GetOnuUniInfoResponse") |
| proto.RegisterType((*GetOltPortCounters)(nil), "extension.GetOltPortCounters") |
| proto.RegisterType((*GetOltPortCountersResponse)(nil), "extension.GetOltPortCountersResponse") |
| proto.RegisterType((*GetOnuPonOpticalInfo)(nil), "extension.GetOnuPonOpticalInfo") |
| proto.RegisterType((*GetOnuPonOpticalInfoResponse)(nil), "extension.GetOnuPonOpticalInfoResponse") |
| proto.RegisterType((*GetOnuEthernetBridgePortHistory)(nil), "extension.GetOnuEthernetBridgePortHistory") |
| proto.RegisterType((*GetOnuEthernetBridgePortHistoryResponse)(nil), "extension.GetOnuEthernetBridgePortHistoryResponse") |
| proto.RegisterType((*GetOnuFecHistory)(nil), "extension.GetOnuFecHistory") |
| proto.RegisterType((*GetOnuFecHistoryResponse)(nil), "extension.GetOnuFecHistoryResponse") |
| proto.RegisterType((*GetValueRequest)(nil), "extension.GetValueRequest") |
| proto.RegisterType((*GetValueResponse)(nil), "extension.GetValueResponse") |
| proto.RegisterType((*SetValueRequest)(nil), "extension.SetValueRequest") |
| proto.RegisterType((*SetValueResponse)(nil), "extension.SetValueResponse") |
| proto.RegisterType((*SingleGetValueRequest)(nil), "extension.SingleGetValueRequest") |
| proto.RegisterType((*SingleGetValueResponse)(nil), "extension.SingleGetValueResponse") |
| proto.RegisterType((*SingleSetValueRequest)(nil), "extension.SingleSetValueRequest") |
| proto.RegisterType((*SingleSetValueResponse)(nil), "extension.SingleSetValueResponse") |
| } |
| |
| func init() { proto.RegisterFile("voltha_protos/extensions.proto", fileDescriptor_7ecf6e9799a9202d) } |
| |
| var fileDescriptor_7ecf6e9799a9202d = []byte{ |
| // 1816 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xdd, 0x52, 0xe3, 0xc8, |
| 0x15, 0xc6, 0x06, 0x8c, 0x7d, 0x0c, 0x8c, 0xa6, 0x67, 0x60, 0x29, 0x76, 0x77, 0x76, 0xa2, 0x54, |
| 0x66, 0xb6, 0xb6, 0x36, 0x66, 0xed, 0x85, 0x59, 0x2a, 0xbb, 0xa9, 0x8a, 0x8d, 0x05, 0xb8, 0x00, |
| 0xd9, 0xd3, 0x92, 0x99, 0x4d, 0x6e, 0x5c, 0xc2, 0xea, 0x31, 0xae, 0x18, 0xb5, 0xd3, 0x6a, 0x13, |
| 0x26, 0xd7, 0x79, 0x83, 0x5c, 0xe5, 0x29, 0x72, 0x91, 0x8b, 0xb9, 0xcf, 0x75, 0x5e, 0x22, 0xaf, |
| 0x90, 0x07, 0x48, 0xa5, 0xfa, 0x47, 0xb2, 0x24, 0xdb, 0x30, 0xb3, 0xc9, 0x9d, 0xfb, 0x9c, 0xef, |
| 0xfb, 0xba, 0xdd, 0xe7, 0xeb, 0xa3, 0x96, 0xe0, 0xd9, 0x2d, 0x1d, 0xf1, 0x6b, 0xaf, 0x37, 0x66, |
| 0x94, 0xd3, 0x70, 0x8f, 0xdc, 0x71, 0x12, 0x84, 0x43, 0x1a, 0x84, 0x15, 0x19, 0x41, 0xa5, 0x38, |
| 0xb2, 0x3b, 0x0b, 0xed, 0xf5, 0x69, 0xf0, 0x76, 0x38, 0x50, 0xd0, 0xdd, 0x4f, 0x07, 0x94, 0x0e, |
| 0x46, 0x64, 0x4f, 0x8e, 0xae, 0x26, 0x6f, 0xf7, 0xc8, 0xcd, 0x98, 0xbf, 0x53, 0x49, 0xf3, 0x15, |
| 0xa0, 0x13, 0xc2, 0x9b, 0xc3, 0x90, 0x7b, 0x41, 0x9f, 0x60, 0xf2, 0x87, 0x09, 0x09, 0x39, 0x7a, |
| 0x0e, 0x65, 0x1a, 0x4c, 0x9a, 0xe4, 0x76, 0xd8, 0x27, 0x2d, 0x7f, 0x27, 0xf7, 0x3c, 0xf7, 0x65, |
| 0x09, 0x27, 0x43, 0x66, 0x15, 0x9e, 0xa4, 0x78, 0xe1, 0x98, 0x06, 0x21, 0x41, 0xbb, 0x50, 0xf4, |
| 0x75, 0x4c, 0xb2, 0x36, 0x70, 0x3c, 0x36, 0x6b, 0xf0, 0xf4, 0x84, 0xf0, 0x76, 0x30, 0xe9, 0x06, |
| 0xc3, 0x56, 0xf0, 0x96, 0x46, 0x93, 0xed, 0x42, 0x71, 0x22, 0x22, 0x3e, 0xb9, 0x8b, 0x38, 0xd1, |
| 0xd8, 0xfc, 0xd7, 0x0a, 0x6c, 0x65, 0x48, 0x7a, 0xa6, 0x0e, 0x14, 0x3d, 0xff, 0xc6, 0xe1, 0x1e, |
| 0x57, 0x33, 0x6d, 0xd6, 0xf6, 0x2b, 0xf1, 0x9e, 0x54, 0xe6, 0x72, 0x2a, 0x75, 0xff, 0x66, 0x18, |
| 0x0c, 0x43, 0xce, 0x3c, 0x3e, 0xbc, 0x25, 0x92, 0x8b, 0x63, 0x15, 0xd4, 0x86, 0x12, 0x1d, 0x13, |
| 0x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, 0x3d, 0x07, 0x25, 0x2b, 0x02, 0x22, 0x0c, 0xe5, 0x13, 0xc2, 0xad, 0x3b, 0x05, |
| 0x47, 0xc9, 0x26, 0x3a, 0xb7, 0x42, 0xbb, 0x3f, 0xbb, 0x07, 0xa1, 0x97, 0x86, 0xa1, 0xec, 0xdc, |
| 0xab, 0xe9, 0x3c, 0xa8, 0x99, 0x5d, 0x7f, 0x03, 0xc3, 0xe7, 0x94, 0x0d, 0x2a, 0x74, 0x4c, 0xc4, |
| 0xf5, 0xc4, 0xaf, 0xa8, 0x4f, 0x84, 0x53, 0xde, 0xef, 0xaa, 0x83, 0x21, 0xbf, 0x9e, 0x5c, 0x55, |
| 0xfa, 0xf4, 0x66, 0x2f, 0x42, 0xed, 0x29, 0xd4, 0x2f, 0xf5, 0x87, 0xc4, 0xdb, 0xfd, 0xbd, 0x01, |
| 0x9d, 0x7e, 0x79, 0xec, 0x2c, 0x5d, 0x15, 0x64, 0xe6, 0xdb, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, |
| 0x04, 0xc2, 0xa6, 0x22, 0x9d, 0x14, 0x00, 0x00, |
| } |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ context.Context |
| var _ grpc.ClientConn |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the grpc package it is being compiled against. |
| const _ = grpc.SupportPackageIsVersion4 |
| |
| // ExtensionClient is the client API for Extension service. |
| // |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| type ExtensionClient interface { |
| // Get a single attribute |
| GetExtValue(ctx context.Context, in *SingleGetValueRequest, opts ...grpc.CallOption) (*SingleGetValueResponse, error) |
| // Set a single attribute |
| SetExtValue(ctx context.Context, in *SingleSetValueRequest, opts ...grpc.CallOption) (*SingleSetValueResponse, error) |
| } |
| |
| type extensionClient struct { |
| cc *grpc.ClientConn |
| } |
| |
| func NewExtensionClient(cc *grpc.ClientConn) ExtensionClient { |
| return &extensionClient{cc} |
| } |
| |
| func (c *extensionClient) GetExtValue(ctx context.Context, in *SingleGetValueRequest, opts ...grpc.CallOption) (*SingleGetValueResponse, error) { |
| out := new(SingleGetValueResponse) |
| err := c.cc.Invoke(ctx, "/extension.Extension/GetExtValue", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *extensionClient) SetExtValue(ctx context.Context, in *SingleSetValueRequest, opts ...grpc.CallOption) (*SingleSetValueResponse, error) { |
| out := new(SingleSetValueResponse) |
| err := c.cc.Invoke(ctx, "/extension.Extension/SetExtValue", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // ExtensionServer is the server API for Extension service. |
| type ExtensionServer interface { |
| // Get a single attribute |
| GetExtValue(context.Context, *SingleGetValueRequest) (*SingleGetValueResponse, error) |
| // Set a single attribute |
| SetExtValue(context.Context, *SingleSetValueRequest) (*SingleSetValueResponse, error) |
| } |
| |
| // UnimplementedExtensionServer can be embedded to have forward compatible implementations. |
| type UnimplementedExtensionServer struct { |
| } |
| |
| func (*UnimplementedExtensionServer) GetExtValue(ctx context.Context, req *SingleGetValueRequest) (*SingleGetValueResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method GetExtValue not implemented") |
| } |
| func (*UnimplementedExtensionServer) SetExtValue(ctx context.Context, req *SingleSetValueRequest) (*SingleSetValueResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method SetExtValue not implemented") |
| } |
| |
| func RegisterExtensionServer(s *grpc.Server, srv ExtensionServer) { |
| s.RegisterService(&_Extension_serviceDesc, srv) |
| } |
| |
| func _Extension_GetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(SingleGetValueRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ExtensionServer).GetExtValue(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/extension.Extension/GetExtValue", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ExtensionServer).GetExtValue(ctx, req.(*SingleGetValueRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _Extension_SetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(SingleSetValueRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(ExtensionServer).SetExtValue(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/extension.Extension/SetExtValue", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(ExtensionServer).SetExtValue(ctx, req.(*SingleSetValueRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _Extension_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "extension.Extension", |
| HandlerType: (*ExtensionServer)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "GetExtValue", |
| Handler: _Extension_GetExtValue_Handler, |
| }, |
| { |
| MethodName: "SetExtValue", |
| Handler: _Extension_SetExtValue_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{}, |
| Metadata: "voltha_protos/extensions.proto", |
| } |