Package com.google.cloud.batch.v1alpha
Class TaskGroup
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class TaskGroup extends com.google.protobuf.GeneratedMessageV3 implements TaskGroupOrBuilder
A TaskGroup defines one or more Tasks that all share the same TaskSpec.
Protobuf typegoogle.cloud.batch.v1alpha.TaskGroup- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTaskGroup.BuilderA TaskGroup defines one or more Tasks that all share the same TaskSpec.static classTaskGroup.SchedulingPolicyHow Tasks in the TaskGroup should be scheduled relative to each other.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intALLOCATION_POLICY_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPARALLELISM_FIELD_NUMBERstatic intPERMISSIVE_SSH_FIELD_NUMBERstatic intREQUIRE_HOSTS_FILE_FIELD_NUMBERstatic intSCHEDULING_POLICY_FIELD_NUMBERstatic intTASK_COUNT_FIELD_NUMBERstatic intTASK_COUNT_PER_NODE_FIELD_NUMBERstatic intTASK_ENVIRONMENTS_FIELD_NUMBERstatic intTASK_SPEC_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Labels for the TaskGroup.booleanequals(Object obj)AllocationPolicygetAllocationPolicy()Compute resource allocation for the TaskGroup.AllocationPolicyOrBuildergetAllocationPolicyOrBuilder()Compute resource allocation for the TaskGroup.static TaskGroupgetDefaultInstance()TaskGroupgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels for the TaskGroup.Map<String,String>getLabelsMap()Labels for the TaskGroup.StringgetLabelsOrDefault(String key, String defaultValue)Labels for the TaskGroup.StringgetLabelsOrThrow(String key)Labels for the TaskGroup.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.longgetParallelism()Max number of tasks that can run in parallel.com.google.protobuf.Parser<TaskGroup>getParserForType()booleangetPermissiveSsh()When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.booleangetRequireHostsFile()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.TaskGroup.SchedulingPolicygetSchedulingPolicy()Scheduling policy for Tasks in the TaskGroup.intgetSchedulingPolicyValue()Scheduling policy for Tasks in the TaskGroup.intgetSerializedSize()longgetTaskCount()Number of Tasks in the TaskGroup.longgetTaskCountPerNode()Max number of tasks that can be run on a VM at the same time.EnvironmentgetTaskEnvironments(int index)An array of environment variable mappings, which are passed to Tasks with matching indices.intgetTaskEnvironmentsCount()An array of environment variable mappings, which are passed to Tasks with matching indices.List<Environment>getTaskEnvironmentsList()An array of environment variable mappings, which are passed to Tasks with matching indices.EnvironmentOrBuildergetTaskEnvironmentsOrBuilder(int index)An array of environment variable mappings, which are passed to Tasks with matching indices.List<? extends EnvironmentOrBuilder>getTaskEnvironmentsOrBuilderList()An array of environment variable mappings, which are passed to Tasks with matching indices.TaskSpecgetTaskSpec()Required.TaskSpecOrBuildergetTaskSpecOrBuilder()Required.booleanhasAllocationPolicy()Compute resource allocation for the TaskGroup.inthashCode()booleanhasTaskSpec()Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static TaskGroup.BuildernewBuilder()static TaskGroup.BuildernewBuilder(TaskGroup prototype)TaskGroup.BuildernewBuilderForType()protected TaskGroup.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()TaskGroup.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TASK_SPEC_FIELD_NUMBER
public static final int TASK_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TASK_COUNT_FIELD_NUMBER
public static final int TASK_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARALLELISM_FIELD_NUMBER
public static final int PARALLELISM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEDULING_POLICY_FIELD_NUMBER
public static final int SCHEDULING_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOCATION_POLICY_FIELD_NUMBER
public static final int ALLOCATION_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TASK_ENVIRONMENTS_FIELD_NUMBER
public static final int TASK_ENVIRONMENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TASK_COUNT_PER_NODE_FIELD_NUMBER
public static final int TASK_COUNT_PER_NODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUIRE_HOSTS_FILE_FIELD_NUMBER
public static final int REQUIRE_HOSTS_FILE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PERMISSIVE_SSH_FIELD_NUMBER
public static final int PERMISSIVE_SSH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String 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
public TaskSpec 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
public TaskSpecOrBuilder 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, 1000). 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
public TaskGroup.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
public AllocationPolicy 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
public AllocationPolicyOrBuilder 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
public boolean containsLabels(String key)
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 public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceTaskGroupOrBuilder
-
getLabelsMap
public Map<String,String> 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
public String getLabelsOrDefault(String key, String defaultValue)
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
public String getLabelsOrThrow(String key)
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
public List<Environment> 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
public List<? extends EnvironmentOrBuilder> 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
public Environment getTaskEnvironments(int index)
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
public EnvironmentOrBuilder getTaskEnvironmentsOrBuilder(int index)
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.
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static TaskGroup parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TaskGroup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TaskGroup parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TaskGroup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TaskGroup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TaskGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TaskGroup.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TaskGroup.Builder newBuilder()
-
newBuilder
public static TaskGroup.Builder newBuilder(TaskGroup prototype)
-
toBuilder
public TaskGroup.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TaskGroup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TaskGroup getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TaskGroup> parser()
-
getParserForType
public com.google.protobuf.Parser<TaskGroup> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TaskGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-