Interface TaskStatusOrBuilder (0.46.0)

public interface TaskStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getResourceUsage()

public abstract TaskResourceUsage getResourceUsage()

The resource usage of the task.

.google.cloud.batch.v1alpha.TaskResourceUsage resource_usage = 3;

Returns
Type Description
TaskResourceUsage

The resourceUsage.

getResourceUsageOrBuilder()

public abstract TaskResourceUsageOrBuilder getResourceUsageOrBuilder()

The resource usage of the task.

.google.cloud.batch.v1alpha.TaskResourceUsage resource_usage = 3;

Returns
Type Description
TaskResourceUsageOrBuilder

getState()

public abstract TaskStatus.State getState()

Task state

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

Returns
Type Description
TaskStatus.State

The state.

getStateValue()

public abstract int getStateValue()

Task state

.google.cloud.batch.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.StatusEvent status_events = 2;

Returns
Type Description
List<? extends com.google.cloud.batch.v1alpha.StatusEventOrBuilder>

hasResourceUsage()

public abstract boolean hasResourceUsage()

The resource usage of the task.

.google.cloud.batch.v1alpha.TaskResourceUsage resource_usage = 3;

Returns
Type Description
boolean

Whether the resourceUsage field is set.