Class: CommandTimeline

CommandTimeline(opt_dataopt)

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.
Source:

Extends

  • jspb.Message

Members

(static) OutcomeCase :number

Type:
  • number
Properties:
Name Type Description
OUTCOME_NOT_SET number
HOW_HANDLED number
SUBSTITUTED number
Source:

(static) displayName

Source:

Methods

clearHowHandled() → (non-null) {proto.spine.system.server.CommandTimeline}

Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

clearSubstituted() → (non-null) {proto.spine.system.server.CommandTimeline}

Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

clearWhenAcknowledged() → (non-null) {proto.spine.system.server.CommandTimeline}

Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

clearWhenDispatched() → (non-null) {proto.spine.system.server.CommandTimeline}

Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

clearWhenHandled() → (non-null) {proto.spine.system.server.CommandTimeline}

Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

clearWhenReceived() → (non-null) {proto.spine.system.server.CommandTimeline}

Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

clearWhenScheduled() → (non-null) {proto.spine.system.server.CommandTimeline}

Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

clearWhenSubstituted() → (non-null) {proto.spine.system.server.CommandTimeline}

Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

clearWhenTargetAssigned() → (non-null) {proto.spine.system.server.CommandTimeline}

Clears the message field making it undefined.
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

getHowHandled() → (nullable) {proto.spine.core.Status}

optional spine.core.Status how_handled = 8;
Source:
Returns:
Type
proto.spine.core.Status

getOutcomeCase() → {proto.spine.system.server.CommandTimeline.OutcomeCase}

Source:
Returns:
Type
proto.spine.system.server.CommandTimeline.OutcomeCase

getSubstituted() → (nullable) {proto.spine.system.server.Substituted}

optional Substituted substituted = 9;
Source:
Returns:
Type
proto.spine.system.server.Substituted

getWhenAcknowledged() → (nullable) {proto.google.protobuf.Timestamp}

optional google.protobuf.Timestamp when_acknowledged = 2;
Source:
Returns:
Type
proto.google.protobuf.Timestamp

getWhenDispatched() → (nullable) {proto.google.protobuf.Timestamp}

optional google.protobuf.Timestamp when_dispatched = 4;
Source:
Returns:
Type
proto.google.protobuf.Timestamp

getWhenHandled() → (nullable) {proto.google.protobuf.Timestamp}

optional google.protobuf.Timestamp when_handled = 6;
Source:
Returns:
Type
proto.google.protobuf.Timestamp

getWhenReceived() → (nullable) {proto.google.protobuf.Timestamp}

optional google.protobuf.Timestamp when_received = 1;
Source:
Returns:
Type
proto.google.protobuf.Timestamp

getWhenScheduled() → (nullable) {proto.google.protobuf.Timestamp}

optional google.protobuf.Timestamp when_scheduled = 3;
Source:
Returns:
Type
proto.google.protobuf.Timestamp

getWhenSubstituted() → (nullable) {proto.google.protobuf.Timestamp}

optional google.protobuf.Timestamp when_substituted = 7;
Source:
Returns:
Type
proto.google.protobuf.Timestamp

getWhenTargetAssigned() → (nullable) {proto.google.protobuf.Timestamp}

optional google.protobuf.Timestamp when_target_assigned = 5;
Source:
Returns:
Type
proto.google.protobuf.Timestamp

hasHowHandled() → {boolean}

Returns whether this field is set.
Source:
Returns:
Type
boolean

hasSubstituted() → {boolean}

Returns whether this field is set.
Source:
Returns:
Type
boolean

hasWhenAcknowledged() → {boolean}

Returns whether this field is set.
Source:
Returns:
Type
boolean

hasWhenDispatched() → {boolean}

Returns whether this field is set.
Source:
Returns:
Type
boolean

hasWhenHandled() → {boolean}

Returns whether this field is set.
Source:
Returns:
Type
boolean

hasWhenReceived() → {boolean}

Returns whether this field is set.
Source:
Returns:
Type
boolean

hasWhenScheduled() → {boolean}

Returns whether this field is set.
Source:
Returns:
Type
boolean

hasWhenSubstituted() → {boolean}

Returns whether this field is set.
Source:
Returns:
Type
boolean

hasWhenTargetAssigned() → {boolean}

Returns whether this field is set.
Source:
Returns:
Type
boolean

serializeBinary() → (non-null) {Uint8Array}

Serializes the message to binary data (in protobuf wire format).
Source:
Returns:
Type
Uint8Array

setHowHandled(value) → (non-null) {proto.spine.system.server.CommandTimeline}

Parameters:
Name Type Description
value proto.spine.core.Status | undefined
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

setSubstituted(value) → (non-null) {proto.spine.system.server.CommandTimeline}

Parameters:
Name Type Description
value proto.spine.system.server.Substituted | undefined
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

setWhenAcknowledged(value) → (non-null) {proto.spine.system.server.CommandTimeline}

Parameters:
Name Type Description
value proto.google.protobuf.Timestamp | undefined
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

setWhenDispatched(value) → (non-null) {proto.spine.system.server.CommandTimeline}

Parameters:
Name Type Description
value proto.google.protobuf.Timestamp | undefined
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

setWhenHandled(value) → (non-null) {proto.spine.system.server.CommandTimeline}

Parameters:
Name Type Description
value proto.google.protobuf.Timestamp | undefined
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

setWhenReceived(value) → (non-null) {proto.spine.system.server.CommandTimeline}

Parameters:
Name Type Description
value proto.google.protobuf.Timestamp | undefined
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

setWhenScheduled(value) → (non-null) {proto.spine.system.server.CommandTimeline}

Parameters:
Name Type Description
value proto.google.protobuf.Timestamp | undefined
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

setWhenSubstituted(value) → (non-null) {proto.spine.system.server.CommandTimeline}

Parameters:
Name Type Description
value proto.google.protobuf.Timestamp | undefined
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

setWhenTargetAssigned(value) → (non-null) {proto.spine.system.server.CommandTimeline}

Parameters:
Name Type Description
value proto.google.protobuf.Timestamp | undefined
Source:
Returns:
returns this
Type
proto.spine.system.server.CommandTimeline

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
Source:
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.
Source:
Returns:
Type
proto.spine.system.server.CommandTimeline

(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.
Source:
Returns:
Type
proto.spine.system.server.CommandTimeline

(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
Source:

(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.
Source:
Returns:
Type
Object