Interface TaskStatusOrBuilder (0.2.0)

public interface TaskStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getState()

public abstract TaskStatus.State getState()

Task state

.google.cloud.batch.v1.TaskStatus.State state = 1;

Returns
TypeDescription
TaskStatus.State

The state.

getStateValue()

public abstract int getStateValue()

Task state

.google.cloud.batch.v1.TaskStatus.State state = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getStatusEvents(int index)

public abstract StatusEvent getStatusEvents(int index)

Detailed info about why the state is reached.

repeated .google.cloud.batch.v1.StatusEvent status_events = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
StatusEvent

getStatusEventsCount()

public abstract int getStatusEventsCount()

Detailed info about why the state is reached.

repeated .google.cloud.batch.v1.StatusEvent status_events = 2;

Returns
TypeDescription
int

getStatusEventsList()

public abstract List<StatusEvent> getStatusEventsList()

Detailed info about why the state is reached.

repeated .google.cloud.batch.v1.StatusEvent status_events = 2;

Returns
TypeDescription
List<StatusEvent>

getStatusEventsOrBuilder(int index)

public abstract StatusEventOrBuilder getStatusEventsOrBuilder(int index)

Detailed info about why the state is reached.

repeated .google.cloud.batch.v1.StatusEvent status_events = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
StatusEventOrBuilder

getStatusEventsOrBuilderList()

public abstract List<? extends StatusEventOrBuilder> getStatusEventsOrBuilderList()

Detailed info about why the state is reached.

repeated .google.cloud.batch.v1.StatusEvent status_events = 2;

Returns
TypeDescription
List<? extends com.google.cloud.batch.v1.StatusEventOrBuilder>