Package com.google.cloud.batch.v1alpha
Class TaskGroup
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.batch.v1alpha.TaskGroup
- All Implemented Interfaces:
TaskGroupOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class TaskGroup
extends com.google.protobuf.GeneratedMessage
implements TaskGroupOrBuilder
A TaskGroup defines one or more Tasks that all share the same TaskSpec.Protobuf type
google.cloud.batch.v1alpha.TaskGroup- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA TaskGroup defines one or more Tasks that all share the same TaskSpec.static enumHow Tasks in the TaskGroup should be scheduled relative to each other.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels for the TaskGroup.booleanCompute resource allocation for the TaskGroup.Compute resource allocation for the TaskGroup.static TaskGroupstatic final com.google.protobuf.Descriptors.DescriptorDeprecated.intLabels for the TaskGroup.Labels for the TaskGroup.getLabelsOrDefault(String key, String defaultValue) Labels for the TaskGroup.getLabelsOrThrow(String key) Labels for the TaskGroup.getName()Output only.com.google.protobuf.ByteStringOutput only.longMax number of tasks that can run in parallel.com.google.protobuf.Parser<TaskGroup>booleanWhen true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.booleanWhen true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file.booleanOptional.Scheduling policy for Tasks in the TaskGroup.intScheduling policy for Tasks in the TaskGroup.intOptional.Optional.longNumber of Tasks in the TaskGroup.longMax number of tasks that can be run on a VM at the same time.getTaskEnvironments(int index) An array of environment variable mappings, which are passed to Tasks with matching indices.intAn array of environment variable mappings, which are passed to Tasks with matching indices.An array of environment variable mappings, which are passed to Tasks with matching indices.getTaskEnvironmentsOrBuilder(int index) An array of environment variable mappings, which are passed to Tasks with matching indices.List<? extends EnvironmentOrBuilder>An array of environment variable mappings, which are passed to Tasks with matching indices.Required.Required.booleanCompute resource allocation for the TaskGroup.inthashCode()booleanOptional.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic TaskGroup.Builderstatic TaskGroup.BuildernewBuilder(TaskGroup prototype) protected TaskGroup.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TaskGroupparseDelimitedFrom(InputStream input) static TaskGroupparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TaskGroupparseFrom(byte[] data) static TaskGroupparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TaskGroupparseFrom(com.google.protobuf.ByteString data) static TaskGroupparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TaskGroupparseFrom(com.google.protobuf.CodedInputStream input) static TaskGroupparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TaskGroupparseFrom(InputStream input) static TaskGroupparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TaskGroupparseFrom(ByteBuffer data) static TaskGroupparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TaskGroup>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
TASK_SPEC_FIELD_NUMBER
public static final int TASK_SPEC_FIELD_NUMBER- See Also:
-
TASK_COUNT_FIELD_NUMBER
public static final int TASK_COUNT_FIELD_NUMBER- See Also:
-
PARALLELISM_FIELD_NUMBER
public static final int PARALLELISM_FIELD_NUMBER- See Also:
-
SCHEDULING_POLICY_FIELD_NUMBER
public static final int SCHEDULING_POLICY_FIELD_NUMBER- See Also:
-
ALLOCATION_POLICY_FIELD_NUMBER
public static final int ALLOCATION_POLICY_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
TASK_ENVIRONMENTS_FIELD_NUMBER
public static final int TASK_ENVIRONMENTS_FIELD_NUMBER- See Also:
-
TASK_COUNT_PER_NODE_FIELD_NUMBER
public static final int TASK_COUNT_PER_NODE_FIELD_NUMBER- See Also:
-
REQUIRE_HOSTS_FILE_FIELD_NUMBER
public static final int REQUIRE_HOSTS_FILE_FIELD_NUMBER- See Also:
-
PERMISSIVE_SSH_FIELD_NUMBER
public static final int PERMISSIVE_SSH_FIELD_NUMBER- See Also:
-
RUN_AS_NON_ROOT_FIELD_NUMBER
public static final int RUN_AS_NON_ROOT_FIELD_NUMBER- See Also:
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Output only. TaskGroup name. The system generates this field based on parent Job name. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceTaskGroupOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. TaskGroup name. The system generates this field based on parent Job name. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceTaskGroupOrBuilder- Returns:
- The bytes for name.
-
hasTaskSpec
public boolean hasTaskSpec()Required. Tasks in the group share the same task spec.
.google.cloud.batch.v1alpha.TaskSpec task_spec = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasTaskSpecin interfaceTaskGroupOrBuilder- Returns:
- Whether the taskSpec field is set.
-
getTaskSpec
Required. Tasks in the group share the same task spec.
.google.cloud.batch.v1alpha.TaskSpec task_spec = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTaskSpecin interfaceTaskGroupOrBuilder- Returns:
- The taskSpec.
-
getTaskSpecOrBuilder
Required. Tasks in the group share the same task spec.
.google.cloud.batch.v1alpha.TaskSpec task_spec = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTaskSpecOrBuilderin interfaceTaskGroupOrBuilder
-
getTaskCount
public long getTaskCount()Number of Tasks in the TaskGroup. Default is 1.
int64 task_count = 4;- Specified by:
getTaskCountin interfaceTaskGroupOrBuilder- Returns:
- The taskCount.
-
getParallelism
public long getParallelism()Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits). Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
int64 parallelism = 5;- Specified by:
getParallelismin interfaceTaskGroupOrBuilder- Returns:
- The parallelism.
-
getSchedulingPolicyValue
public int getSchedulingPolicyValue()Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
.google.cloud.batch.v1alpha.TaskGroup.SchedulingPolicy scheduling_policy = 6;- Specified by:
getSchedulingPolicyValuein interfaceTaskGroupOrBuilder- Returns:
- The enum numeric value on the wire for schedulingPolicy.
-
getSchedulingPolicy
Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
.google.cloud.batch.v1alpha.TaskGroup.SchedulingPolicy scheduling_policy = 6;- Specified by:
getSchedulingPolicyin interfaceTaskGroupOrBuilder- Returns:
- The schedulingPolicy.
-
hasAllocationPolicy
public boolean hasAllocationPolicy()Compute resource allocation for the TaskGroup. If specified, it overrides resources in Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7;- Specified by:
hasAllocationPolicyin interfaceTaskGroupOrBuilder- Returns:
- Whether the allocationPolicy field is set.
-
getAllocationPolicy
Compute resource allocation for the TaskGroup. If specified, it overrides resources in Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7;- Specified by:
getAllocationPolicyin interfaceTaskGroupOrBuilder- Returns:
- The allocationPolicy.
-
getAllocationPolicyOrBuilder
Compute resource allocation for the TaskGroup. If specified, it overrides resources in Job.
.google.cloud.batch.v1alpha.AllocationPolicy allocation_policy = 7;- Specified by:
getAllocationPolicyOrBuilderin interfaceTaskGroupOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:TaskGroupOrBuilderLabels for the TaskGroup. Labels could be user provided or system generated. You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
map<string, string> labels = 8;- Specified by:
getLabelsCountin interfaceTaskGroupOrBuilder
-
containsLabels
Labels for the TaskGroup. Labels could be user provided or system generated. You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
map<string, string> labels = 8;- Specified by:
containsLabelsin interfaceTaskGroupOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceTaskGroupOrBuilder
-
getLabelsMap
Labels for the TaskGroup. Labels could be user provided or system generated. You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
map<string, string> labels = 8;- Specified by:
getLabelsMapin interfaceTaskGroupOrBuilder
-
getLabelsOrDefault
Labels for the TaskGroup. Labels could be user provided or system generated. You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
map<string, string> labels = 8;- Specified by:
getLabelsOrDefaultin interfaceTaskGroupOrBuilder
-
getLabelsOrThrow
Labels for the TaskGroup. Labels could be user provided or system generated. You can assign up to 64 labels. [Google Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
map<string, string> labels = 8;- Specified by:
getLabelsOrThrowin interfaceTaskGroupOrBuilder
-
getTaskEnvironmentsList
An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
repeated .google.cloud.batch.v1alpha.Environment task_environments = 9;- Specified by:
getTaskEnvironmentsListin interfaceTaskGroupOrBuilder
-
getTaskEnvironmentsOrBuilderList
An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
repeated .google.cloud.batch.v1alpha.Environment task_environments = 9;- Specified by:
getTaskEnvironmentsOrBuilderListin interfaceTaskGroupOrBuilder
-
getTaskEnvironmentsCount
public int getTaskEnvironmentsCount()An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
repeated .google.cloud.batch.v1alpha.Environment task_environments = 9;- Specified by:
getTaskEnvironmentsCountin interfaceTaskGroupOrBuilder
-
getTaskEnvironments
An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
repeated .google.cloud.batch.v1alpha.Environment task_environments = 9;- Specified by:
getTaskEnvironmentsin interfaceTaskGroupOrBuilder
-
getTaskEnvironmentsOrBuilder
An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
repeated .google.cloud.batch.v1alpha.Environment task_environments = 9;- Specified by:
getTaskEnvironmentsOrBuilderin interfaceTaskGroupOrBuilder
-
getTaskCountPerNode
public long getTaskCountPerNode()Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
int64 task_count_per_node = 10;- Specified by:
getTaskCountPerNodein interfaceTaskGroupOrBuilder- Returns:
- The taskCountPerNode.
-
getRequireHostsFile
public boolean getRequireHostsFile()When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false. The host file supports up to 1000 VMs.
bool require_hosts_file = 11;- Specified by:
getRequireHostsFilein interfaceTaskGroupOrBuilder- Returns:
- The requireHostsFile.
-
getPermissiveSsh
public boolean getPermissiveSsh()When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
bool permissive_ssh = 12;- Specified by:
getPermissiveSshin interfaceTaskGroupOrBuilder- Returns:
- The permissiveSsh.
-
getRunAsNonRoot
public boolean getRunAsNonRoot()Optional. If not set or set to false, Batch uses the root user to execute runnables. If set to true, Batch runs the runnables using a non-root user. Currently, the non-root user Batch used is generated by OS Login. For more information, see [About OS Login](https://cloud.google.com/compute/docs/oslogin).
bool run_as_non_root = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRunAsNonRootin interfaceTaskGroupOrBuilder- Returns:
- The runAsNonRoot.
-
hasServiceAccount
public boolean hasServiceAccount()Optional. ServiceAccount used by tasks within the task group for the access to other Cloud resources. This allows tasks to operate with permissions distinct from the service account for the VM set at `AllocationPolicy`. Use this field when tasks require different access rights than those of the VM. Specify the service account's `email` field. Ensure `scopes` include any necessary permissions for tasks, in addition to the default 'cloud-platform' scope.
.google.cloud.batch.v1alpha.ServiceAccount service_account = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasServiceAccountin interfaceTaskGroupOrBuilder- Returns:
- Whether the serviceAccount field is set.
-
getServiceAccount
Optional. ServiceAccount used by tasks within the task group for the access to other Cloud resources. This allows tasks to operate with permissions distinct from the service account for the VM set at `AllocationPolicy`. Use this field when tasks require different access rights than those of the VM. Specify the service account's `email` field. Ensure `scopes` include any necessary permissions for tasks, in addition to the default 'cloud-platform' scope.
.google.cloud.batch.v1alpha.ServiceAccount service_account = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getServiceAccountin interfaceTaskGroupOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountOrBuilder
Optional. ServiceAccount used by tasks within the task group for the access to other Cloud resources. This allows tasks to operate with permissions distinct from the service account for the VM set at `AllocationPolicy`. Use this field when tasks require different access rights than those of the VM. Specify the service account's `email` field. Ensure `scopes` include any necessary permissions for tasks, in addition to the default 'cloud-platform' scope.
.google.cloud.batch.v1alpha.ServiceAccount service_account = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getServiceAccountOrBuilderin interfaceTaskGroupOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TaskGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskGroup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskGroup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskGroup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskGroup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TaskGroup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TaskGroup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TaskGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TaskGroup.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-