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
@Generated
public interface TaskOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Task name.com.google.protobuf.ByteStringTask name.Task Status.Task Status.booleanTask Status.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;
-