Class protos.google.dataflow.v1beta3.ExecutionStageState (3.0.2)

Represents an ExecutionStageState.

Package

@google-cloud/dataflow

Constructors

(constructor)(properties)

constructor(properties?: google.dataflow.v1beta3.IExecutionStageState);

Constructs a new ExecutionStageState.

Parameter
NameDescription
properties IExecutionStageState

Properties to set

Properties

currentStateTime

public currentStateTime?: (google.protobuf.ITimestamp|null);

ExecutionStageState currentStateTime.

executionStageName

public executionStageName: string;

ExecutionStageState executionStageName.

executionStageState

public executionStageState: (google.dataflow.v1beta3.JobState|keyof typeof google.dataflow.v1beta3.JobState);

ExecutionStageState executionStageState.

Methods

create(properties)

public static create(properties?: google.dataflow.v1beta3.IExecutionStageState): google.dataflow.v1beta3.ExecutionStageState;

Creates a new ExecutionStageState instance using the specified properties.

Parameter
NameDescription
properties IExecutionStageState

Properties to set

Returns
TypeDescription
ExecutionStageState

ExecutionStageState instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.dataflow.v1beta3.ExecutionStageState;

Decodes an ExecutionStageState message from the specified reader or buffer.

Parameters
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
ExecutionStageState

ExecutionStageState

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.dataflow.v1beta3.ExecutionStageState;

Decodes an ExecutionStageState message from the specified reader or buffer, length delimited.

Parameter
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
ExecutionStageState

ExecutionStageState

encode(message, writer)

public static encode(message: google.dataflow.v1beta3.IExecutionStageState, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified ExecutionStageState message. Does not implicitly messages.

Parameters
NameDescription
message IExecutionStageState

ExecutionStageState message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.dataflow.v1beta3.IExecutionStageState, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified ExecutionStageState message, length delimited. Does not implicitly messages.

Parameters
NameDescription
message IExecutionStageState

ExecutionStageState message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.dataflow.v1beta3.ExecutionStageState;

Creates an ExecutionStageState message from a plain object. Also converts values to their respective internal types.

Parameter
NameDescription
object { [k: string]: any }

Plain object

Returns
TypeDescription
ExecutionStageState

ExecutionStageState

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for ExecutionStageState

Parameter
NameDescription
typeUrlPrefix string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns
TypeDescription
string

The default type url

toJSON()

public toJSON(): { [k: string]: any };

Converts this ExecutionStageState to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.dataflow.v1beta3.ExecutionStageState, options?: $protobuf.IConversionOptions): { [k: string]: any };

Creates a plain object from an ExecutionStageState message. Also converts values to other types if specified.

Parameters
NameDescription
message ExecutionStageState

ExecutionStageState

options $protobuf.IConversionOptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies an ExecutionStageState message.

Parameter
NameDescription
message { [k: string]: any }

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not