new CommandTimeline(opt_dataopt)
Generated by JsPbCodeGenerator.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
opt_data |
Array |
<optional> |
Optional initial data array, typically from a server response, or constructed directly in Javascript. The array is used in place and becomes part of the constructed object. It is not cloned. If no data is provided, the constructed object will be empty, but still valid. |
Extends
- jspb.Message
Members
(static) OutcomeCase :number
Type:
- number
Properties:
Name | Type | Description |
---|---|---|
OUTCOME_NOT_SET |
number | |
HOW_HANDLED |
number | |
SUBSTITUTED |
number |
(static) displayName
Methods
clearHowHandled() → (non-null) {proto.spine.system.server.CommandTimeline}
Clears the message field making it undefined.
Returns:
returns this
clearSubstituted() → (non-null) {proto.spine.system.server.CommandTimeline}
Clears the message field making it undefined.
Returns:
returns this
clearWhenAcknowledged() → (non-null) {proto.spine.system.server.CommandTimeline}
Clears the message field making it undefined.
Returns:
returns this
clearWhenDispatched() → (non-null) {proto.spine.system.server.CommandTimeline}
Clears the message field making it undefined.
Returns:
returns this
clearWhenHandled() → (non-null) {proto.spine.system.server.CommandTimeline}
Clears the message field making it undefined.
Returns:
returns this
clearWhenReceived() → (non-null) {proto.spine.system.server.CommandTimeline}
Clears the message field making it undefined.
Returns:
returns this
clearWhenScheduled() → (non-null) {proto.spine.system.server.CommandTimeline}
Clears the message field making it undefined.
Returns:
returns this
clearWhenSubstituted() → (non-null) {proto.spine.system.server.CommandTimeline}
Clears the message field making it undefined.
Returns:
returns this
clearWhenTargetAssigned() → (non-null) {proto.spine.system.server.CommandTimeline}
Clears the message field making it undefined.
Returns:
returns this
getHowHandled() → (nullable) {proto.spine.core.Status}
optional spine.core.Status how_handled = 8;
Returns:
getOutcomeCase() → {proto.spine.system.server.CommandTimeline.OutcomeCase}
Returns:
getSubstituted() → (nullable) {proto.spine.system.server.Substituted}
optional Substituted substituted = 9;
Returns:
getWhenAcknowledged() → (nullable) {proto.google.protobuf.Timestamp}
optional google.protobuf.Timestamp when_acknowledged = 2;
Returns:
getWhenDispatched() → (nullable) {proto.google.protobuf.Timestamp}
optional google.protobuf.Timestamp when_dispatched = 4;
Returns:
getWhenHandled() → (nullable) {proto.google.protobuf.Timestamp}
optional google.protobuf.Timestamp when_handled = 6;
Returns:
getWhenReceived() → (nullable) {proto.google.protobuf.Timestamp}
optional google.protobuf.Timestamp when_received = 1;
Returns:
getWhenScheduled() → (nullable) {proto.google.protobuf.Timestamp}
optional google.protobuf.Timestamp when_scheduled = 3;
Returns:
getWhenSubstituted() → (nullable) {proto.google.protobuf.Timestamp}
optional google.protobuf.Timestamp when_substituted = 7;
Returns:
getWhenTargetAssigned() → (nullable) {proto.google.protobuf.Timestamp}
optional google.protobuf.Timestamp when_target_assigned = 5;
Returns:
hasHowHandled() → {boolean}
Returns whether this field is set.
Returns:
- Type
- boolean
hasSubstituted() → {boolean}
Returns whether this field is set.
Returns:
- Type
- boolean
hasWhenAcknowledged() → {boolean}
Returns whether this field is set.
Returns:
- Type
- boolean
hasWhenDispatched() → {boolean}
Returns whether this field is set.
Returns:
- Type
- boolean
hasWhenHandled() → {boolean}
Returns whether this field is set.
Returns:
- Type
- boolean
hasWhenReceived() → {boolean}
Returns whether this field is set.
Returns:
- Type
- boolean
hasWhenScheduled() → {boolean}
Returns whether this field is set.
Returns:
- Type
- boolean
hasWhenSubstituted() → {boolean}
Returns whether this field is set.
Returns:
- Type
- boolean
hasWhenTargetAssigned() → {boolean}
Returns whether this field is set.
Returns:
- Type
- boolean
serializeBinary() → (non-null) {Uint8Array}
Serializes the message to binary data (in protobuf wire format).
Returns:
- Type
- Uint8Array
setHowHandled(value) → (non-null) {proto.spine.system.server.CommandTimeline}
Parameters:
Name | Type | Description |
---|---|---|
value |
proto.spine.core.Status | undefined |
Returns:
returns this
setSubstituted(value) → (non-null) {proto.spine.system.server.CommandTimeline}
Parameters:
Name | Type | Description |
---|---|---|
value |
proto.spine.system.server.Substituted | undefined |
Returns:
returns this
setWhenAcknowledged(value) → (non-null) {proto.spine.system.server.CommandTimeline}
Parameters:
Name | Type | Description |
---|---|---|
value |
proto.google.protobuf.Timestamp | undefined |
Returns:
returns this
setWhenDispatched(value) → (non-null) {proto.spine.system.server.CommandTimeline}
Parameters:
Name | Type | Description |
---|---|---|
value |
proto.google.protobuf.Timestamp | undefined |
Returns:
returns this
setWhenHandled(value) → (non-null) {proto.spine.system.server.CommandTimeline}
Parameters:
Name | Type | Description |
---|---|---|
value |
proto.google.protobuf.Timestamp | undefined |
Returns:
returns this
setWhenReceived(value) → (non-null) {proto.spine.system.server.CommandTimeline}
Parameters:
Name | Type | Description |
---|---|---|
value |
proto.google.protobuf.Timestamp | undefined |
Returns:
returns this
setWhenScheduled(value) → (non-null) {proto.spine.system.server.CommandTimeline}
Parameters:
Name | Type | Description |
---|---|---|
value |
proto.google.protobuf.Timestamp | undefined |
Returns:
returns this
setWhenSubstituted(value) → (non-null) {proto.spine.system.server.CommandTimeline}
Parameters:
Name | Type | Description |
---|---|---|
value |
proto.google.protobuf.Timestamp | undefined |
Returns:
returns this
setWhenTargetAssigned(value) → (non-null) {proto.spine.system.server.CommandTimeline}
Parameters:
Name | Type | Description |
---|---|---|
value |
proto.google.protobuf.Timestamp | undefined |
Returns:
returns this
toObject(opt_includeInstanceopt) → (non-null) {Object}
Creates an object representation of this proto.
Field names that are reserved in JavaScript and will be renamed to pb_name.
Optional fields that are not set will be set to undefined.
To access a reserved field use, foo.pb_, eg, foo.pb_default.
For the list of reserved names please see:
net/proto2/compiler/js/internal/generator.cc#kKeyword.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
opt_includeInstance |
boolean |
<optional> |
Deprecated. whether to include the JSPB instance for transitional soy proto support: http://goto/soy-param-migration |
Returns:
- Type
- Object
(static) deserializeBinary(bytes) → (non-null) {proto.spine.system.server.CommandTimeline}
Deserializes binary data (in protobuf wire format).
Parameters:
Name | Type | Description |
---|---|---|
bytes |
jspb.ByteSource | The bytes to deserialize. |
Returns:
(static) deserializeBinaryFromReader(msgnon-null, readernon-null) → (non-null) {proto.spine.system.server.CommandTimeline}
Deserializes binary data (in protobuf wire format) from the
given reader into the given message object.
Parameters:
Name | Type | Description |
---|---|---|
msg |
proto.spine.system.server.CommandTimeline | The message object to deserialize into. |
reader |
jspb.BinaryReader | The BinaryReader to use. |
Returns:
(static) serializeBinaryToWriter(messagenon-null, writernon-null)
Serializes the given message to binary data (in protobuf wire
format), writing to the given BinaryWriter.
Parameters:
Name | Type | Description |
---|---|---|
message |
proto.spine.system.server.CommandTimeline | |
writer |
jspb.BinaryWriter |
(static) toObject(includeInstance, msgnon-null) → (non-null) {Object}
Static version of the {@see toObject} method.
Parameters:
Name | Type | Description |
---|---|---|
includeInstance |
boolean | undefined | Deprecated. Whether to include the JSPB instance for transitional soy proto support: http://goto/soy-param-migration |
msg |
proto.spine.system.server.CommandTimeline | The msg instance to transform. |
Returns:
- Type
- Object