| // 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" |
| 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 |
| } |
| |
| // The types are from Table 11.2.10-1 in G.988 |
| type GetOnuPonOpticalInfoResponse struct { |
| LaserBiasCurrent int32 `protobuf:"varint,1,opt,name=laserBiasCurrent,proto3" json:"laserBiasCurrent,omitempty"` |
| LaserBiasCurrentTypeId int32 `protobuf:"varint,2,opt,name=laserBiasCurrentTypeId,proto3" json:"laserBiasCurrentTypeId,omitempty"` |
| MeanOpticalLaunchPower int32 `protobuf:"varint,3,opt,name=meanOpticalLaunchPower,proto3" json:"meanOpticalLaunchPower,omitempty"` |
| MeanOpticalLaunchPowerTypeId int32 `protobuf:"varint,4,opt,name=meanOpticalLaunchPowerTypeId,proto3" json:"meanOpticalLaunchPowerTypeId,omitempty"` |
| PowerFeedTypeId int32 `protobuf:"varint,5,opt,name=powerFeedTypeId,proto3" json:"powerFeedTypeId,omitempty"` |
| PowerFeedVoltage int32 `protobuf:"varint,6,opt,name=powerFeedVoltage,proto3" json:"powerFeedVoltage,omitempty"` |
| ReceivedOpticalPower int32 `protobuf:"varint,7,opt,name=receivedOpticalPower,proto3" json:"receivedOpticalPower,omitempty"` |
| ReceivedOpticalPowerTypeId int32 `protobuf:"varint,8,opt,name=receivedOpticalPowerTypeId,proto3" json:"receivedOpticalPowerTypeId,omitempty"` |
| Temperature int32 `protobuf:"varint,9,opt,name=temperature,proto3" json:"temperature,omitempty"` |
| TemperatureTypeId int32 `protobuf:"varint,10,opt,name=temperatureTypeId,proto3" json:"temperatureTypeId,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) GetLaserBiasCurrent() int32 { |
| if m != nil { |
| return m.LaserBiasCurrent |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuPonOpticalInfoResponse) GetLaserBiasCurrentTypeId() int32 { |
| if m != nil { |
| return m.LaserBiasCurrentTypeId |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuPonOpticalInfoResponse) GetMeanOpticalLaunchPower() int32 { |
| if m != nil { |
| return m.MeanOpticalLaunchPower |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuPonOpticalInfoResponse) GetMeanOpticalLaunchPowerTypeId() int32 { |
| if m != nil { |
| return m.MeanOpticalLaunchPowerTypeId |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuPonOpticalInfoResponse) GetPowerFeedTypeId() int32 { |
| if m != nil { |
| return m.PowerFeedTypeId |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuPonOpticalInfoResponse) GetPowerFeedVoltage() int32 { |
| if m != nil { |
| return m.PowerFeedVoltage |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuPonOpticalInfoResponse) GetReceivedOpticalPower() int32 { |
| if m != nil { |
| return m.ReceivedOpticalPower |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuPonOpticalInfoResponse) GetReceivedOpticalPowerTypeId() int32 { |
| if m != nil { |
| return m.ReceivedOpticalPowerTypeId |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuPonOpticalInfoResponse) GetTemperature() int32 { |
| if m != nil { |
| return m.Temperature |
| } |
| return 0 |
| } |
| |
| func (m *GetOnuPonOpticalInfoResponse) GetTemperatureTypeId() int32 { |
| if m != nil { |
| return m.TemperatureTypeId |
| } |
| 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{ |
| // 1872 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xdd, 0x72, 0x1a, 0xc9, |
| 0x15, 0x16, 0x48, 0x20, 0x38, 0x48, 0xf2, 0xb8, 0x6d, 0x69, 0x55, 0xb2, 0xd7, 0xeb, 0x4c, 0x2a, |
| 0xf6, 0xd6, 0xd6, 0x06, 0x2d, 0xac, 0xe4, 0x55, 0x65, 0x37, 0xa9, 0x80, 0x18, 0x49, 0x94, 0xa4, |
| 0x01, 0xf7, 0x80, 0xbc, 0xc9, 0x0d, 0x35, 0x62, 0xda, 0x88, 0x0a, 0x9a, 0x26, 0x3d, 0x8d, 0x22, |
| 0xe7, 0x35, 0x72, 0x93, 0x3c, 0x45, 0x2e, 0x72, 0xe1, 0xfb, 0x5c, 0xe7, 0x25, 0xf2, 0x0a, 0x79, |
| 0x80, 0x54, 0xaa, 0x7f, 0x66, 0x98, 0x19, 0x40, 0xb2, 0x9d, 0xbd, 0xa3, 0xcf, 0xf9, 0xbe, 0xaf, |
| 0x9b, 0x3e, 0x5f, 0x9f, 0x99, 0x1e, 0x78, 0x76, 0x43, 0x47, 0xfc, 0xca, 0xed, 0x8d, 0x19, 0xe5, |
| 0x34, 0xd8, 0x25, 0xb7, 0x9c, 0xf8, 0xc1, 0x90, 0xfa, 0x41, 0x59, 0x46, 0x50, 0x31, 0x8a, 0xec, |
| 0xcc, 0x42, 0x7b, 0x7d, 0xea, 0xbf, 0x1d, 0x0e, 0x14, 0x74, 0xe7, 0xc9, 0x80, 0xd2, 0xc1, 0x88, |
| 0xec, 0xca, 0xd1, 0xe5, 0xe4, 0xed, 0x2e, 0xb9, 0x1e, 0xf3, 0x77, 0x2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 0xb9, |
| 0x77, 0xf5, 0xce, 0xc7, 0xad, 0xde, 0x59, 0xb8, 0xfa, 0xea, 0x3f, 0x32, 0x50, 0xb4, 0x42, 0x20, |
| 0xc2, 0x50, 0x3a, 0x26, 0xdc, 0xba, 0x55, 0x70, 0x14, 0x6f, 0xa2, 0x73, 0x2b, 0xb4, 0xf3, 0xb3, |
| 0x3b, 0x10, 0x7a, 0x69, 0x18, 0x4a, 0xce, 0x9d, 0x9a, 0xce, 0xbd, 0x9a, 0xe9, 0xf5, 0xd7, 0x31, |
| 0x7c, 0x4e, 0xd9, 0xa0, 0x4c, 0xc7, 0x44, 0xbc, 0x9e, 0x78, 0x65, 0xf5, 0xd9, 0x74, 0xca, 0xfb, |
| 0x7d, 0x65, 0x30, 0xe4, 0x57, 0x93, 0xcb, 0x72, 0x9f, 0x5e, 0xef, 0x86, 0xa8, 0x5d, 0x85, 0xfa, |
| 0xa5, 0xfe, 0xb8, 0x7a, 0xb3, 0xb7, 0x3b, 0xa0, 0xd3, 0xaf, 0xb1, 0xed, 0xa5, 0xcb, 0xbc, 0xcc, |
| 0x7c, 0xfb, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe7, 0x8e, 0x67, 0xd3, 0xb1, 0x15, 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) |
| } |
| |
| 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", |
| } |