Interface TaskOrBuilder (0.3.2)

public interface TaskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Task name. The name is generated from the parent TaskGroup name and 'id' field. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01".

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Task name. The name is generated from the parent TaskGroup name and 'id' field. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01".

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getStatus()

public abstract TaskStatus getStatus()

Task Status.

.google.cloud.batch.v1.TaskStatus status = 2;

Returns
Type Description
TaskStatus

The status.

getStatusOrBuilder()

public abstract TaskStatusOrBuilder getStatusOrBuilder()

Task Status.

.google.cloud.batch.v1.TaskStatus status = 2;

Returns
Type Description
TaskStatusOrBuilder

hasStatus()

public abstract boolean hasStatus()

Task Status.

.google.cloud.batch.v1.TaskStatus status = 2;

Returns
Type Description
boolean

Whether the status field is set.