Package com.google.cloud.batch.v1alpha
Interface TaskOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Task,Task.Builder
public interface TaskOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Task name.com.google.protobuf.ByteStringgetNameBytes()Task name.TaskStatusgetStatus()Task Status.TaskStatusOrBuildergetStatusOrBuilder()Task Status.booleanhasStatus()Task Status.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
hasStatus
boolean hasStatus()
Task Status.
.google.cloud.batch.v1alpha.TaskStatus status = 2;- Returns:
- Whether the status field is set.
-
getStatus
TaskStatus getStatus()
Task Status.
.google.cloud.batch.v1alpha.TaskStatus status = 2;- Returns:
- The status.
-
getStatusOrBuilder
TaskStatusOrBuilder getStatusOrBuilder()
Task Status.
.google.cloud.batch.v1alpha.TaskStatus status = 2;
-
-