Package com.google.cloud.batch.v1
Class TaskSpec
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.batch.v1.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.v1.TaskSpec
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TaskSpec.Builder
Spec 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 int
COMPUTE_RESOURCE_FIELD_NUMBER
static int
ENVIRONMENT_FIELD_NUMBER
static int
ENVIRONMENTS_FIELD_NUMBER
static int
LIFECYCLE_POLICIES_FIELD_NUMBER
static int
MAX_RETRY_COUNT_FIELD_NUMBER
static int
MAX_RUN_DURATION_FIELD_NUMBER
static int
RUNNABLES_FIELD_NUMBER
static int
VOLUMES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsEnvironments(String key)
Deprecated.boolean
equals(Object obj)
ComputeResource
getComputeResource()
ComputeResource requirements.ComputeResourceOrBuilder
getComputeResourceOrBuilder()
ComputeResource requirements.static TaskSpec
getDefaultInstance()
TaskSpec
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Environment
getEnvironment()
Environment variables to set before running the Task.EnvironmentOrBuilder
getEnvironmentOrBuilder()
Environment variables to set before running the Task.Map<String,String>
getEnvironments()
Deprecated.int
getEnvironmentsCount()
Deprecated.Map<String,String>
getEnvironmentsMap()
Deprecated.String
getEnvironmentsOrDefault(String key, String defaultValue)
Deprecated.String
getEnvironmentsOrThrow(String key)
Deprecated.LifecyclePolicy
getLifecyclePolicies(int index)
Lifecycle management schema when any task in a task group is failed.int
getLifecyclePoliciesCount()
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.LifecyclePolicyOrBuilder
getLifecyclePoliciesOrBuilder(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.int
getMaxRetryCount()
Maximum number of retries on failures.com.google.protobuf.Duration
getMaxRunDuration()
Maximum duration the task should run.com.google.protobuf.DurationOrBuilder
getMaxRunDurationOrBuilder()
Maximum duration the task should run.com.google.protobuf.Parser<TaskSpec>
getParserForType()
Runnable
getRunnables(int index)
The sequence of scripts or containers to run for this Task.int
getRunnablesCount()
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.RunnableOrBuilder
getRunnablesOrBuilder(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.int
getSerializedSize()
Volume
getVolumes(int index)
Volumes to mount before running Tasks using this TaskSpec.int
getVolumesCount()
Volumes to mount before running Tasks using this TaskSpec.List<Volume>
getVolumesList()
Volumes to mount before running Tasks using this TaskSpec.VolumeOrBuilder
getVolumesOrBuilder(int index)
Volumes to mount before running Tasks using this TaskSpec.List<? extends VolumeOrBuilder>
getVolumesOrBuilderList()
Volumes to mount before running Tasks using this TaskSpec.boolean
hasComputeResource()
ComputeResource requirements.boolean
hasEnvironment()
Environment variables to set before running the Task.int
hashCode()
boolean
hasMaxRunDuration()
Maximum duration the task should run.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static TaskSpec.Builder
newBuilder()
static TaskSpec.Builder
newBuilder(TaskSpec prototype)
TaskSpec.Builder
newBuilderForType()
protected TaskSpec.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static TaskSpec
parseDelimitedFrom(InputStream input)
static TaskSpec
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TaskSpec
parseFrom(byte[] data)
static TaskSpec
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TaskSpec
parseFrom(com.google.protobuf.ByteString data)
static TaskSpec
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TaskSpec
parseFrom(com.google.protobuf.CodedInputStream input)
static TaskSpec
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TaskSpec
parseFrom(InputStream input)
static TaskSpec
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TaskSpec
parseFrom(ByteBuffer data)
static TaskSpec
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<TaskSpec>
parser()
TaskSpec.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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.v1.Runnable runnables = 8;
- Specified by:
getRunnablesList
in 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.v1.Runnable runnables = 8;
- Specified by:
getRunnablesOrBuilderList
in 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.v1.Runnable runnables = 8;
- Specified by:
getRunnablesCount
in 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.v1.Runnable runnables = 8;
- Specified by:
getRunnables
in 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.v1.Runnable runnables = 8;
- Specified by:
getRunnablesOrBuilder
in interfaceTaskSpecOrBuilder
-
hasComputeResource
public boolean hasComputeResource()
ComputeResource requirements.
.google.cloud.batch.v1.ComputeResource compute_resource = 3;
- Specified by:
hasComputeResource
in interfaceTaskSpecOrBuilder
- Returns:
- Whether the computeResource field is set.
-
getComputeResource
public ComputeResource getComputeResource()
ComputeResource requirements.
.google.cloud.batch.v1.ComputeResource compute_resource = 3;
- Specified by:
getComputeResource
in interfaceTaskSpecOrBuilder
- Returns:
- The computeResource.
-
getComputeResourceOrBuilder
public ComputeResourceOrBuilder getComputeResourceOrBuilder()
ComputeResource requirements.
.google.cloud.batch.v1.ComputeResource compute_resource = 3;
- Specified by:
getComputeResourceOrBuilder
in 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:
hasMaxRunDuration
in 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:
getMaxRunDuration
in 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:
getMaxRunDurationOrBuilder
in 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:
getMaxRetryCount
in 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.v1.LifecyclePolicy lifecycle_policies = 9;
- Specified by:
getLifecyclePoliciesList
in 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.v1.LifecyclePolicy lifecycle_policies = 9;
- Specified by:
getLifecyclePoliciesOrBuilderList
in 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.v1.LifecyclePolicy lifecycle_policies = 9;
- Specified by:
getLifecyclePoliciesCount
in 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.v1.LifecyclePolicy lifecycle_policies = 9;
- Specified by:
getLifecyclePolicies
in 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.v1.LifecyclePolicy lifecycle_policies = 9;
- Specified by:
getLifecyclePoliciesOrBuilder
in interfaceTaskSpecOrBuilder
-
getEnvironmentsCount
@Deprecated public int getEnvironmentsCount()
Deprecated.Description copied from interface:TaskSpecOrBuilder
Deprecated: please use environment(non-plural) instead.
map<string, string> environments = 6 [deprecated = true];
- Specified by:
getEnvironmentsCount
in 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:
containsEnvironments
in interfaceTaskSpecOrBuilder
-
getEnvironments
@Deprecated public Map<String,String> getEnvironments()
Deprecated.UsegetEnvironmentsMap()
instead.- Specified by:
getEnvironments
in 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:
getEnvironmentsMap
in 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:
getEnvironmentsOrDefault
in 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:
getEnvironmentsOrThrow
in interfaceTaskSpecOrBuilder
-
getVolumesList
public List<Volume> getVolumesList()
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;
- Specified by:
getVolumesList
in interfaceTaskSpecOrBuilder
-
getVolumesOrBuilderList
public List<? extends VolumeOrBuilder> getVolumesOrBuilderList()
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;
- Specified by:
getVolumesOrBuilderList
in interfaceTaskSpecOrBuilder
-
getVolumesCount
public int getVolumesCount()
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;
- Specified by:
getVolumesCount
in interfaceTaskSpecOrBuilder
-
getVolumes
public Volume getVolumes(int index)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;
- Specified by:
getVolumes
in interfaceTaskSpecOrBuilder
-
getVolumesOrBuilder
public VolumeOrBuilder getVolumesOrBuilder(int index)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;
- Specified by:
getVolumesOrBuilder
in interfaceTaskSpecOrBuilder
-
hasEnvironment
public boolean hasEnvironment()
Environment variables to set before running the Task.
.google.cloud.batch.v1.Environment environment = 10;
- Specified by:
hasEnvironment
in interfaceTaskSpecOrBuilder
- Returns:
- Whether the environment field is set.
-
getEnvironment
public Environment getEnvironment()
Environment variables to set before running the Task.
.google.cloud.batch.v1.Environment environment = 10;
- Specified by:
getEnvironment
in interfaceTaskSpecOrBuilder
- Returns:
- The environment.
-
getEnvironmentOrBuilder
public EnvironmentOrBuilder getEnvironmentOrBuilder()
Environment variables to set before running the Task.
.google.cloud.batch.v1.Environment environment = 10;
- Specified by:
getEnvironmentOrBuilder
in interfaceTaskSpecOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TaskSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TaskSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-