Documentation ¶
Index ¶
- Variables
- func GenerateDataID(data data.Data) ids.DataID
- func GenerateHashID(toHashList ...[]byte) ids.HashID
- func NewAssetID(classificationID ids.ClassificationID, immutables qualified.Immutables) ids.AssetID
- func NewClassificationID(immutables qualified.Immutables, mutables qualified.Mutables) ids.ClassificationID
- func NewIdentityID(classificationID ids.ClassificationID, immutables qualified.Immutables) ids.IdentityID
- func NewMaintainerID(maintainerClassificationID ids.ClassificationID, ...) ids.MaintainerID
- func NewOrderID(classificationID ids.ClassificationID, immutables qualified.Immutables) ids.OrderID
- func NewPropertyID(key, Type ids.StringID) ids.PropertyID
- func NewSplitID(assetID ids.AssetID, ownerID ids.IdentityID) ids.SplitID
- func NewStringID(idString string) ids.StringID
- func PrototypeAnyID() ids.AnyID
- func PrototypeAssetID() ids.AssetID
- func PrototypeClassificationID() ids.ClassificationID
- func PrototypeDataID() ids.DataID
- func PrototypeHashID() ids.HashID
- func PrototypeIdentityID() ids.IdentityID
- func PrototypeMaintainerID() ids.MaintainerID
- func PrototypeOrderID() ids.OrderID
- func PrototypePropertyID() ids.PropertyID
- func PrototypeSplitID() ids.SplitID
- func PrototypeStringID() ids.StringID
- func RegisterLegacyAminoCodec(legacyAmino *codec.LegacyAmino)
- func StringIDsToIDs(stringIDs []ids.StringID) []ids.ID
- type AnyID
- func (anyID *AnyID) AsString() string
- func (anyID *AnyID) Bytes() []byte
- func (anyID *AnyID) Compare(id ids.ID) int
- func (*AnyID) Descriptor() ([]byte, []int)
- func (anyID *AnyID) FromString(idString string) (ids.ID, error)
- func (anyID *AnyID) Get() ids.ID
- func (m *AnyID) GetAssetID() *AssetID
- func (m *AnyID) GetClassificationID() *ClassificationID
- func (m *AnyID) GetDataID() *DataID
- func (m *AnyID) GetHashID() *HashID
- func (m *AnyID) GetIdentityID() *IdentityID
- func (m *AnyID) GetImpl() isAnyID_Impl
- func (m *AnyID) GetMaintainerID() *MaintainerID
- func (m *AnyID) GetOrderID() *OrderID
- func (m *AnyID) GetPropertyID() *PropertyID
- func (m *AnyID) GetSplitID() *SplitID
- func (m *AnyID) GetStringID() *StringID
- func (anyID *AnyID) GetTypeID() ids.StringID
- func (m *AnyID) Marshal() (dAtA []byte, err error)
- func (m *AnyID) MarshalTo(dAtA []byte) (int, error)
- func (m *AnyID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnyID) ProtoMessage()
- func (m *AnyID) Reset()
- func (m *AnyID) Size() (n int)
- func (m *AnyID) String() string
- func (anyID *AnyID) ToAnyID() ids.AnyID
- func (m *AnyID) Unmarshal(dAtA []byte) error
- func (anyID *AnyID) ValidateBasic() error
- func (m *AnyID) XXX_DiscardUnknown()
- func (m *AnyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnyID) XXX_Merge(src proto.Message)
- func (*AnyID) XXX_OneofWrappers() []interface{}
- func (m *AnyID) XXX_Size() int
- func (m *AnyID) XXX_Unmarshal(b []byte) error
- type AnyID_AssetID
- type AnyID_ClassificationID
- type AnyID_DataID
- type AnyID_HashID
- type AnyID_IdentityID
- type AnyID_MaintainerID
- type AnyID_OrderID
- type AnyID_PropertyID
- type AnyID_SplitID
- type AnyID_StringID
- type AssetID
- func (assetID *AssetID) AsString() string
- func (assetID *AssetID) Bytes() []byte
- func (assetID *AssetID) Compare(id ids.ID) int
- func (*AssetID) Descriptor() ([]byte, []int)
- func (assetID *AssetID) FromString(idString string) (ids.ID, error)
- func (assetID *AssetID) GetTypeID() ids.StringID
- func (assetID *AssetID) IsAssetID()
- func (m *AssetID) Marshal() (dAtA []byte, err error)
- func (m *AssetID) MarshalTo(dAtA []byte) (int, error)
- func (m *AssetID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AssetID) ProtoMessage()
- func (m *AssetID) Reset()
- func (m *AssetID) Size() (n int)
- func (m *AssetID) String() string
- func (assetID *AssetID) ToAnyID() ids.AnyID
- func (m *AssetID) Unmarshal(dAtA []byte) error
- func (assetID *AssetID) ValidateBasic() error
- func (m *AssetID) XXX_DiscardUnknown()
- func (m *AssetID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetID) XXX_Merge(src proto.Message)
- func (m *AssetID) XXX_Size() int
- func (m *AssetID) XXX_Unmarshal(b []byte) error
- type ClassificationID
- func (classificationID *ClassificationID) AsString() string
- func (classificationID *ClassificationID) Bytes() []byte
- func (classificationID *ClassificationID) Compare(id ids.ID) int
- func (*ClassificationID) Descriptor() ([]byte, []int)
- func (classificationID *ClassificationID) FromString(idString string) (ids.ID, error)
- func (classificationID *ClassificationID) GetTypeID() ids.StringID
- func (classificationID *ClassificationID) IsClassificationID()
- func (m *ClassificationID) Marshal() (dAtA []byte, err error)
- func (m *ClassificationID) MarshalTo(dAtA []byte) (int, error)
- func (m *ClassificationID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClassificationID) ProtoMessage()
- func (m *ClassificationID) Reset()
- func (m *ClassificationID) Size() (n int)
- func (m *ClassificationID) String() string
- func (classificationID *ClassificationID) ToAnyID() ids.AnyID
- func (m *ClassificationID) Unmarshal(dAtA []byte) error
- func (classificationID *ClassificationID) ValidateBasic() error
- func (m *ClassificationID) XXX_DiscardUnknown()
- func (m *ClassificationID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClassificationID) XXX_Merge(src proto.Message)
- func (m *ClassificationID) XXX_Size() int
- func (m *ClassificationID) XXX_Unmarshal(b []byte) error
- type DataID
- func (dataID *DataID) AsString() string
- func (dataID *DataID) Bytes() []byte
- func (dataID *DataID) Compare(id ids.ID) int
- func (dataID *DataID) DataIDString() string
- func (*DataID) Descriptor() ([]byte, []int)
- func (dataID *DataID) FromString(idString string) (ids.ID, error)
- func (dataID *DataID) GetHashID() ids.HashID
- func (dataID *DataID) GetTypeID() ids.StringID
- func (dataID *DataID) IsDataID()
- func (m *DataID) Marshal() (dAtA []byte, err error)
- func (m *DataID) MarshalTo(dAtA []byte) (int, error)
- func (m *DataID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DataID) ProtoMessage()
- func (m *DataID) Reset()
- func (m *DataID) Size() (n int)
- func (m *DataID) String() string
- func (dataID *DataID) ToAnyID() ids.AnyID
- func (m *DataID) Unmarshal(dAtA []byte) error
- func (dataID *DataID) ValidateBasic() error
- func (m *DataID) XXX_DiscardUnknown()
- func (m *DataID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DataID) XXX_Merge(src proto.Message)
- func (m *DataID) XXX_Size() int
- func (m *DataID) XXX_Unmarshal(b []byte) error
- type HashID
- func (hashID *HashID) AsString() string
- func (hashID *HashID) Bytes() []byte
- func (hashID *HashID) Compare(id ids.ID) int
- func (*HashID) Descriptor() ([]byte, []int)
- func (hashID *HashID) FromString(idString string) (ids.ID, error)
- func (hashID *HashID) GetTypeID() ids.StringID
- func (hashID *HashID) IsHashID()
- func (m *HashID) Marshal() (dAtA []byte, err error)
- func (m *HashID) MarshalTo(dAtA []byte) (int, error)
- func (m *HashID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HashID) ProtoMessage()
- func (m *HashID) Reset()
- func (m *HashID) Size() (n int)
- func (m *HashID) String() string
- func (hashID *HashID) ToAnyID() ids.AnyID
- func (m *HashID) Unmarshal(dAtA []byte) error
- func (hashID *HashID) ValidateBasic() error
- func (m *HashID) XXX_DiscardUnknown()
- func (m *HashID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HashID) XXX_Merge(src proto.Message)
- func (m *HashID) XXX_Size() int
- func (m *HashID) XXX_Unmarshal(b []byte) error
- type IdentityID
- func (identityID *IdentityID) AsString() string
- func (identityID *IdentityID) Bytes() []byte
- func (identityID *IdentityID) Compare(id ids.ID) int
- func (*IdentityID) Descriptor() ([]byte, []int)
- func (identityID *IdentityID) FromString(idString string) (ids.ID, error)
- func (identityID *IdentityID) GetHashID() ids.HashID
- func (identityID *IdentityID) GetTypeID() ids.StringID
- func (identityID *IdentityID) IsIdentityID()
- func (m *IdentityID) Marshal() (dAtA []byte, err error)
- func (m *IdentityID) MarshalTo(dAtA []byte) (int, error)
- func (m *IdentityID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IdentityID) ProtoMessage()
- func (m *IdentityID) Reset()
- func (m *IdentityID) Size() (n int)
- func (m *IdentityID) String() string
- func (identityID *IdentityID) ToAnyID() ids.AnyID
- func (m *IdentityID) Unmarshal(dAtA []byte) error
- func (identityID *IdentityID) ValidateBasic() error
- func (m *IdentityID) XXX_DiscardUnknown()
- func (m *IdentityID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdentityID) XXX_Merge(src proto.Message)
- func (m *IdentityID) XXX_Size() int
- func (m *IdentityID) XXX_Unmarshal(b []byte) error
- type MaintainerID
- func (maintainerID *MaintainerID) AsString() string
- func (maintainerID *MaintainerID) Bytes() []byte
- func (maintainerID *MaintainerID) Compare(id ids.ID) int
- func (*MaintainerID) Descriptor() ([]byte, []int)
- func (maintainerID *MaintainerID) FromString(idString string) (ids.ID, error)
- func (maintainerID *MaintainerID) GetTypeID() ids.StringID
- func (maintainerID *MaintainerID) IsMaintainerID()
- func (m *MaintainerID) Marshal() (dAtA []byte, err error)
- func (m *MaintainerID) MarshalTo(dAtA []byte) (int, error)
- func (m *MaintainerID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MaintainerID) ProtoMessage()
- func (m *MaintainerID) Reset()
- func (m *MaintainerID) Size() (n int)
- func (m *MaintainerID) String() string
- func (maintainerID *MaintainerID) ToAnyID() ids.AnyID
- func (m *MaintainerID) Unmarshal(dAtA []byte) error
- func (maintainerID *MaintainerID) ValidateBasic() error
- func (m *MaintainerID) XXX_DiscardUnknown()
- func (m *MaintainerID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MaintainerID) XXX_Merge(src proto.Message)
- func (m *MaintainerID) XXX_Size() int
- func (m *MaintainerID) XXX_Unmarshal(b []byte) error
- type OrderID
- func (orderID *OrderID) AsString() string
- func (orderID *OrderID) Bytes() []byte
- func (orderID *OrderID) Compare(id ids.ID) int
- func (*OrderID) Descriptor() ([]byte, []int)
- func (orderID *OrderID) FromString(idString string) (ids.ID, error)
- func (orderID *OrderID) GetTypeID() ids.StringID
- func (orderID *OrderID) IsOrderID()
- func (m *OrderID) Marshal() (dAtA []byte, err error)
- func (m *OrderID) MarshalTo(dAtA []byte) (int, error)
- func (m *OrderID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OrderID) ProtoMessage()
- func (m *OrderID) Reset()
- func (m *OrderID) Size() (n int)
- func (m *OrderID) String() string
- func (orderID *OrderID) ToAnyID() ids.AnyID
- func (m *OrderID) Unmarshal(dAtA []byte) error
- func (orderID *OrderID) ValidateBasic() error
- func (m *OrderID) XXX_DiscardUnknown()
- func (m *OrderID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderID) XXX_Merge(src proto.Message)
- func (m *OrderID) XXX_Size() int
- func (m *OrderID) XXX_Unmarshal(b []byte) error
- type PropertyID
- func (propertyID *PropertyID) AsString() string
- func (propertyID *PropertyID) Bytes() []byte
- func (propertyID *PropertyID) Compare(id ids.ID) int
- func (*PropertyID) Descriptor() ([]byte, []int)
- func (propertyID *PropertyID) FromString(idString string) (ids.ID, error)
- func (propertyID *PropertyID) GetDataTypeID() ids.StringID
- func (propertyID *PropertyID) GetKey() ids.StringID
- func (propertyID *PropertyID) GetTypeID() ids.StringID
- func (propertyID *PropertyID) IsPropertyID()
- func (m *PropertyID) Marshal() (dAtA []byte, err error)
- func (m *PropertyID) MarshalTo(dAtA []byte) (int, error)
- func (m *PropertyID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PropertyID) ProtoMessage()
- func (m *PropertyID) Reset()
- func (m *PropertyID) Size() (n int)
- func (m *PropertyID) String() string
- func (propertyID *PropertyID) ToAnyID() ids.AnyID
- func (m *PropertyID) Unmarshal(dAtA []byte) error
- func (propertyID *PropertyID) ValidateBasic() error
- func (m *PropertyID) XXX_DiscardUnknown()
- func (m *PropertyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PropertyID) XXX_Merge(src proto.Message)
- func (m *PropertyID) XXX_Size() int
- func (m *PropertyID) XXX_Unmarshal(b []byte) error
- type SplitID
- func (splitID *SplitID) AsString() string
- func (splitID *SplitID) Bytes() []byte
- func (splitID *SplitID) Compare(id ids.ID) int
- func (*SplitID) Descriptor() ([]byte, []int)
- func (*SplitID) FromString(idString string) (ids.ID, error)
- func (splitID *SplitID) GetAssetID() ids.AssetID
- func (splitID *SplitID) GetOwnerID() ids.IdentityID
- func (splitID *SplitID) GetTypeID() ids.StringID
- func (splitID *SplitID) IsSplitID()
- func (m *SplitID) Marshal() (dAtA []byte, err error)
- func (m *SplitID) MarshalTo(dAtA []byte) (int, error)
- func (m *SplitID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SplitID) MustGetFromPrefixedStoreKeyBytes(prefixBytes, storeKeyBytes []byte) ids.SplitID
- func (*SplitID) ProtoMessage()
- func (m *SplitID) Reset()
- func (m *SplitID) Size() (n int)
- func (splitID *SplitID) SplitIDString() string
- func (m *SplitID) String() string
- func (splitID *SplitID) ToAnyID() ids.AnyID
- func (m *SplitID) Unmarshal(dAtA []byte) error
- func (splitID *SplitID) ValidateBasic() error
- func (m *SplitID) XXX_DiscardUnknown()
- func (m *SplitID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SplitID) XXX_Merge(src proto.Message)
- func (m *SplitID) XXX_Size() int
- func (m *SplitID) XXX_Unmarshal(b []byte) error
- type StringID
- func (stringID *StringID) AsString() string
- func (stringID *StringID) Bytes() []byte
- func (stringID *StringID) Compare(id ids.ID) int
- func (*StringID) Descriptor() ([]byte, []int)
- func (stringID *StringID) FromString(idString string) (ids.ID, error)
- func (stringID *StringID) Get() string
- func (stringID *StringID) GetTypeID() ids.StringID
- func (stringID *StringID) IsStringID()
- func (m *StringID) Marshal() (dAtA []byte, err error)
- func (m *StringID) MarshalTo(dAtA []byte) (int, error)
- func (m *StringID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StringID) ProtoMessage()
- func (m *StringID) Reset()
- func (m *StringID) Size() (n int)
- func (m *StringID) String() string
- func (stringID *StringID) ToAnyID() ids.AnyID
- func (m *StringID) Unmarshal(dAtA []byte) error
- func (stringID *StringID) ValidateBasic() error
- func (m *StringID) XXX_DiscardUnknown()
- func (m *StringID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringID) XXX_Merge(src proto.Message)
- func (m *StringID) XXX_Size() int
- func (m *StringID) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthAnyId = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAnyId = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAnyId = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthAssetId = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAssetId = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAssetId = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthClassificationId = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowClassificationId = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupClassificationId = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthDataId = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDataId = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDataId = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthHashId = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowHashId = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupHashId = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthIdentityId = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowIdentityId = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupIdentityId = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthMaintainerId = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMaintainerId = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMaintainerId = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthOrderId = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowOrderId = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupOrderId = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthPropertyId = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPropertyId = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPropertyId = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func NewAssetID ¶
func NewAssetID(classificationID ids.ClassificationID, immutables qualified.Immutables) ids.AssetID
func NewClassificationID ¶
func NewClassificationID(immutables qualified.Immutables, mutables qualified.Mutables) ids.ClassificationID
func NewIdentityID ¶
func NewIdentityID(classificationID ids.ClassificationID, immutables qualified.Immutables) ids.IdentityID
func NewMaintainerID ¶
func NewMaintainerID(maintainerClassificationID ids.ClassificationID, immutables qualified.Immutables) ids.MaintainerID
func NewOrderID ¶
func NewOrderID(classificationID ids.ClassificationID, immutables qualified.Immutables) ids.OrderID
func NewPropertyID ¶
func NewPropertyID(key, Type ids.StringID) ids.PropertyID
func NewSplitID ¶
func NewStringID ¶
func PrototypeAnyID ¶
func PrototypeAssetID ¶
func PrototypeClassificationID ¶
func PrototypeClassificationID() ids.ClassificationID
func PrototypeDataID ¶
func PrototypeHashID ¶
func PrototypeIdentityID ¶
func PrototypeIdentityID() ids.IdentityID
func PrototypeMaintainerID ¶
func PrototypeMaintainerID() ids.MaintainerID
func PrototypeOrderID ¶
func PrototypePropertyID ¶
func PrototypePropertyID() ids.PropertyID
func PrototypeSplitID ¶
func PrototypeStringID ¶
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(legacyAmino *codec.LegacyAmino)
Types ¶
type AnyID ¶
type AnyID struct { // Types that are valid to be assigned to Impl: // *AnyID_AssetID // *AnyID_ClassificationID // *AnyID_DataID // *AnyID_HashID // *AnyID_IdentityID // *AnyID_MaintainerID // *AnyID_OrderID // *AnyID_PropertyID // *AnyID_SplitID // *AnyID_StringID Impl isAnyID_Impl `protobuf_oneof:"impl"` }
func (*AnyID) Descriptor ¶
func (*AnyID) GetAssetID ¶
func (*AnyID) GetClassificationID ¶
func (m *AnyID) GetClassificationID() *ClassificationID
func (*AnyID) GetIdentityID ¶
func (m *AnyID) GetIdentityID() *IdentityID
func (*AnyID) GetMaintainerID ¶
func (m *AnyID) GetMaintainerID() *MaintainerID
func (*AnyID) GetOrderID ¶
func (*AnyID) GetPropertyID ¶
func (m *AnyID) GetPropertyID() *PropertyID
func (*AnyID) GetSplitID ¶
func (*AnyID) GetStringID ¶
func (*AnyID) ProtoMessage ¶
func (*AnyID) ProtoMessage()
func (*AnyID) ValidateBasic ¶
func (*AnyID) XXX_DiscardUnknown ¶
func (m *AnyID) XXX_DiscardUnknown()
func (*AnyID) XXX_Marshal ¶
func (*AnyID) XXX_OneofWrappers ¶
func (*AnyID) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*AnyID) XXX_Unmarshal ¶
type AnyID_AssetID ¶
type AnyID_AssetID struct {
AssetID *AssetID `protobuf:"bytes,1,opt,name=asset_i_d,json=assetID,proto3,oneof" json:"asset_i_d,omitempty"`
}
func (*AnyID_AssetID) MarshalToSizedBuffer ¶
func (m *AnyID_AssetID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyID_AssetID) Size ¶
func (m *AnyID_AssetID) Size() (n int)
type AnyID_ClassificationID ¶
type AnyID_ClassificationID struct {
ClassificationID *ClassificationID `protobuf:"bytes,2,opt,name=classification_i_d,json=classificationID,proto3,oneof" json:"classification_i_d,omitempty"`
}
func (*AnyID_ClassificationID) MarshalTo ¶
func (m *AnyID_ClassificationID) MarshalTo(dAtA []byte) (int, error)
func (*AnyID_ClassificationID) MarshalToSizedBuffer ¶
func (m *AnyID_ClassificationID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyID_ClassificationID) Size ¶
func (m *AnyID_ClassificationID) Size() (n int)
type AnyID_DataID ¶
type AnyID_DataID struct {
DataID *DataID `protobuf:"bytes,3,opt,name=data_i_d,json=dataID,proto3,oneof" json:"data_i_d,omitempty"`
}
func (*AnyID_DataID) MarshalToSizedBuffer ¶
func (m *AnyID_DataID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyID_DataID) Size ¶
func (m *AnyID_DataID) Size() (n int)
type AnyID_HashID ¶
type AnyID_HashID struct {
HashID *HashID `protobuf:"bytes,4,opt,name=hash_i_d,json=hashID,proto3,oneof" json:"hash_i_d,omitempty"`
}
func (*AnyID_HashID) MarshalToSizedBuffer ¶
func (m *AnyID_HashID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyID_HashID) Size ¶
func (m *AnyID_HashID) Size() (n int)
type AnyID_IdentityID ¶
type AnyID_IdentityID struct {
IdentityID *IdentityID `protobuf:"bytes,5,opt,name=identity_i_d,json=identityID,proto3,oneof" json:"identity_i_d,omitempty"`
}
func (*AnyID_IdentityID) MarshalToSizedBuffer ¶
func (m *AnyID_IdentityID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyID_IdentityID) Size ¶
func (m *AnyID_IdentityID) Size() (n int)
type AnyID_MaintainerID ¶
type AnyID_MaintainerID struct {
MaintainerID *MaintainerID `protobuf:"bytes,6,opt,name=maintainer_i_d,json=maintainerID,proto3,oneof" json:"maintainer_i_d,omitempty"`
}
func (*AnyID_MaintainerID) MarshalTo ¶
func (m *AnyID_MaintainerID) MarshalTo(dAtA []byte) (int, error)
func (*AnyID_MaintainerID) MarshalToSizedBuffer ¶
func (m *AnyID_MaintainerID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyID_MaintainerID) Size ¶
func (m *AnyID_MaintainerID) Size() (n int)
type AnyID_OrderID ¶
type AnyID_OrderID struct {
OrderID *OrderID `protobuf:"bytes,7,opt,name=order_i_d,json=orderID,proto3,oneof" json:"order_i_d,omitempty"`
}
func (*AnyID_OrderID) MarshalToSizedBuffer ¶
func (m *AnyID_OrderID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyID_OrderID) Size ¶
func (m *AnyID_OrderID) Size() (n int)
type AnyID_PropertyID ¶
type AnyID_PropertyID struct {
PropertyID *PropertyID `protobuf:"bytes,8,opt,name=property_i_d,json=propertyID,proto3,oneof" json:"property_i_d,omitempty"`
}
func (*AnyID_PropertyID) MarshalToSizedBuffer ¶
func (m *AnyID_PropertyID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyID_PropertyID) Size ¶
func (m *AnyID_PropertyID) Size() (n int)
type AnyID_SplitID ¶
type AnyID_SplitID struct {
SplitID *SplitID `protobuf:"bytes,9,opt,name=split_i_d,json=splitID,proto3,oneof" json:"split_i_d,omitempty"`
}
func (*AnyID_SplitID) MarshalToSizedBuffer ¶
func (m *AnyID_SplitID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyID_SplitID) Size ¶
func (m *AnyID_SplitID) Size() (n int)
type AnyID_StringID ¶
type AnyID_StringID struct {
StringID *StringID `protobuf:"bytes,10,opt,name=string_i_d,json=stringID,proto3,oneof" json:"string_i_d,omitempty"`
}
func (*AnyID_StringID) MarshalToSizedBuffer ¶
func (m *AnyID_StringID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyID_StringID) Size ¶
func (m *AnyID_StringID) Size() (n int)
type AssetID ¶
type AssetID struct {
HashID *HashID `protobuf:"bytes,1,opt,name=hash_i_d,json=hashID,proto3" json:"hash_i_d,omitempty"`
}
func (*AssetID) Descriptor ¶
func (*AssetID) MarshalToSizedBuffer ¶
func (*AssetID) ProtoMessage ¶
func (*AssetID) ProtoMessage()
func (*AssetID) ValidateBasic ¶
func (*AssetID) XXX_DiscardUnknown ¶
func (m *AssetID) XXX_DiscardUnknown()
func (*AssetID) XXX_Marshal ¶
func (*AssetID) XXX_Unmarshal ¶
type ClassificationID ¶
type ClassificationID struct {
HashID *HashID `protobuf:"bytes,1,opt,name=hash_i_d,json=hashID,proto3" json:"hash_i_d,omitempty"`
}
func (*ClassificationID) AsString ¶
func (classificationID *ClassificationID) AsString() string
func (*ClassificationID) Bytes ¶
func (classificationID *ClassificationID) Bytes() []byte
func (*ClassificationID) Descriptor ¶
func (*ClassificationID) Descriptor() ([]byte, []int)
func (*ClassificationID) FromString ¶
func (classificationID *ClassificationID) FromString(idString string) (ids.ID, error)
func (*ClassificationID) GetTypeID ¶
func (classificationID *ClassificationID) GetTypeID() ids.StringID
func (*ClassificationID) IsClassificationID ¶
func (classificationID *ClassificationID) IsClassificationID()
func (*ClassificationID) Marshal ¶
func (m *ClassificationID) Marshal() (dAtA []byte, err error)
func (*ClassificationID) MarshalToSizedBuffer ¶
func (m *ClassificationID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClassificationID) ProtoMessage ¶
func (*ClassificationID) ProtoMessage()
func (*ClassificationID) Reset ¶
func (m *ClassificationID) Reset()
func (*ClassificationID) Size ¶
func (m *ClassificationID) Size() (n int)
func (*ClassificationID) String ¶
func (m *ClassificationID) String() string
func (*ClassificationID) ToAnyID ¶
func (classificationID *ClassificationID) ToAnyID() ids.AnyID
func (*ClassificationID) Unmarshal ¶
func (m *ClassificationID) Unmarshal(dAtA []byte) error
func (*ClassificationID) ValidateBasic ¶
func (classificationID *ClassificationID) ValidateBasic() error
func (*ClassificationID) XXX_DiscardUnknown ¶
func (m *ClassificationID) XXX_DiscardUnknown()
func (*ClassificationID) XXX_Marshal ¶
func (m *ClassificationID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClassificationID) XXX_Merge ¶
func (m *ClassificationID) XXX_Merge(src proto.Message)
func (*ClassificationID) XXX_Size ¶
func (m *ClassificationID) XXX_Size() int
func (*ClassificationID) XXX_Unmarshal ¶
func (m *ClassificationID) XXX_Unmarshal(b []byte) error
type DataID ¶
type DataID struct { TypeID *StringID `protobuf:"bytes,1,opt,name=type_i_d,json=typeID,proto3" json:"type_i_d,omitempty"` HashID *HashID `protobuf:"bytes,2,opt,name=hash_i_d,json=hashID,proto3" json:"hash_i_d,omitempty"` }
func (*DataID) DataIDString ¶
func (*DataID) Descriptor ¶
func (*DataID) MarshalToSizedBuffer ¶
func (*DataID) ProtoMessage ¶
func (*DataID) ProtoMessage()
func (*DataID) ValidateBasic ¶
func (*DataID) XXX_DiscardUnknown ¶
func (m *DataID) XXX_DiscardUnknown()
func (*DataID) XXX_Marshal ¶
func (*DataID) XXX_Unmarshal ¶
type HashID ¶
type HashID struct {
IDBytes []byte `protobuf:"bytes,1,opt,name=i_d_bytes,json=iDBytes,proto3" json:"i_d_bytes,omitempty"`
}
func (*HashID) Descriptor ¶
func (*HashID) MarshalToSizedBuffer ¶
func (*HashID) ProtoMessage ¶
func (*HashID) ProtoMessage()
func (*HashID) ValidateBasic ¶
func (*HashID) XXX_DiscardUnknown ¶
func (m *HashID) XXX_DiscardUnknown()
func (*HashID) XXX_Marshal ¶
func (*HashID) XXX_Unmarshal ¶
type IdentityID ¶
type IdentityID struct {
HashID *HashID `protobuf:"bytes,1,opt,name=hash_i_d,json=hashID,proto3" json:"hash_i_d,omitempty"`
}
func (*IdentityID) AsString ¶
func (identityID *IdentityID) AsString() string
func (*IdentityID) Bytes ¶
func (identityID *IdentityID) Bytes() []byte
func (*IdentityID) Descriptor ¶
func (*IdentityID) Descriptor() ([]byte, []int)
func (*IdentityID) FromString ¶
func (identityID *IdentityID) FromString(idString string) (ids.ID, error)
func (*IdentityID) GetHashID ¶
func (identityID *IdentityID) GetHashID() ids.HashID
func (*IdentityID) GetTypeID ¶
func (identityID *IdentityID) GetTypeID() ids.StringID
func (*IdentityID) IsIdentityID ¶
func (identityID *IdentityID) IsIdentityID()
func (*IdentityID) Marshal ¶
func (m *IdentityID) Marshal() (dAtA []byte, err error)
func (*IdentityID) MarshalToSizedBuffer ¶
func (m *IdentityID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IdentityID) ProtoMessage ¶
func (*IdentityID) ProtoMessage()
func (*IdentityID) Reset ¶
func (m *IdentityID) Reset()
func (*IdentityID) Size ¶
func (m *IdentityID) Size() (n int)
func (*IdentityID) String ¶
func (m *IdentityID) String() string
func (*IdentityID) ToAnyID ¶
func (identityID *IdentityID) ToAnyID() ids.AnyID
func (*IdentityID) Unmarshal ¶
func (m *IdentityID) Unmarshal(dAtA []byte) error
func (*IdentityID) ValidateBasic ¶
func (identityID *IdentityID) ValidateBasic() error
func (*IdentityID) XXX_DiscardUnknown ¶
func (m *IdentityID) XXX_DiscardUnknown()
func (*IdentityID) XXX_Marshal ¶
func (m *IdentityID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentityID) XXX_Merge ¶
func (m *IdentityID) XXX_Merge(src proto.Message)
func (*IdentityID) XXX_Size ¶
func (m *IdentityID) XXX_Size() int
func (*IdentityID) XXX_Unmarshal ¶
func (m *IdentityID) XXX_Unmarshal(b []byte) error
type MaintainerID ¶
type MaintainerID struct {
HashID *HashID `protobuf:"bytes,1,opt,name=hash_i_d,json=hashID,proto3" json:"hash_i_d,omitempty"`
}
func (*MaintainerID) AsString ¶
func (maintainerID *MaintainerID) AsString() string
func (*MaintainerID) Bytes ¶
func (maintainerID *MaintainerID) Bytes() []byte
func (*MaintainerID) Descriptor ¶
func (*MaintainerID) Descriptor() ([]byte, []int)
func (*MaintainerID) FromString ¶
func (maintainerID *MaintainerID) FromString(idString string) (ids.ID, error)
func (*MaintainerID) GetTypeID ¶
func (maintainerID *MaintainerID) GetTypeID() ids.StringID
func (*MaintainerID) IsMaintainerID ¶
func (maintainerID *MaintainerID) IsMaintainerID()
func (*MaintainerID) Marshal ¶
func (m *MaintainerID) Marshal() (dAtA []byte, err error)
func (*MaintainerID) MarshalToSizedBuffer ¶
func (m *MaintainerID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MaintainerID) ProtoMessage ¶
func (*MaintainerID) ProtoMessage()
func (*MaintainerID) Reset ¶
func (m *MaintainerID) Reset()
func (*MaintainerID) Size ¶
func (m *MaintainerID) Size() (n int)
func (*MaintainerID) String ¶
func (m *MaintainerID) String() string
func (*MaintainerID) ToAnyID ¶
func (maintainerID *MaintainerID) ToAnyID() ids.AnyID
func (*MaintainerID) Unmarshal ¶
func (m *MaintainerID) Unmarshal(dAtA []byte) error
func (*MaintainerID) ValidateBasic ¶
func (maintainerID *MaintainerID) ValidateBasic() error
func (*MaintainerID) XXX_DiscardUnknown ¶
func (m *MaintainerID) XXX_DiscardUnknown()
func (*MaintainerID) XXX_Marshal ¶
func (m *MaintainerID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MaintainerID) XXX_Merge ¶
func (m *MaintainerID) XXX_Merge(src proto.Message)
func (*MaintainerID) XXX_Size ¶
func (m *MaintainerID) XXX_Size() int
func (*MaintainerID) XXX_Unmarshal ¶
func (m *MaintainerID) XXX_Unmarshal(b []byte) error
type OrderID ¶
type OrderID struct {
HashID *HashID `protobuf:"bytes,1,opt,name=hash_i_d,json=hashID,proto3" json:"hash_i_d,omitempty"`
}
func (*OrderID) Descriptor ¶
func (*OrderID) MarshalToSizedBuffer ¶
func (*OrderID) ProtoMessage ¶
func (*OrderID) ProtoMessage()
func (*OrderID) ValidateBasic ¶
func (*OrderID) XXX_DiscardUnknown ¶
func (m *OrderID) XXX_DiscardUnknown()
func (*OrderID) XXX_Marshal ¶
func (*OrderID) XXX_Unmarshal ¶
type PropertyID ¶
type PropertyID struct { KeyID *StringID `protobuf:"bytes,1,opt,name=key_i_d,json=keyID,proto3" json:"key_i_d,omitempty"` TypeID *StringID `protobuf:"bytes,2,opt,name=type_i_d,json=typeID,proto3" json:"type_i_d,omitempty"` }
func (*PropertyID) AsString ¶
func (propertyID *PropertyID) AsString() string
func (*PropertyID) Bytes ¶
func (propertyID *PropertyID) Bytes() []byte
func (*PropertyID) Descriptor ¶
func (*PropertyID) Descriptor() ([]byte, []int)
func (*PropertyID) FromString ¶
func (propertyID *PropertyID) FromString(idString string) (ids.ID, error)
func (*PropertyID) GetDataTypeID ¶
func (propertyID *PropertyID) GetDataTypeID() ids.StringID
func (*PropertyID) GetKey ¶
func (propertyID *PropertyID) GetKey() ids.StringID
func (*PropertyID) GetTypeID ¶
func (propertyID *PropertyID) GetTypeID() ids.StringID
func (*PropertyID) IsPropertyID ¶
func (propertyID *PropertyID) IsPropertyID()
func (*PropertyID) Marshal ¶
func (m *PropertyID) Marshal() (dAtA []byte, err error)
func (*PropertyID) MarshalToSizedBuffer ¶
func (m *PropertyID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PropertyID) ProtoMessage ¶
func (*PropertyID) ProtoMessage()
func (*PropertyID) Reset ¶
func (m *PropertyID) Reset()
func (*PropertyID) Size ¶
func (m *PropertyID) Size() (n int)
func (*PropertyID) String ¶
func (m *PropertyID) String() string
func (*PropertyID) ToAnyID ¶
func (propertyID *PropertyID) ToAnyID() ids.AnyID
func (*PropertyID) Unmarshal ¶
func (m *PropertyID) Unmarshal(dAtA []byte) error
func (*PropertyID) ValidateBasic ¶
func (propertyID *PropertyID) ValidateBasic() error
func (*PropertyID) XXX_DiscardUnknown ¶
func (m *PropertyID) XXX_DiscardUnknown()
func (*PropertyID) XXX_Marshal ¶
func (m *PropertyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PropertyID) XXX_Merge ¶
func (m *PropertyID) XXX_Merge(src proto.Message)
func (*PropertyID) XXX_Size ¶
func (m *PropertyID) XXX_Size() int
func (*PropertyID) XXX_Unmarshal ¶
func (m *PropertyID) XXX_Unmarshal(b []byte) error
type SplitID ¶
type SplitID struct { AssetID *AssetID `protobuf:"bytes,1,opt,name=asset_i_d,json=assetID,proto3" json:"asset_i_d,omitempty"` OwnerID *IdentityID `protobuf:"bytes,2,opt,name=owner_i_d,json=ownerID,proto3" json:"owner_i_d,omitempty"` }
func (*SplitID) Descriptor ¶
func (*SplitID) GetAssetID ¶
func (*SplitID) GetOwnerID ¶
func (splitID *SplitID) GetOwnerID() ids.IdentityID
func (*SplitID) MarshalToSizedBuffer ¶
func (*SplitID) MustGetFromPrefixedStoreKeyBytes ¶
TODO optimize this
func (*SplitID) ProtoMessage ¶
func (*SplitID) ProtoMessage()
func (*SplitID) SplitIDString ¶
func (*SplitID) ValidateBasic ¶
func (*SplitID) XXX_DiscardUnknown ¶
func (m *SplitID) XXX_DiscardUnknown()
func (*SplitID) XXX_Marshal ¶
func (*SplitID) XXX_Unmarshal ¶
type StringID ¶
type StringID struct {
IDString string `protobuf:"bytes,1,opt,name=i_d_string,json=iDString,proto3" json:"i_d_string,omitempty"`
}
func (*StringID) Descriptor ¶
func (*StringID) IsStringID ¶
func (stringID *StringID) IsStringID()
func (*StringID) MarshalToSizedBuffer ¶
func (*StringID) ProtoMessage ¶
func (*StringID) ProtoMessage()
func (*StringID) ValidateBasic ¶
func (*StringID) XXX_DiscardUnknown ¶
func (m *StringID) XXX_DiscardUnknown()
func (*StringID) XXX_Marshal ¶
func (*StringID) XXX_Unmarshal ¶
Source Files ¶
- any_id.go
- any_id.pb.go
- asset_id.go
- asset_id.pb.go
- classification_id.go
- classification_id.pb.go
- codec.go
- data_id.go
- data_id.pb.go
- hash_id.go
- hash_id.pb.go
- identity_id.go
- identity_id.pb.go
- maintainer_id.go
- maintainer_id.pb.go
- order_id.go
- order_id.pb.go
- property_id.go
- property_id.pb.go
- split_id.go
- split_id.pb.go
- string_id.go
- string_id.pb.go
Click to show internal directories.
Click to hide internal directories.