Interface TaskStatusOrBuilder (0.30.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
Type Description
TaskStatus.State

The state.

getStateValue()

public abstract int getStateValue()

Task state

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
StatusEvent

getStatusEventsCount()

public abstract int getStatusEventsCount()

Detailed info about why the state is reached.

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

Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.batch.v1.StatusEventOrBuilder>