Documentation ¶
Index ¶
- Variables
- type Preference
- type TspResources
- func (*TspResources) Descriptor() ([]byte, []int)
- func (m *TspResources) GetCellIdList() []*types.CellID
- func (m *TspResources) GetPreference() Preference
- func (m *TspResources) GetPrimary() bool
- func (m *TspResources) Marshal() (dAtA []byte, err error)
- func (m *TspResources) MarshalTo(dAtA []byte) (int, error)
- func (m *TspResources) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TspResources) ProtoMessage()
- func (m *TspResources) Reset()
- func (m *TspResources) Size() (n int)
- func (m *TspResources) String() string
- func (m *TspResources) Unmarshal(dAtA []byte) error
- func (m *TspResources) XXX_DiscardUnknown()
- func (m *TspResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TspResources) XXX_Merge(src proto.Message)
- func (m *TspResources) XXX_Size() int
- func (m *TspResources) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTsp = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTsp = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTsp = fmt.Errorf("proto: unexpected end of group") )
View Source
var Preference_name = map[int32]string{
0: "SHALL",
1: "PREFER",
2: "AVOID",
3: "FORBID",
}
View Source
var Preference_value = map[string]int32{
"SHALL": 0,
"PREFER": 1,
"AVOID": 2,
"FORBID": 3,
}
Functions ¶
This section is empty.
Types ¶
type Preference ¶
type Preference int32
Preference the preference of cell usage
const ( Preference_SHALL Preference = 0 Preference_PREFER Preference = 1 Preference_AVOID Preference = 2 Preference_FORBID Preference = 3 )
func (Preference) EnumDescriptor ¶
func (Preference) EnumDescriptor() ([]byte, []int)
func (Preference) String ¶
func (x Preference) String() string
type TspResources ¶
type TspResources struct { CellIdList []*types.CellID `protobuf:"bytes,1,rep,name=cell_id_list,json=cellIdList,proto3" json:"cell_id_list,omitempty"` Preference Preference `protobuf:"varint,2,opt,name=preference,proto3,enum=a1.tsp.Preference" json:"preference,omitempty"` Primary bool `protobuf:"varint,3,opt,name=primary,proto3" json:"primary,omitempty"` }
TspResources Traffic Steering Preference (TSP) Attributes used to schedule traffic on available cells in a different way than what would be through default behavior
func (*TspResources) Descriptor ¶
func (*TspResources) Descriptor() ([]byte, []int)
func (*TspResources) GetCellIdList ¶
func (m *TspResources) GetCellIdList() []*types.CellID
func (*TspResources) GetPreference ¶
func (m *TspResources) GetPreference() Preference
func (*TspResources) GetPrimary ¶
func (m *TspResources) GetPrimary() bool
func (*TspResources) Marshal ¶
func (m *TspResources) Marshal() (dAtA []byte, err error)
func (*TspResources) MarshalToSizedBuffer ¶
func (m *TspResources) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TspResources) ProtoMessage ¶
func (*TspResources) ProtoMessage()
func (*TspResources) Reset ¶
func (m *TspResources) Reset()
func (*TspResources) Size ¶
func (m *TspResources) Size() (n int)
func (*TspResources) String ¶
func (m *TspResources) String() string
func (*TspResources) Unmarshal ¶
func (m *TspResources) Unmarshal(dAtA []byte) error
func (*TspResources) XXX_DiscardUnknown ¶
func (m *TspResources) XXX_DiscardUnknown()
func (*TspResources) XXX_Marshal ¶
func (m *TspResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TspResources) XXX_Merge ¶
func (m *TspResources) XXX_Merge(src proto.Message)
func (*TspResources) XXX_Size ¶
func (m *TspResources) XXX_Size() int
func (*TspResources) XXX_Unmarshal ¶
func (m *TspResources) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.