Documentation
¶
Index ¶
- Variables
- type ObjectInfo
- func (m *ObjectInfo) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ObjectInfo) CloneVT() *ObjectInfo
- func (this *ObjectInfo) EqualMessageVT(thatMsg any) bool
- func (this *ObjectInfo) EqualVT(that *ObjectInfo) bool
- func (m *ObjectInfo) GetInfo() isObjectInfo_Info
- func (x *ObjectInfo) GetUnixfsObjectInfo() *UnixfsObjectInfo
- func (x *ObjectInfo) GetWorldObjectInfo() *WorldObjectInfo
- func (x *ObjectInfo) MarshalJSON() ([]byte, error)
- func (x *ObjectInfo) MarshalProtoJSON(s *json.MarshalState)
- func (x *ObjectInfo) MarshalProtoText() string
- func (m *ObjectInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ObjectInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *ObjectInfo) MarshalVT() (dAtA []byte, err error)
- func (*ObjectInfo) ProtoMessage()
- func (x *ObjectInfo) Reset()
- func (m *ObjectInfo) SizeVT() (n int)
- func (x *ObjectInfo) String() string
- func (x *ObjectInfo) UnmarshalJSON(b []byte) error
- func (x *ObjectInfo) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ObjectInfo) UnmarshalVT(dAtA []byte) error
- type ObjectInfoType
- func (x ObjectInfoType) Enum() *ObjectInfoType
- func (x ObjectInfoType) MarshalJSON() ([]byte, error)
- func (x ObjectInfoType) MarshalProtoJSON(s *json.MarshalState)
- func (x ObjectInfoType) MarshalProtoText() string
- func (x ObjectInfoType) MarshalText() ([]byte, error)
- func (x ObjectInfoType) String() string
- func (x *ObjectInfoType) UnmarshalJSON(b []byte) error
- func (x *ObjectInfoType) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *ObjectInfoType) UnmarshalText(b []byte) error
- type ObjectInfo_UnixfsObjectInfo
- func (m *ObjectInfo_UnixfsObjectInfo) CloneOneofVT() isObjectInfo_Info
- func (m *ObjectInfo_UnixfsObjectInfo) CloneVT() *ObjectInfo_UnixfsObjectInfo
- func (this *ObjectInfo_UnixfsObjectInfo) EqualVT(thatIface isObjectInfo_Info) bool
- func (m *ObjectInfo_UnixfsObjectInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ObjectInfo_UnixfsObjectInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *ObjectInfo_UnixfsObjectInfo) SizeVT() (n int)
- type ObjectInfo_WorldObjectInfo
- func (m *ObjectInfo_WorldObjectInfo) CloneOneofVT() isObjectInfo_Info
- func (m *ObjectInfo_WorldObjectInfo) CloneVT() *ObjectInfo_WorldObjectInfo
- func (this *ObjectInfo_WorldObjectInfo) EqualVT(thatIface isObjectInfo_Info) bool
- func (m *ObjectInfo_WorldObjectInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ObjectInfo_WorldObjectInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *ObjectInfo_WorldObjectInfo) SizeVT() (n int)
- type UnixfsObjectInfo
- func (m *UnixfsObjectInfo) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *UnixfsObjectInfo) CloneVT() *UnixfsObjectInfo
- func (this *UnixfsObjectInfo) EqualMessageVT(thatMsg any) bool
- func (this *UnixfsObjectInfo) EqualVT(that *UnixfsObjectInfo) bool
- func (x *UnixfsObjectInfo) GetMimeType() string
- func (x *UnixfsObjectInfo) GetPath() string
- func (x *UnixfsObjectInfo) GetUnixfsId() string
- func (x *UnixfsObjectInfo) MarshalJSON() ([]byte, error)
- func (x *UnixfsObjectInfo) MarshalProtoJSON(s *json.MarshalState)
- func (x *UnixfsObjectInfo) MarshalProtoText() string
- func (m *UnixfsObjectInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UnixfsObjectInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *UnixfsObjectInfo) MarshalVT() (dAtA []byte, err error)
- func (*UnixfsObjectInfo) ProtoMessage()
- func (x *UnixfsObjectInfo) Reset()
- func (m *UnixfsObjectInfo) SizeVT() (n int)
- func (x *UnixfsObjectInfo) String() string
- func (x *UnixfsObjectInfo) UnmarshalJSON(b []byte) error
- func (x *UnixfsObjectInfo) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *UnixfsObjectInfo) UnmarshalVT(dAtA []byte) error
- type WorldObjectInfo
- func (m *WorldObjectInfo) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *WorldObjectInfo) CloneVT() *WorldObjectInfo
- func (this *WorldObjectInfo) EqualMessageVT(thatMsg any) bool
- func (this *WorldObjectInfo) EqualVT(that *WorldObjectInfo) bool
- func (x *WorldObjectInfo) GetEngineId() string
- func (x *WorldObjectInfo) GetObjectKey() string
- func (x *WorldObjectInfo) GetObjectType() string
- func (x *WorldObjectInfo) MarshalJSON() ([]byte, error)
- func (x *WorldObjectInfo) MarshalProtoJSON(s *json.MarshalState)
- func (x *WorldObjectInfo) MarshalProtoText() string
- func (m *WorldObjectInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WorldObjectInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *WorldObjectInfo) MarshalVT() (dAtA []byte, err error)
- func (*WorldObjectInfo) ProtoMessage()
- func (x *WorldObjectInfo) Reset()
- func (m *WorldObjectInfo) SizeVT() (n int)
- func (x *WorldObjectInfo) String() string
- func (x *WorldObjectInfo) UnmarshalJSON(b []byte) error
- func (x *WorldObjectInfo) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *WorldObjectInfo) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ObjectInfoType_name = map[int32]string{ 0: "ObjectInfoType_UNKNOWN", 1: "ObjectInfoType_WORLD", 2: "ObjectInfoType_UNIXFS", } ObjectInfoType_value = map[string]int32{ "ObjectInfoType_UNKNOWN": 0, "ObjectInfoType_WORLD": 1, "ObjectInfoType_UNIXFS": 2, } )
Enum value maps for ObjectInfoType.
Functions ¶
This section is empty.
Types ¶
type ObjectInfo ¶
type ObjectInfo struct {
// Types that are assignable to Info:
//
// *ObjectInfo_WorldObjectInfo
// *ObjectInfo_UnixfsObjectInfo
Info isObjectInfo_Info `protobuf_oneof:"info"`
// contains filtered or unexported fields
}
ObjectInfo is basic metadata about an object. Often used as a selector to determine what to display in an ObjectViewer. Some components support empty fields: all fields are optional.
func (*ObjectInfo) CloneMessageVT ¶
func (m *ObjectInfo) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ObjectInfo) CloneVT ¶
func (m *ObjectInfo) CloneVT() *ObjectInfo
func (*ObjectInfo) EqualMessageVT ¶
func (this *ObjectInfo) EqualMessageVT(thatMsg any) bool
func (*ObjectInfo) EqualVT ¶
func (this *ObjectInfo) EqualVT(that *ObjectInfo) bool
func (*ObjectInfo) GetInfo ¶
func (m *ObjectInfo) GetInfo() isObjectInfo_Info
func (*ObjectInfo) GetUnixfsObjectInfo ¶
func (x *ObjectInfo) GetUnixfsObjectInfo() *UnixfsObjectInfo
func (*ObjectInfo) GetWorldObjectInfo ¶
func (x *ObjectInfo) GetWorldObjectInfo() *WorldObjectInfo
func (*ObjectInfo) MarshalJSON ¶
func (x *ObjectInfo) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ObjectInfo to JSON.
func (*ObjectInfo) MarshalProtoJSON ¶
func (x *ObjectInfo) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ObjectInfo message to JSON.
func (*ObjectInfo) MarshalProtoText ¶
func (x *ObjectInfo) MarshalProtoText() string
func (*ObjectInfo) MarshalToSizedBufferVT ¶
func (m *ObjectInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ObjectInfo) MarshalToVT ¶
func (m *ObjectInfo) MarshalToVT(dAtA []byte) (int, error)
func (*ObjectInfo) MarshalVT ¶
func (m *ObjectInfo) MarshalVT() (dAtA []byte, err error)
func (*ObjectInfo) ProtoMessage ¶
func (*ObjectInfo) ProtoMessage()
func (*ObjectInfo) Reset ¶
func (x *ObjectInfo) Reset()
func (*ObjectInfo) SizeVT ¶
func (m *ObjectInfo) SizeVT() (n int)
func (*ObjectInfo) String ¶
func (x *ObjectInfo) String() string
func (*ObjectInfo) UnmarshalJSON ¶
func (x *ObjectInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ObjectInfo from JSON.
func (*ObjectInfo) UnmarshalProtoJSON ¶
func (x *ObjectInfo) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ObjectInfo message from JSON.
func (*ObjectInfo) UnmarshalVT ¶
func (m *ObjectInfo) UnmarshalVT(dAtA []byte) error
type ObjectInfoType ¶
type ObjectInfoType int32
ObjectInfoType contains the set of object info types.
const ( // ObjectInfoType_UNKNOWN is the zero value. ObjectInfoType_ObjectInfoType_UNKNOWN ObjectInfoType = 0 // ObjectInfoType_WORLD is the world object type. // Corresponds to WorldObjectInfo. ObjectInfoType_ObjectInfoType_WORLD ObjectInfoType = 1 // ObjectInfoType_UNIXFS is the UnixFS object type. // Corresponds to UnixfsObjectInfo. ObjectInfoType_ObjectInfoType_UNIXFS ObjectInfoType = 2 )
func (ObjectInfoType) Enum ¶
func (x ObjectInfoType) Enum() *ObjectInfoType
func (ObjectInfoType) MarshalJSON ¶
func (x ObjectInfoType) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ObjectInfoType to JSON.
func (ObjectInfoType) MarshalProtoJSON ¶
func (x ObjectInfoType) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ObjectInfoType to JSON.
func (ObjectInfoType) MarshalProtoText ¶
func (x ObjectInfoType) MarshalProtoText() string
func (ObjectInfoType) MarshalText ¶
func (x ObjectInfoType) MarshalText() ([]byte, error)
MarshalText marshals the ObjectInfoType to text.
func (ObjectInfoType) String ¶
func (x ObjectInfoType) String() string
func (*ObjectInfoType) UnmarshalJSON ¶
func (x *ObjectInfoType) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ObjectInfoType from JSON.
func (*ObjectInfoType) UnmarshalProtoJSON ¶
func (x *ObjectInfoType) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ObjectInfoType from JSON.
func (*ObjectInfoType) UnmarshalText ¶
func (x *ObjectInfoType) UnmarshalText(b []byte) error
UnmarshalText unmarshals the ObjectInfoType from text.
type ObjectInfo_UnixfsObjectInfo ¶
type ObjectInfo_UnixfsObjectInfo struct {
// UnixfsObjectInfo contains info about a file within a UnixFS filesystem.
// ObjectInfoType_UNIXFS
UnixfsObjectInfo *UnixfsObjectInfo `protobuf:"bytes,2,opt,name=unixfs_object_info,json=unixfsObjectInfo,proto3,oneof"`
}
func (*ObjectInfo_UnixfsObjectInfo) CloneOneofVT ¶
func (m *ObjectInfo_UnixfsObjectInfo) CloneOneofVT() isObjectInfo_Info
func (*ObjectInfo_UnixfsObjectInfo) CloneVT ¶
func (m *ObjectInfo_UnixfsObjectInfo) CloneVT() *ObjectInfo_UnixfsObjectInfo
func (*ObjectInfo_UnixfsObjectInfo) EqualVT ¶
func (this *ObjectInfo_UnixfsObjectInfo) EqualVT(thatIface isObjectInfo_Info) bool
func (*ObjectInfo_UnixfsObjectInfo) MarshalToSizedBufferVT ¶
func (m *ObjectInfo_UnixfsObjectInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ObjectInfo_UnixfsObjectInfo) MarshalToVT ¶
func (m *ObjectInfo_UnixfsObjectInfo) MarshalToVT(dAtA []byte) (int, error)
func (*ObjectInfo_UnixfsObjectInfo) SizeVT ¶
func (m *ObjectInfo_UnixfsObjectInfo) SizeVT() (n int)
type ObjectInfo_WorldObjectInfo ¶
type ObjectInfo_WorldObjectInfo struct {
// WorldObjectInfo contains info about an object within a Hydra World.
// ObjectInfoType_WORLD
WorldObjectInfo *WorldObjectInfo `protobuf:"bytes,1,opt,name=world_object_info,json=worldObjectInfo,proto3,oneof"`
}
func (*ObjectInfo_WorldObjectInfo) CloneOneofVT ¶
func (m *ObjectInfo_WorldObjectInfo) CloneOneofVT() isObjectInfo_Info
func (*ObjectInfo_WorldObjectInfo) CloneVT ¶
func (m *ObjectInfo_WorldObjectInfo) CloneVT() *ObjectInfo_WorldObjectInfo
func (*ObjectInfo_WorldObjectInfo) EqualVT ¶
func (this *ObjectInfo_WorldObjectInfo) EqualVT(thatIface isObjectInfo_Info) bool
func (*ObjectInfo_WorldObjectInfo) MarshalToSizedBufferVT ¶
func (m *ObjectInfo_WorldObjectInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ObjectInfo_WorldObjectInfo) MarshalToVT ¶
func (m *ObjectInfo_WorldObjectInfo) MarshalToVT(dAtA []byte) (int, error)
func (*ObjectInfo_WorldObjectInfo) SizeVT ¶
func (m *ObjectInfo_WorldObjectInfo) SizeVT() (n int)
type UnixfsObjectInfo ¶
type UnixfsObjectInfo struct {
// UnixfsId is the identifier for the UnixFS on the bus.
// The fs should be provided with the AccessUnixFS controller.
UnixfsId string `protobuf:"bytes,1,opt,name=unixfs_id,json=unixfsId,proto3" json:"unixfsId,omitempty"`
// Path is the base path to select within the UnixFS.
// Optional.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// MimeType is the mime type of the passed path, if known.
// Optional.
MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mimeType,omitempty"`
// contains filtered or unexported fields
}
UnixfsObjectInfo is basic metadata about a UnixFS file. Some components support empty fields: all fields are optional. ObjectInfoType_UNIXFS
func (*UnixfsObjectInfo) CloneMessageVT ¶
func (m *UnixfsObjectInfo) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*UnixfsObjectInfo) CloneVT ¶
func (m *UnixfsObjectInfo) CloneVT() *UnixfsObjectInfo
func (*UnixfsObjectInfo) EqualMessageVT ¶
func (this *UnixfsObjectInfo) EqualMessageVT(thatMsg any) bool
func (*UnixfsObjectInfo) EqualVT ¶
func (this *UnixfsObjectInfo) EqualVT(that *UnixfsObjectInfo) bool
func (*UnixfsObjectInfo) GetMimeType ¶
func (x *UnixfsObjectInfo) GetMimeType() string
func (*UnixfsObjectInfo) GetPath ¶
func (x *UnixfsObjectInfo) GetPath() string
func (*UnixfsObjectInfo) GetUnixfsId ¶
func (x *UnixfsObjectInfo) GetUnixfsId() string
func (*UnixfsObjectInfo) MarshalJSON ¶
func (x *UnixfsObjectInfo) MarshalJSON() ([]byte, error)
MarshalJSON marshals the UnixfsObjectInfo to JSON.
func (*UnixfsObjectInfo) MarshalProtoJSON ¶
func (x *UnixfsObjectInfo) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the UnixfsObjectInfo message to JSON.
func (*UnixfsObjectInfo) MarshalProtoText ¶
func (x *UnixfsObjectInfo) MarshalProtoText() string
func (*UnixfsObjectInfo) MarshalToSizedBufferVT ¶
func (m *UnixfsObjectInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UnixfsObjectInfo) MarshalToVT ¶
func (m *UnixfsObjectInfo) MarshalToVT(dAtA []byte) (int, error)
func (*UnixfsObjectInfo) MarshalVT ¶
func (m *UnixfsObjectInfo) MarshalVT() (dAtA []byte, err error)
func (*UnixfsObjectInfo) ProtoMessage ¶
func (*UnixfsObjectInfo) ProtoMessage()
func (*UnixfsObjectInfo) Reset ¶
func (x *UnixfsObjectInfo) Reset()
func (*UnixfsObjectInfo) SizeVT ¶
func (m *UnixfsObjectInfo) SizeVT() (n int)
func (*UnixfsObjectInfo) String ¶
func (x *UnixfsObjectInfo) String() string
func (*UnixfsObjectInfo) UnmarshalJSON ¶
func (x *UnixfsObjectInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the UnixfsObjectInfo from JSON.
func (*UnixfsObjectInfo) UnmarshalProtoJSON ¶
func (x *UnixfsObjectInfo) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the UnixfsObjectInfo message from JSON.
func (*UnixfsObjectInfo) UnmarshalVT ¶
func (m *UnixfsObjectInfo) UnmarshalVT(dAtA []byte) error
type WorldObjectInfo ¶
type WorldObjectInfo struct {
// EngineId is the identifier used to look up the world on the bus.
EngineId string `protobuf:"bytes,1,opt,name=engine_id,json=engineId,proto3" json:"engineId,omitempty"`
// ObjectKey is the ID of the referenced object.
ObjectKey string `protobuf:"bytes,2,opt,name=object_key,json=objectKey,proto3" json:"objectKey,omitempty"`
// ObjectType is the object type string for the object.
ObjectType string `protobuf:"bytes,3,opt,name=object_type,json=objectType,proto3" json:"objectType,omitempty"`
// contains filtered or unexported fields
}
WorldObjectInfo is basic metadata about a world object. Some components support empty fields: all fields are optional. ObjectInfoType_WORLD
func (*WorldObjectInfo) CloneMessageVT ¶
func (m *WorldObjectInfo) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*WorldObjectInfo) CloneVT ¶
func (m *WorldObjectInfo) CloneVT() *WorldObjectInfo
func (*WorldObjectInfo) EqualMessageVT ¶
func (this *WorldObjectInfo) EqualMessageVT(thatMsg any) bool
func (*WorldObjectInfo) EqualVT ¶
func (this *WorldObjectInfo) EqualVT(that *WorldObjectInfo) bool
func (*WorldObjectInfo) GetEngineId ¶
func (x *WorldObjectInfo) GetEngineId() string
func (*WorldObjectInfo) GetObjectKey ¶
func (x *WorldObjectInfo) GetObjectKey() string
func (*WorldObjectInfo) GetObjectType ¶
func (x *WorldObjectInfo) GetObjectType() string
func (*WorldObjectInfo) MarshalJSON ¶
func (x *WorldObjectInfo) MarshalJSON() ([]byte, error)
MarshalJSON marshals the WorldObjectInfo to JSON.
func (*WorldObjectInfo) MarshalProtoJSON ¶
func (x *WorldObjectInfo) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the WorldObjectInfo message to JSON.
func (*WorldObjectInfo) MarshalProtoText ¶
func (x *WorldObjectInfo) MarshalProtoText() string
func (*WorldObjectInfo) MarshalToSizedBufferVT ¶
func (m *WorldObjectInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WorldObjectInfo) MarshalToVT ¶
func (m *WorldObjectInfo) MarshalToVT(dAtA []byte) (int, error)
func (*WorldObjectInfo) MarshalVT ¶
func (m *WorldObjectInfo) MarshalVT() (dAtA []byte, err error)
func (*WorldObjectInfo) ProtoMessage ¶
func (*WorldObjectInfo) ProtoMessage()
func (*WorldObjectInfo) Reset ¶
func (x *WorldObjectInfo) Reset()
func (*WorldObjectInfo) SizeVT ¶
func (m *WorldObjectInfo) SizeVT() (n int)
func (*WorldObjectInfo) String ¶
func (x *WorldObjectInfo) String() string
func (*WorldObjectInfo) UnmarshalJSON ¶
func (x *WorldObjectInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the WorldObjectInfo from JSON.
func (*WorldObjectInfo) UnmarshalProtoJSON ¶
func (x *WorldObjectInfo) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the WorldObjectInfo message from JSON.
func (*WorldObjectInfo) UnmarshalVT ¶
func (m *WorldObjectInfo) UnmarshalVT(dAtA []byte) error