Package com.google.cloud.batch.v1alpha
Class TaskSpec
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.batch.v1alpha.TaskSpec
-
- All Implemented Interfaces:
TaskSpecOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class TaskSpec extends com.google.protobuf.GeneratedMessageV3 implements TaskSpecOrBuilder
Spec of a task
Protobuf typegoogle.cloud.batch.v1alpha.TaskSpec- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTaskSpec.BuilderSpec of a task-
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 intCOMPUTE_RESOURCE_FIELD_NUMBERstatic intENVIRONMENT_FIELD_NUMBERstatic intENVIRONMENTS_FIELD_NUMBERstatic intLIFECYCLE_POLICIES_FIELD_NUMBERstatic intMAX_RETRY_COUNT_FIELD_NUMBERstatic intMAX_RUN_DURATION_FIELD_NUMBERstatic intRUNNABLES_FIELD_NUMBERstatic intVOLUMES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsEnvironments(String key)Deprecated.booleanequals(Object obj)ComputeResourcegetComputeResource()ComputeResource requirements.ComputeResourceOrBuildergetComputeResourceOrBuilder()ComputeResource requirements.static TaskSpecgetDefaultInstance()TaskSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()EnvironmentgetEnvironment()Environment variables to set before running the Task.EnvironmentOrBuildergetEnvironmentOrBuilder()Environment variables to set before running the Task.Map<String,String>getEnvironments()Deprecated.intgetEnvironmentsCount()Deprecated.Map<String,String>getEnvironmentsMap()Deprecated.StringgetEnvironmentsOrDefault(String key, String defaultValue)Deprecated.StringgetEnvironmentsOrThrow(String key)Deprecated.LifecyclePolicygetLifecyclePolicies(int index)Lifecycle management schema when any task in a task group is failed.intgetLifecyclePoliciesCount()Lifecycle management schema when any task in a task group is failed.List<LifecyclePolicy>getLifecyclePoliciesList()Lifecycle management schema when any task in a task group is failed.LifecyclePolicyOrBuildergetLifecyclePoliciesOrBuilder(int index)Lifecycle management schema when any task in a task group is failed.List<? extends LifecyclePolicyOrBuilder>getLifecyclePoliciesOrBuilderList()Lifecycle management schema when any task in a task group is failed.intgetMaxRetryCount()Maximum number of retries on failures.com.google.protobuf.DurationgetMaxRunDuration()Maximum duration the task should run.com.google.protobuf.DurationOrBuildergetMaxRunDurationOrBuilder()Maximum duration the task should run.com.google.protobuf.Parser<TaskSpec>getParserForType()RunnablegetRunnables(int index)The sequence of scripts or containers to run for this Task.intgetRunnablesCount()The sequence of scripts or containers to run for this Task.List<Runnable>getRunnablesList()The sequence of scripts or containers to run for this Task.RunnableOrBuildergetRunnablesOrBuilder(int index)The sequence of scripts or containers to run for this Task.List<? extends RunnableOrBuilder>getRunnablesOrBuilderList()The sequence of scripts or containers to run for this Task.intgetSerializedSize()VolumegetVolumes(int index)Volumes to mount before running Tasks using this TaskSpec.intgetVolumesCount()Volumes to mount before running Tasks using this TaskSpec.List<Volume>getVolumesList()Volumes to mount before running Tasks using this TaskSpec.VolumeOrBuildergetVolumesOrBuilder(int index)Volumes to mount before running Tasks using this TaskSpec.List<? extends VolumeOrBuilder>getVolumesOrBuilderList()Volumes to mount before running Tasks using this TaskSpec.booleanhasComputeResource()ComputeResource requirements.booleanhasEnvironment()Environment variables to set before running the Task.inthashCode()booleanhasMaxRunDuration()Maximum duration the task should run.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static TaskSpec.BuildernewBuilder()static TaskSpec.BuildernewBuilder(TaskSpec prototype)TaskSpec.BuildernewBuilderForType()protected TaskSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TaskSpecparseDelimitedFrom(InputStream input)static TaskSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TaskSpecparseFrom(byte[] data)static TaskSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TaskSpecparseFrom(com.google.protobuf.ByteString data)static TaskSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TaskSpecparseFrom(com.google.protobuf.CodedInputStream input)static TaskSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TaskSpecparseFrom(InputStream input)static TaskSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TaskSpecparseFrom(ByteBuffer data)static TaskSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TaskSpec>parser()TaskSpec.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
-
RUNNABLES_FIELD_NUMBER
public static final int RUNNABLES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPUTE_RESOURCE_FIELD_NUMBER
public static final int COMPUTE_RESOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_RUN_DURATION_FIELD_NUMBER
public static final int MAX_RUN_DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_RETRY_COUNT_FIELD_NUMBER
public static final int MAX_RETRY_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIFECYCLE_POLICIES_FIELD_NUMBER
public static final int LIFECYCLE_POLICIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENVIRONMENTS_FIELD_NUMBER
public static final int ENVIRONMENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VOLUMES_FIELD_NUMBER
public static final int VOLUMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_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
-
getRunnablesList
public List<Runnable> getRunnablesList()
The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
repeated .google.cloud.batch.v1alpha.Runnable runnables = 8;- Specified by:
getRunnablesListin interfaceTaskSpecOrBuilder
-
getRunnablesOrBuilderList
public List<? extends RunnableOrBuilder> getRunnablesOrBuilderList()
The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
repeated .google.cloud.batch.v1alpha.Runnable runnables = 8;- Specified by:
getRunnablesOrBuilderListin interfaceTaskSpecOrBuilder
-
getRunnablesCount
public int getRunnablesCount()
The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
repeated .google.cloud.batch.v1alpha.Runnable runnables = 8;- Specified by:
getRunnablesCountin interfaceTaskSpecOrBuilder
-
getRunnables
public Runnable getRunnables(int index)
The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
repeated .google.cloud.batch.v1alpha.Runnable runnables = 8;- Specified by:
getRunnablesin interfaceTaskSpecOrBuilder
-
getRunnablesOrBuilder
public RunnableOrBuilder getRunnablesOrBuilder(int index)
The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
repeated .google.cloud.batch.v1alpha.Runnable runnables = 8;- Specified by:
getRunnablesOrBuilderin interfaceTaskSpecOrBuilder
-
hasComputeResource
public boolean hasComputeResource()
ComputeResource requirements.
.google.cloud.batch.v1alpha.ComputeResource compute_resource = 3;- Specified by:
hasComputeResourcein interfaceTaskSpecOrBuilder- Returns:
- Whether the computeResource field is set.
-
getComputeResource
public ComputeResource getComputeResource()
ComputeResource requirements.
.google.cloud.batch.v1alpha.ComputeResource compute_resource = 3;- Specified by:
getComputeResourcein interfaceTaskSpecOrBuilder- Returns:
- The computeResource.
-
getComputeResourceOrBuilder
public ComputeResourceOrBuilder getComputeResourceOrBuilder()
ComputeResource requirements.
.google.cloud.batch.v1alpha.ComputeResource compute_resource = 3;- Specified by:
getComputeResourceOrBuilderin interfaceTaskSpecOrBuilder
-
hasMaxRunDuration
public boolean hasMaxRunDuration()
Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
.google.protobuf.Duration max_run_duration = 4;- Specified by:
hasMaxRunDurationin interfaceTaskSpecOrBuilder- Returns:
- Whether the maxRunDuration field is set.
-
getMaxRunDuration
public com.google.protobuf.Duration getMaxRunDuration()
Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
.google.protobuf.Duration max_run_duration = 4;- Specified by:
getMaxRunDurationin interfaceTaskSpecOrBuilder- Returns:
- The maxRunDuration.
-
getMaxRunDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getMaxRunDurationOrBuilder()
Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
.google.protobuf.Duration max_run_duration = 4;- Specified by:
getMaxRunDurationOrBuilderin interfaceTaskSpecOrBuilder
-
getMaxRetryCount
public int getMaxRetryCount()
Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
int32 max_retry_count = 5;- Specified by:
getMaxRetryCountin interfaceTaskSpecOrBuilder- Returns:
- The maxRetryCount.
-
getLifecyclePoliciesList
public List<LifecyclePolicy> getLifecyclePoliciesList()
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1alpha.LifecyclePolicy lifecycle_policies = 9;- Specified by:
getLifecyclePoliciesListin interfaceTaskSpecOrBuilder
-
getLifecyclePoliciesOrBuilderList
public List<? extends LifecyclePolicyOrBuilder> getLifecyclePoliciesOrBuilderList()
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1alpha.LifecyclePolicy lifecycle_policies = 9;- Specified by:
getLifecyclePoliciesOrBuilderListin interfaceTaskSpecOrBuilder
-
getLifecyclePoliciesCount
public int getLifecyclePoliciesCount()
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1alpha.LifecyclePolicy lifecycle_policies = 9;- Specified by:
getLifecyclePoliciesCountin interfaceTaskSpecOrBuilder
-
getLifecyclePolicies
public LifecyclePolicy getLifecyclePolicies(int index)
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1alpha.LifecyclePolicy lifecycle_policies = 9;- Specified by:
getLifecyclePoliciesin interfaceTaskSpecOrBuilder
-
getLifecyclePoliciesOrBuilder
public LifecyclePolicyOrBuilder getLifecyclePoliciesOrBuilder(int index)
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1alpha.LifecyclePolicy lifecycle_policies = 9;- Specified by:
getLifecyclePoliciesOrBuilderin interfaceTaskSpecOrBuilder
-
getEnvironmentsCount
@Deprecated public int getEnvironmentsCount()
Deprecated.Description copied from interface:TaskSpecOrBuilderDeprecated: please use environment(non-plural) instead.
map<string, string> environments = 6 [deprecated = true];- Specified by:
getEnvironmentsCountin interfaceTaskSpecOrBuilder
-
containsEnvironments
@Deprecated public boolean containsEnvironments(String key)
Deprecated.Deprecated: please use environment(non-plural) instead.
map<string, string> environments = 6 [deprecated = true];- Specified by:
containsEnvironmentsin interfaceTaskSpecOrBuilder
-
getEnvironments
@Deprecated public Map<String,String> getEnvironments()
Deprecated.UsegetEnvironmentsMap()instead.- Specified by:
getEnvironmentsin interfaceTaskSpecOrBuilder
-
getEnvironmentsMap
@Deprecated public Map<String,String> getEnvironmentsMap()
Deprecated.Deprecated: please use environment(non-plural) instead.
map<string, string> environments = 6 [deprecated = true];- Specified by:
getEnvironmentsMapin interfaceTaskSpecOrBuilder
-
getEnvironmentsOrDefault
@Deprecated public String getEnvironmentsOrDefault(String key, String defaultValue)
Deprecated.Deprecated: please use environment(non-plural) instead.
map<string, string> environments = 6 [deprecated = true];- Specified by:
getEnvironmentsOrDefaultin interfaceTaskSpecOrBuilder
-
getEnvironmentsOrThrow
@Deprecated public String getEnvironmentsOrThrow(String key)
Deprecated.Deprecated: please use environment(non-plural) instead.
map<string, string> environments = 6 [deprecated = true];- Specified by:
getEnvironmentsOrThrowin interfaceTaskSpecOrBuilder
-
getVolumesList
public List<Volume> getVolumesList()
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1alpha.Volume volumes = 7;- Specified by:
getVolumesListin interfaceTaskSpecOrBuilder
-
getVolumesOrBuilderList
public List<? extends VolumeOrBuilder> getVolumesOrBuilderList()
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1alpha.Volume volumes = 7;- Specified by:
getVolumesOrBuilderListin interfaceTaskSpecOrBuilder
-
getVolumesCount
public int getVolumesCount()
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1alpha.Volume volumes = 7;- Specified by:
getVolumesCountin interfaceTaskSpecOrBuilder
-
getVolumes
public Volume getVolumes(int index)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1alpha.Volume volumes = 7;- Specified by:
getVolumesin interfaceTaskSpecOrBuilder
-
getVolumesOrBuilder
public VolumeOrBuilder getVolumesOrBuilder(int index)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1alpha.Volume volumes = 7;- Specified by:
getVolumesOrBuilderin interfaceTaskSpecOrBuilder
-
hasEnvironment
public boolean hasEnvironment()
Environment variables to set before running the Task.
.google.cloud.batch.v1alpha.Environment environment = 10;- Specified by:
hasEnvironmentin interfaceTaskSpecOrBuilder- Returns:
- Whether the environment field is set.
-
getEnvironment
public Environment getEnvironment()
Environment variables to set before running the Task.
.google.cloud.batch.v1alpha.Environment environment = 10;- Specified by:
getEnvironmentin interfaceTaskSpecOrBuilder- Returns:
- The environment.
-
getEnvironmentOrBuilder
public EnvironmentOrBuilder getEnvironmentOrBuilder()
Environment variables to set before running the Task.
.google.cloud.batch.v1alpha.Environment environment = 10;- Specified by:
getEnvironmentOrBuilderin interfaceTaskSpecOrBuilder
-
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 TaskSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskSpec parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TaskSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TaskSpec parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TaskSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TaskSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TaskSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TaskSpec.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TaskSpec.Builder newBuilder()
-
newBuilder
public static TaskSpec.Builder newBuilder(TaskSpec prototype)
-
toBuilder
public TaskSpec.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TaskSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TaskSpec getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TaskSpec> parser()
-
getParserForType
public com.google.protobuf.Parser<TaskSpec> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TaskSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-