Search
Preparing search index...
The search index is not available
@textile/powergate-client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
"user/v1/user_pb.d"
StorageDealRecord
Class StorageDealRecord
Hierarchy
Message
StorageDealRecord
Index
Type aliases
As
Object
Message
Array
Static
ToObject
Properties
extensions
extensions
Binary
Methods
clear
Data
Transfer
End
clear
Data
Transfer
Start
clear
Deal
Info
clear
Sealing
End
clear
Sealing
Start
clear
Updated
At
clone
clone
Message
get
Address
get
Data
Transfer
End
get
Data
Transfer
Start
get
Deal
Info
get
Err
Msg
get
Extension
get
JsPb
Message
Id
get
Pending
get
Root
Cid
get
Sealing
End
get
Sealing
Start
get
Time
get
Transfer
Size
get
Updated
At
has
Data
Transfer
End
has
Data
Transfer
Start
has
Deal
Info
has
Sealing
End
has
Sealing
Start
has
Updated
At
read
Binary
Extension
serialize
Binary
serialize
Binary
Extensions
set
Address
set
Data
Transfer
End
set
Data
Transfer
Start
set
Deal
Info
set
Err
Msg
set
Extension
set
Pending
set
Root
Cid
set
Sealing
End
set
Sealing
Start
set
Time
set
Transfer
Size
set
Updated
At
to
Array
to
Object
to
String
add
ToRepeated
Field
add
ToRepeated
Wrapper
Field
bytes
AsB64
bytes
AsU8
bytes
List
AsB64
bytes
List
AsU8
clone
clone
Message
compare
Extensions
compare
Fields
compute
Oneof
Case
copy
Into
deserialize
Binary
deserialize
Binary
From
Reader
difference
equals
get
Field
get
Field
With
Default
get
Map
Field
get
Optional
Floating
Point
Field
get
Repeated
Floating
Point
Field
get
Repeated
Wrapper
Field
get
Wrapper
Field
initialize
register
Message
Type
serialize
Binary
ToWriter
set
Field
set
Oneof
Field
set
Oneof
Wrapper
Field
set
Repeated
Wrapper
Field
set
Wrapper
Field
to
Map
to
Object
to
Object
Extension
to
Object
List
Type aliases
Static
As
Object
As
Object
:
{
address
:
string
;
dataTransferEnd
?:
google_protobuf_timestamp_pb.Timestamp.AsObject
;
dataTransferStart
?:
google_protobuf_timestamp_pb.Timestamp.AsObject
;
dealInfo
?:
AsObject
;
errMsg
:
string
;
pending
:
boolean
;
rootCid
:
string
;
sealingEnd
?:
google_protobuf_timestamp_pb.Timestamp.AsObject
;
sealingStart
?:
google_protobuf_timestamp_pb.Timestamp.AsObject
;
time
:
number
;
transferSize
:
number
;
updatedAt
?:
google_protobuf_timestamp_pb.Timestamp.AsObject
}
Type declaration
address
:
string
Optional
data
Transfer
End
?:
google_protobuf_timestamp_pb.Timestamp.AsObject
Optional
data
Transfer
Start
?:
google_protobuf_timestamp_pb.Timestamp.AsObject
Optional
deal
Info
?:
AsObject
err
Msg
:
string
pending
:
boolean
root
Cid
:
string
Optional
sealing
End
?:
google_protobuf_timestamp_pb.Timestamp.AsObject
Optional
sealing
Start
?:
google_protobuf_timestamp_pb.Timestamp.AsObject
time
:
number
transfer
Size
:
number
Optional
updated
At
?:
google_protobuf_timestamp_pb.Timestamp.AsObject
Static
Message
Array
Message
Array
:
any
[]
Static
Static
ToObject
Static
ToObject
:
(
includeInstance
:
boolean
, msg
:
Message
)
=>
{}
Type declaration
(
includeInstance
:
boolean
, msg
:
Message
)
:
{}
Parameters
includeInstance:
boolean
msg:
Message
Returns
{}
Properties
Static
extensions
extensions
:
{}
Type declaration
[
key:
number
]:
ExtensionFieldInfo
<
Message
>
Static
extensions
Binary
extensions
Binary
:
{}
Type declaration
[
key:
number
]:
ExtensionFieldBinaryInfo
<
Message
>
Methods
clear
Data
Transfer
End
clear
Data
Transfer
End
(
)
:
void
Returns
void
clear
Data
Transfer
Start
clear
Data
Transfer
Start
(
)
:
void
Returns
void
clear
Deal
Info
clear
Deal
Info
(
)
:
void
Returns
void
clear
Sealing
End
clear
Sealing
End
(
)
:
void
Returns
void
clear
Sealing
Start
clear
Sealing
Start
(
)
:
void
Returns
void
clear
Updated
At
clear
Updated
At
(
)
:
void
Returns
void
clone
clone
(
)
:
this
Returns
this
clone
Message
clone
Message
(
)
:
this
Returns
this
get
Address
get
Address
(
)
:
string
Returns
string
get
Data
Transfer
End
get
Data
Transfer
End
(
)
:
Timestamp
|
undefined
Returns
Timestamp
|
undefined
get
Data
Transfer
Start
get
Data
Transfer
Start
(
)
:
Timestamp
|
undefined
Returns
Timestamp
|
undefined
get
Deal
Info
get
Deal
Info
(
)
:
StorageDealInfo
|
undefined
Returns
StorageDealInfo
|
undefined
get
Err
Msg
get
Err
Msg
(
)
:
string
Returns
string
get
Extension
get
Extension<T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
)
:
T
Type parameters
T
Parameters
fieldInfo:
ExtensionFieldInfo
<
T
>
Returns
T
get
JsPb
Message
Id
get
JsPb
Message
Id
(
)
:
undefined
|
string
Returns
undefined
|
string
get
Pending
get
Pending
(
)
:
boolean
Returns
boolean
get
Root
Cid
get
Root
Cid
(
)
:
string
Returns
string
get
Sealing
End
get
Sealing
End
(
)
:
Timestamp
|
undefined
Returns
Timestamp
|
undefined
get
Sealing
Start
get
Sealing
Start
(
)
:
Timestamp
|
undefined
Returns
Timestamp
|
undefined
get
Time
get
Time
(
)
:
number
Returns
number
get
Transfer
Size
get
Transfer
Size
(
)
:
number
Returns
number
get
Updated
At
get
Updated
At
(
)
:
Timestamp
|
undefined
Returns
Timestamp
|
undefined
has
Data
Transfer
End
has
Data
Transfer
End
(
)
:
boolean
Returns
boolean
has
Data
Transfer
Start
has
Data
Transfer
Start
(
)
:
boolean
Returns
boolean
has
Deal
Info
has
Deal
Info
(
)
:
boolean
Returns
boolean
has
Sealing
End
has
Sealing
End
(
)
:
boolean
Returns
boolean
has
Sealing
Start
has
Sealing
Start
(
)
:
boolean
Returns
boolean
has
Updated
At
has
Updated
At
(
)
:
boolean
Returns
boolean
read
Binary
Extension
read
Binary
Extension
(
proto
:
Message
, reader
:
BinaryReader
, extensions
:
{}
, setExtensionFn
:
<T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
, val
:
T
)
=>
void
)
:
void
Parameters
proto:
Message
reader:
BinaryReader
extensions:
{}
[
key:
number
]:
ExtensionFieldBinaryInfo
<
Message
>
setExtensionFn: <T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
, val
:
T
)
=>
void
<T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
, val
:
T
)
:
void
Type parameters
T
Parameters
fieldInfo:
ExtensionFieldInfo
<
T
>
val:
T
Returns
void
Returns
void
serialize
Binary
serialize
Binary
(
)
:
Uint8Array
Returns
Uint8Array
serialize
Binary
Extensions
serialize
Binary
Extensions
(
proto
:
Message
, writer
:
BinaryWriter
, extensions
:
{}
, getExtensionFn
:
<T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
)
=>
T
)
:
void
Parameters
proto:
Message
writer:
BinaryWriter
extensions:
{}
[
key:
number
]:
ExtensionFieldBinaryInfo
<
Message
>
getExtensionFn: <T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
)
=>
T
<T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
)
:
T
Type parameters
T
Parameters
fieldInfo:
ExtensionFieldInfo
<
T
>
Returns
T
Returns
void
set
Address
set
Address
(
value
:
string
)
:
void
Parameters
value:
string
Returns
void
set
Data
Transfer
End
set
Data
Transfer
End
(
value
?:
google_protobuf_timestamp_pb.Timestamp
)
:
void
Parameters
Optional
value:
google_protobuf_timestamp_pb.Timestamp
Returns
void
set
Data
Transfer
Start
set
Data
Transfer
Start
(
value
?:
google_protobuf_timestamp_pb.Timestamp
)
:
void
Parameters
Optional
value:
google_protobuf_timestamp_pb.Timestamp
Returns
void
set
Deal
Info
set
Deal
Info
(
value
?:
StorageDealInfo
)
:
void
Parameters
Optional
value:
StorageDealInfo
Returns
void
set
Err
Msg
set
Err
Msg
(
value
:
string
)
:
void
Parameters
value:
string
Returns
void
set
Extension
set
Extension<T>
(
fieldInfo
:
ExtensionFieldInfo
<
T
>
, value
:
T
)
:
void
Type parameters
T
Parameters
fieldInfo:
ExtensionFieldInfo
<
T
>
value:
T
Returns
void
set
Pending
set
Pending
(
value
:
boolean
)
:
void
Parameters
value:
boolean
Returns
void
set
Root
Cid
set
Root
Cid
(
value
:
string
)
:
void
Parameters
value:
string
Returns
void
set
Sealing
End
set
Sealing
End
(
value
?:
google_protobuf_timestamp_pb.Timestamp
)
:
void
Parameters
Optional
value:
google_protobuf_timestamp_pb.Timestamp
Returns
void
set
Sealing
Start
set
Sealing
Start
(
value
?:
google_protobuf_timestamp_pb.Timestamp
)
:
void
Parameters
Optional
value:
google_protobuf_timestamp_pb.Timestamp
Returns
void
set
Time
set
Time
(
value
:
number
)
:
void
Parameters
value:
number
Returns
void
set
Transfer
Size
set
Transfer
Size
(
value
:
number
)
:
void
Parameters
value:
number
Returns
void
set
Updated
At
set
Updated
At
(
value
?:
google_protobuf_timestamp_pb.Timestamp
)
:
void
Parameters
Optional
value:
google_protobuf_timestamp_pb.Timestamp
Returns
void
to
Array
to
Array
(
)
:
Message.MessageArray
Returns
Message.MessageArray
to
Object
to
Object
(
includeInstance
?:
undefined
|
false
|
true
)
:
AsObject
Parameters
Optional
includeInstance:
undefined
|
false
|
true
Returns
AsObject
to
String
to
String
(
)
:
string
Returns
string
Static
add
ToRepeated
Field
add
ToRepeated
Field
(
msg
:
Message
, fieldNumber
:
number
, value
:
any
, index
?:
undefined
|
number
)
:
void
Parameters
msg:
Message
fieldNumber:
number
value:
any
Optional
index:
undefined
|
number
Returns
void
Static
add
ToRepeated
Wrapper
Field
add
ToRepeated
Wrapper
Field<T>
(
msg
:
Message
, fieldNumber
:
number
, value
:
T
|
undefined
, ctor
:
{
constructor
:
any
}
, index
?:
undefined
|
number
)
:
T
Type parameters
T
:
Message
Parameters
msg:
Message
fieldNumber:
number
value:
T
|
undefined
ctor:
{
constructor
:
any
}
constructor
:
function
new __type
(
)
:
T
Returns
T
Optional
index:
undefined
|
number
Returns
T
Static
bytes
AsB64
bytes
AsB64
(
bytes
:
Uint8Array
)
:
string
Parameters
bytes:
Uint8Array
Returns
string
Static
bytes
AsU8
bytes
AsU8
(
str
:
string
)
:
Uint8Array
Parameters
str:
string
Returns
Uint8Array
Static
bytes
List
AsB64
bytes
List
AsB64
(
bytesList
:
Uint8Array
[]
)
:
string
[]
Parameters
bytesList:
Uint8Array
[]
Returns
string
[]
Static
bytes
List
AsU8
bytes
List
AsU8
(
strList
:
string
[]
)
:
Uint8Array
[]
Parameters
strList:
string
[]
Returns
Uint8Array
[]
Static
clone
clone<T>
(
msg
:
T
)
:
T
Type parameters
T
:
Message
Parameters
msg:
T
Returns
T
Static
clone
Message
clone
Message<T>
(
msg
:
T
)
:
T
Type parameters
T
:
Message
Parameters
msg:
T
Returns
T
Static
compare
Extensions
compare
Extensions
(
extension1
:
{}
, extension2
:
{}
)
:
boolean
Parameters
extension1:
{}
extension2:
{}
Returns
boolean
Static
compare
Fields
compare
Fields
(
field1
:
any
, field2
:
any
)
:
boolean
Parameters
field1:
any
field2:
any
Returns
boolean
Static
compute
Oneof
Case
compute
Oneof
Case
(
msg
:
Message
, oneof
:
number
[]
)
:
number
Parameters
msg:
Message
oneof:
number
[]
Returns
number
Static
copy
Into
copy
Into
(
fromMessage
:
Message
, toMessage
:
Message
)
:
void
Parameters
fromMessage:
Message
toMessage:
Message
Returns
void
Static
deserialize
Binary
deserialize
Binary
(
bytes
:
Uint8Array
)
:
StorageDealRecord
Parameters
bytes:
Uint8Array
Returns
StorageDealRecord
Static
deserialize
Binary
From
Reader
deserialize
Binary
From
Reader
(
message
:
StorageDealRecord
, reader
:
BinaryReader
)
:
StorageDealRecord
Parameters
message:
StorageDealRecord
reader:
BinaryReader
Returns
StorageDealRecord
Static
difference
difference<T>
(
m1
:
T
, m2
:
T
)
:
T
Type parameters
T
:
Message
Parameters
m1:
T
m2:
T
Returns
T
Static
equals
equals
(
m1
:
Message
, m2
:
Message
)
:
boolean
Parameters
m1:
Message
m2:
Message
Returns
boolean
Static
get
Field
get
Field
(
msg
:
Message
, fieldNumber
:
number
)
:
FieldValue
|
null
Parameters
msg:
Message
fieldNumber:
number
Returns
FieldValue
|
null
Static
get
Field
With
Default
get
Field
With
Default<T>
(
msg
:
Message
, fieldNumber
:
number
, defaultValue
:
T
)
:
T
Type parameters
T
Parameters
msg:
Message
fieldNumber:
number
defaultValue:
T
Returns
T
Static
get
Map
Field
get
Map
Field
(
msg
:
Message
, fieldNumber
:
number
, noLazyCreate
:
boolean
, valueCtor
:
typeof
Message
)
:
Map
<
any
,
any
>
Parameters
msg:
Message
fieldNumber:
number
noLazyCreate:
boolean
valueCtor:
typeof
Message
Returns
Map
<
any
,
any
>
Static
get
Optional
Floating
Point
Field
get
Optional
Floating
Point
Field
(
msg
:
Message
, fieldNumber
:
number
)
:
number
|
undefined
Parameters
msg:
Message
fieldNumber:
number
Returns
number
|
undefined
Static
get
Repeated
Floating
Point
Field
get
Repeated
Floating
Point
Field
(
msg
:
Message
, fieldNumber
:
number
)
:
number
[]
Parameters
msg:
Message
fieldNumber:
number
Returns
number
[]
Static
get
Repeated
Wrapper
Field
get
Repeated
Wrapper
Field<T>
(
msg
:
Message
, ctor
:
{
constructor
:
any
}
, fieldNumber
:
number
)
:
T
[]
Type parameters
T
:
Message
Parameters
msg:
Message
ctor:
{
constructor
:
any
}
constructor
:
function
new __type
(
)
:
T
Returns
T
fieldNumber:
number
Returns
T
[]
Static
get
Wrapper
Field
get
Wrapper
Field<T>
(
msg
:
Message
, ctor
:
{
constructor
:
any
}
, fieldNumber
:
number
, required
?:
undefined
|
number
)
:
T
Type parameters
T
:
Message
Parameters
msg:
Message
ctor:
{
constructor
:
any
}
constructor
:
function
new __type
(
)
:
T
Returns
T
fieldNumber:
number
Optional
required:
undefined
|
number
Returns
T
Static
initialize
initialize
(
msg
:
Message
, data
:
Message.MessageArray
, messageId
:
string
|
number
, suggestedPivot
:
number
, repeatedFields
?:
number
[]
, oneofFields
?:
number
[]
[]
|
null
)
:
void
Parameters
msg:
Message
data:
Message.MessageArray
messageId:
string
|
number
suggestedPivot:
number
Optional
repeatedFields:
number
[]
Optional
oneofFields:
number
[]
[]
|
null
Returns
void
Static
register
Message
Type
register
Message
Type
(
id
:
number
, constructor
:
typeof
Message
)
:
void
Parameters
id:
number
constructor:
typeof
Message
Returns
void
Static
serialize
Binary
ToWriter
serialize
Binary
ToWriter
(
message
:
StorageDealRecord
, writer
:
BinaryWriter
)
:
void
Parameters
message:
StorageDealRecord
writer:
BinaryWriter
Returns
void
Static
set
Field
set
Field
(
msg
:
Message
, fieldNumber
:
number
, value
:
FieldValue
)
:
void
Parameters
msg:
Message
fieldNumber:
number
value:
FieldValue
Returns
void
Static
set
Oneof
Field
set
Oneof
Field
(
msg
:
Message
, fieldNumber
:
number
, oneof
:
number
[]
, value
:
FieldValue
)
:
void
Parameters
msg:
Message
fieldNumber:
number
oneof:
number
[]
value:
FieldValue
Returns
void
Static
set
Oneof
Wrapper
Field
set
Oneof
Wrapper
Field
(
msg
:
Message
, fieldNumber
:
number
, oneof
:
number
[]
, value
:
any
)
:
void
Parameters
msg:
Message
fieldNumber:
number
oneof:
number
[]
value:
any
Returns
void
Static
set
Repeated
Wrapper
Field
set
Repeated
Wrapper
Field<T>
(
msg
:
Message
, fieldNumber
:
number
, value
?:
T
[]
)
:
void
Type parameters
T
:
Message
Parameters
msg:
Message
fieldNumber:
number
Optional
value:
T
[]
Returns
void
Static
set
Wrapper
Field
set
Wrapper
Field<T>
(
msg
:
Message
, fieldNumber
:
number
, value
?:
undefined
|
Map
<
any
,
any
>
|
T
)
:
void
Type parameters
T
:
Message
Parameters
msg:
Message
fieldNumber:
number
Optional
value:
undefined
|
Map
<
any
,
any
>
|
T
Returns
void
Static
to
Map
to
Map
(
field
:
any
[]
, mapKeyGetterFn
:
(
field
:
any
)
=>
string
, toObjectFn
?:
Message.StaticToObject
, includeInstance
?:
undefined
|
false
|
true
)
:
void
Parameters
field:
any
[]
mapKeyGetterFn:
(
field
:
any
)
=>
string
(
field
:
any
)
:
string
Parameters
field:
any
Returns
string
Optional
toObjectFn:
Message.StaticToObject
Optional
includeInstance:
undefined
|
false
|
true
Returns
void
Static
to
Object
to
Object
(
includeInstance
:
boolean
, msg
:
StorageDealRecord
)
:
AsObject
Parameters
includeInstance:
boolean
msg:
StorageDealRecord
Returns
AsObject
Static
to
Object
Extension
to
Object
Extension
(
msg
:
Message
, obj
:
{}
, extensions
:
{}
, getExtensionFn
:
(
fieldInfo
:
ExtensionFieldInfo
<
Message
>
)
=>
Message
, includeInstance
?:
undefined
|
false
|
true
)
:
void
Parameters
msg:
Message
obj:
{}
extensions:
{}
[
key:
number
]:
ExtensionFieldInfo
<
Message
>
getExtensionFn:
(
fieldInfo
:
ExtensionFieldInfo
<
Message
>
)
=>
Message
(
fieldInfo
:
ExtensionFieldInfo
<
Message
>
)
:
Message
Parameters
fieldInfo:
ExtensionFieldInfo
<
Message
>
Returns
Message
Optional
includeInstance:
undefined
|
false
|
true
Returns
void
Static
to
Object
List
to
Object
List<T>
(
field
:
T
[]
, toObjectFn
:
(
includeInstance
:
boolean
, data
:
T
)
=>
{}
, includeInstance
?:
undefined
|
false
|
true
)
:
Array
<
{}
>
Type parameters
T
:
Message
Parameters
field:
T
[]
toObjectFn:
(
includeInstance
:
boolean
, data
:
T
)
=>
{}
(
includeInstance
:
boolean
, data
:
T
)
:
{}
Parameters
includeInstance:
boolean
data:
T
Returns
{}
Optional
includeInstance:
undefined
|
false
|
true
Returns
Array
<
{}
>
Globals
Externals
"admin/v1/admin_
pb.d"
"user/v1/user_
pb.d"
Storage
Deal
Record
As
Object
Message
Array
Static
ToObject
extensions
extensions
Binary
clear
Data
Transfer
End
clear
Data
Transfer
Start
clear
Deal
Info
clear
Sealing
End
clear
Sealing
Start
clear
Updated
At
clone
clone
Message
get
Address
get
Data
Transfer
End
get
Data
Transfer
Start
get
Deal
Info
get
Err
Msg
get
Extension
get
JsPb
Message
Id
get
Pending
get
Root
Cid
get
Sealing
End
get
Sealing
Start
get
Time
get
Transfer
Size
get
Updated
At
has
Data
Transfer
End
has
Data
Transfer
Start
has
Deal
Info
has
Sealing
End
has
Sealing
Start
has
Updated
At
read
Binary
Extension
serialize
Binary
serialize
Binary
Extensions
set
Address
set
Data
Transfer
End
set
Data
Transfer
Start
set
Deal
Info
set
Err
Msg
set
Extension
set
Pending
set
Root
Cid
set
Sealing
End
set
Sealing
Start
set
Time
set
Transfer
Size
set
Updated
At
to
Array
to
Object
to
String
add
ToRepeated
Field
add
ToRepeated
Wrapper
Field
bytes
AsB64
bytes
AsU8
bytes
List
AsB64
bytes
List
AsU8
clone
clone
Message
compare
Extensions
compare
Fields
compute
Oneof
Case
copy
Into
deserialize
Binary
deserialize
Binary
From
Reader
difference
equals
get
Field
get
Field
With
Default
get
Map
Field
get
Optional
Floating
Point
Field
get
Repeated
Floating
Point
Field
get
Repeated
Wrapper
Field
get
Wrapper
Field
initialize
register
Message
Type
serialize
Binary
ToWriter
set
Field
set
Oneof
Field
set
Oneof
Wrapper
Field
set
Repeated
Wrapper
Field
set
Wrapper
Field
to
Map
to
Object
to
Object
Extension
to
Object
List
Generated using
TypeDoc