Package flyteidl.core
Class Tasks.TaskTemplate
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.core.Tasks.TaskTemplate
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Tasks.TaskTemplateOrBuilder,Serializable
- Enclosing class:
- Tasks
public static final class Tasks.TaskTemplate extends com.google.protobuf.GeneratedMessageV3 implements Tasks.TaskTemplateOrBuilder
A Task structure that uniquely identifies a task in the system Tasks are registered as a first step in the system.
Protobuf typeflyteidl.core.TaskTemplate- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTasks.TaskTemplate.BuilderA Task structure that uniquely identifies a task in the system Tasks are registered as a first step in the system.private static classTasks.TaskTemplate.ConfigDefaultEntryHolderstatic classTasks.TaskTemplate.TargetCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description private com.google.protobuf.MapField<String,String>config_static intCONFIG_FIELD_NUMBERstatic intCONTAINER_FIELD_NUMBERprivate com.google.protobuf.Structcustom_static intCUSTOM_FIELD_NUMBERprivate static Tasks.TaskTemplateDEFAULT_INSTANCEprivate IdentifierOuterClass.Identifierid_static intID_FIELD_NUMBERprivate Interface.TypedInterfaceinterface_static intINTERFACE_FIELD_NUMBERstatic intK8S_POD_FIELD_NUMBERprivate bytememoizedIsInitializedprivate Tasks.TaskMetadatametadata_static intMETADATA_FIELD_NUMBERprivate static com.google.protobuf.Parser<Tasks.TaskTemplate>PARSERstatic intSECURITY_CONTEXT_FIELD_NUMBERprivate Security.SecurityContextsecurityContext_private static longserialVersionUIDstatic intSQL_FIELD_NUMBERprivate Objecttarget_private inttargetCase_static intTASK_TYPE_VERSION_FIELD_NUMBERprivate inttaskTypeVersion_private Objecttype_static intTYPE_FIELD_NUMBER
-
Constructor Summary
Constructors Modifier Constructor Description privateTaskTemplate()privateTaskTemplate(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsConfig(String key)Metadata about the custom defined for this task.booleanequals(Object obj)Map<String,String>getConfig()Deprecated.intgetConfigCount()Metadata about the custom defined for this task.Map<String,String>getConfigMap()Metadata about the custom defined for this task.StringgetConfigOrDefault(String key, String defaultValue)Metadata about the custom defined for this task.StringgetConfigOrThrow(String key)Metadata about the custom defined for this task.Tasks.ContainergetContainer().flyteidl.core.Container container = 6;Tasks.ContainerOrBuildergetContainerOrBuilder().flyteidl.core.Container container = 6;com.google.protobuf.StructgetCustom()Custom data about the task.com.google.protobuf.StructOrBuildergetCustomOrBuilder()Custom data about the task.static Tasks.TaskTemplategetDefaultInstance()Tasks.TaskTemplategetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()IdentifierOuterClass.IdentifiergetId()Auto generated taskId by the system.IdentifierOuterClass.IdentifierOrBuildergetIdOrBuilder()Auto generated taskId by the system.Interface.TypedInterfacegetInterface()A strongly typed interface for the task.Interface.TypedInterfaceOrBuildergetInterfaceOrBuilder()A strongly typed interface for the task.Tasks.K8sPodgetK8SPod().flyteidl.core.K8sPod k8s_pod = 17;Tasks.K8sPodOrBuildergetK8SPodOrBuilder().flyteidl.core.K8sPod k8s_pod = 17;Tasks.TaskMetadatagetMetadata()Extra metadata about the task.Tasks.TaskMetadataOrBuildergetMetadataOrBuilder()Extra metadata about the task.com.google.protobuf.Parser<Tasks.TaskTemplate>getParserForType()Security.SecurityContextgetSecurityContext()security_context encapsulates security attributes requested to run this task.Security.SecurityContextOrBuildergetSecurityContextOrBuilder()security_context encapsulates security attributes requested to run this task.intgetSerializedSize()Tasks.SqlgetSql().flyteidl.core.Sql sql = 18;Tasks.SqlOrBuildergetSqlOrBuilder().flyteidl.core.Sql sql = 18;Tasks.TaskTemplate.TargetCasegetTargetCase()intgetTaskTypeVersion()This can be used to customize task handling at execution time for the same task type.StringgetType()A predefined yet extensible Task type identifier.com.google.protobuf.ByteStringgetTypeBytes()A predefined yet extensible Task type identifier.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasContainer().flyteidl.core.Container container = 6;booleanhasCustom()Custom data about the task.inthashCode()booleanhasId()Auto generated taskId by the system.booleanhasInterface()A strongly typed interface for the task.booleanhasK8SPod().flyteidl.core.K8sPod k8s_pod = 17;booleanhasMetadata()Extra metadata about the task.booleanhasSecurityContext()security_context encapsulates security attributes requested to run this task.booleanhasSql().flyteidl.core.Sql sql = 18;private com.google.protobuf.MapField<String,String>internalGetConfig()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Tasks.TaskTemplate.BuildernewBuilder()static Tasks.TaskTemplate.BuildernewBuilder(Tasks.TaskTemplate prototype)Tasks.TaskTemplate.BuildernewBuilderForType()protected Tasks.TaskTemplate.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Tasks.TaskTemplateparseDelimitedFrom(InputStream input)static Tasks.TaskTemplateparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.TaskTemplateparseFrom(byte[] data)static Tasks.TaskTemplateparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.TaskTemplateparseFrom(com.google.protobuf.ByteString data)static Tasks.TaskTemplateparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.TaskTemplateparseFrom(com.google.protobuf.CodedInputStream input)static Tasks.TaskTemplateparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.TaskTemplateparseFrom(InputStream input)static Tasks.TaskTemplateparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.TaskTemplateparseFrom(ByteBuffer data)static Tasks.TaskTemplateparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Tasks.TaskTemplate>parser()Tasks.TaskTemplate.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, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
targetCase_
private int targetCase_
-
target_
private Object target_
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
id_
private IdentifierOuterClass.Identifier id_
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
type_
private volatile Object type_
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
metadata_
private Tasks.TaskMetadata metadata_
-
INTERFACE_FIELD_NUMBER
public static final int INTERFACE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
interface_
private Interface.TypedInterface interface_
-
CUSTOM_FIELD_NUMBER
public static final int CUSTOM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
custom_
private com.google.protobuf.Struct custom_
-
CONTAINER_FIELD_NUMBER
public static final int CONTAINER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
K8S_POD_FIELD_NUMBER
public static final int K8S_POD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SQL_FIELD_NUMBER
public static final int SQL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TASK_TYPE_VERSION_FIELD_NUMBER
public static final int TASK_TYPE_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
taskTypeVersion_
private int taskTypeVersion_
-
SECURITY_CONTEXT_FIELD_NUMBER
public static final int SECURITY_CONTEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
securityContext_
private Security.SecurityContext securityContext_
-
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Tasks.TaskTemplate DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Tasks.TaskTemplate> PARSER
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
getTargetCase
public Tasks.TaskTemplate.TargetCase getTargetCase()
- Specified by:
getTargetCasein interfaceTasks.TaskTemplateOrBuilder
-
hasId
public boolean hasId()
Auto generated taskId by the system. Task Id uniquely identifies this task globally.
.flyteidl.core.Identifier id = 1;- Specified by:
hasIdin interfaceTasks.TaskTemplateOrBuilder- Returns:
- Whether the id field is set.
-
getId
public IdentifierOuterClass.Identifier getId()
Auto generated taskId by the system. Task Id uniquely identifies this task globally.
.flyteidl.core.Identifier id = 1;- Specified by:
getIdin interfaceTasks.TaskTemplateOrBuilder- Returns:
- The id.
-
getIdOrBuilder
public IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder()
Auto generated taskId by the system. Task Id uniquely identifies this task globally.
.flyteidl.core.Identifier id = 1;- Specified by:
getIdOrBuilderin interfaceTasks.TaskTemplateOrBuilder
-
getType
public String getType()
A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no extensions are provided in the system, Flyte will resolve this task to its TaskCategory and default the implementation registered for the TaskCategory.
string type = 2;- Specified by:
getTypein interfaceTasks.TaskTemplateOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no extensions are provided in the system, Flyte will resolve this task to its TaskCategory and default the implementation registered for the TaskCategory.
string type = 2;- Specified by:
getTypeBytesin interfaceTasks.TaskTemplateOrBuilder- Returns:
- The bytes for type.
-
hasMetadata
public boolean hasMetadata()
Extra metadata about the task.
.flyteidl.core.TaskMetadata metadata = 3;- Specified by:
hasMetadatain interfaceTasks.TaskTemplateOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public Tasks.TaskMetadata getMetadata()
Extra metadata about the task.
.flyteidl.core.TaskMetadata metadata = 3;- Specified by:
getMetadatain interfaceTasks.TaskTemplateOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
public Tasks.TaskMetadataOrBuilder getMetadataOrBuilder()
Extra metadata about the task.
.flyteidl.core.TaskMetadata metadata = 3;- Specified by:
getMetadataOrBuilderin interfaceTasks.TaskTemplateOrBuilder
-
hasInterface
public boolean hasInterface()
A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures.
.flyteidl.core.TypedInterface interface = 4;- Specified by:
hasInterfacein interfaceTasks.TaskTemplateOrBuilder- Returns:
- Whether the interface field is set.
-
getInterface
public Interface.TypedInterface getInterface()
A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures.
.flyteidl.core.TypedInterface interface = 4;- Specified by:
getInterfacein interfaceTasks.TaskTemplateOrBuilder- Returns:
- The interface.
-
getInterfaceOrBuilder
public Interface.TypedInterfaceOrBuilder getInterfaceOrBuilder()
A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees compile-time validation of the workflow to avoid costly runtime failures.
.flyteidl.core.TypedInterface interface = 4;- Specified by:
getInterfaceOrBuilderin interfaceTasks.TaskTemplateOrBuilder
-
hasCustom
public boolean hasCustom()
Custom data about the task. This is extensible to allow various plugins in the system.
.google.protobuf.Struct custom = 5;- Specified by:
hasCustomin interfaceTasks.TaskTemplateOrBuilder- Returns:
- Whether the custom field is set.
-
getCustom
public com.google.protobuf.Struct getCustom()
Custom data about the task. This is extensible to allow various plugins in the system.
.google.protobuf.Struct custom = 5;- Specified by:
getCustomin interfaceTasks.TaskTemplateOrBuilder- Returns:
- The custom.
-
getCustomOrBuilder
public com.google.protobuf.StructOrBuilder getCustomOrBuilder()
Custom data about the task. This is extensible to allow various plugins in the system.
.google.protobuf.Struct custom = 5;- Specified by:
getCustomOrBuilderin interfaceTasks.TaskTemplateOrBuilder
-
hasContainer
public boolean hasContainer()
.flyteidl.core.Container container = 6;- Specified by:
hasContainerin interfaceTasks.TaskTemplateOrBuilder- Returns:
- Whether the container field is set.
-
getContainer
public Tasks.Container getContainer()
.flyteidl.core.Container container = 6;- Specified by:
getContainerin interfaceTasks.TaskTemplateOrBuilder- Returns:
- The container.
-
getContainerOrBuilder
public Tasks.ContainerOrBuilder getContainerOrBuilder()
.flyteidl.core.Container container = 6;- Specified by:
getContainerOrBuilderin interfaceTasks.TaskTemplateOrBuilder
-
hasK8SPod
public boolean hasK8SPod()
.flyteidl.core.K8sPod k8s_pod = 17;- Specified by:
hasK8SPodin interfaceTasks.TaskTemplateOrBuilder- Returns:
- Whether the k8sPod field is set.
-
getK8SPod
public Tasks.K8sPod getK8SPod()
.flyteidl.core.K8sPod k8s_pod = 17;- Specified by:
getK8SPodin interfaceTasks.TaskTemplateOrBuilder- Returns:
- The k8sPod.
-
getK8SPodOrBuilder
public Tasks.K8sPodOrBuilder getK8SPodOrBuilder()
.flyteidl.core.K8sPod k8s_pod = 17;- Specified by:
getK8SPodOrBuilderin interfaceTasks.TaskTemplateOrBuilder
-
hasSql
public boolean hasSql()
.flyteidl.core.Sql sql = 18;- Specified by:
hasSqlin interfaceTasks.TaskTemplateOrBuilder- Returns:
- Whether the sql field is set.
-
getSql
public Tasks.Sql getSql()
.flyteidl.core.Sql sql = 18;- Specified by:
getSqlin interfaceTasks.TaskTemplateOrBuilder- Returns:
- The sql.
-
getSqlOrBuilder
public Tasks.SqlOrBuilder getSqlOrBuilder()
.flyteidl.core.Sql sql = 18;- Specified by:
getSqlOrBuilderin interfaceTasks.TaskTemplateOrBuilder
-
getTaskTypeVersion
public int getTaskTypeVersion()
This can be used to customize task handling at execution time for the same task type.
int32 task_type_version = 7;- Specified by:
getTaskTypeVersionin interfaceTasks.TaskTemplateOrBuilder- Returns:
- The taskTypeVersion.
-
hasSecurityContext
public boolean hasSecurityContext()
security_context encapsulates security attributes requested to run this task.
.flyteidl.core.SecurityContext security_context = 8;- Specified by:
hasSecurityContextin interfaceTasks.TaskTemplateOrBuilder- Returns:
- Whether the securityContext field is set.
-
getSecurityContext
public Security.SecurityContext getSecurityContext()
security_context encapsulates security attributes requested to run this task.
.flyteidl.core.SecurityContext security_context = 8;- Specified by:
getSecurityContextin interfaceTasks.TaskTemplateOrBuilder- Returns:
- The securityContext.
-
getSecurityContextOrBuilder
public Security.SecurityContextOrBuilder getSecurityContextOrBuilder()
security_context encapsulates security attributes requested to run this task.
.flyteidl.core.SecurityContext security_context = 8;- Specified by:
getSecurityContextOrBuilderin interfaceTasks.TaskTemplateOrBuilder
-
getConfigCount
public int getConfigCount()
Description copied from interface:Tasks.TaskTemplateOrBuilderMetadata about the custom defined for this task. This is extensible to allow various plugins in the system to use as required. reserve the field numbers 1 through 15 for very frequently occurring message elements
map<string, string> config = 16;- Specified by:
getConfigCountin interfaceTasks.TaskTemplateOrBuilder
-
containsConfig
public boolean containsConfig(String key)
Metadata about the custom defined for this task. This is extensible to allow various plugins in the system to use as required. reserve the field numbers 1 through 15 for very frequently occurring message elements
map<string, string> config = 16;- Specified by:
containsConfigin interfaceTasks.TaskTemplateOrBuilder
-
getConfig
@Deprecated public Map<String,String> getConfig()
Deprecated.UsegetConfigMap()instead.- Specified by:
getConfigin interfaceTasks.TaskTemplateOrBuilder
-
getConfigMap
public Map<String,String> getConfigMap()
Metadata about the custom defined for this task. This is extensible to allow various plugins in the system to use as required. reserve the field numbers 1 through 15 for very frequently occurring message elements
map<string, string> config = 16;- Specified by:
getConfigMapin interfaceTasks.TaskTemplateOrBuilder
-
getConfigOrDefault
public String getConfigOrDefault(String key, String defaultValue)
Metadata about the custom defined for this task. This is extensible to allow various plugins in the system to use as required. reserve the field numbers 1 through 15 for very frequently occurring message elements
map<string, string> config = 16;- Specified by:
getConfigOrDefaultin interfaceTasks.TaskTemplateOrBuilder
-
getConfigOrThrow
public String getConfigOrThrow(String key)
Metadata about the custom defined for this task. This is extensible to allow various plugins in the system to use as required. reserve the field numbers 1 through 15 for very frequently occurring message elements
map<string, string> config = 16;- Specified by:
getConfigOrThrowin interfaceTasks.TaskTemplateOrBuilder
-
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 Tasks.TaskTemplate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.TaskTemplate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.TaskTemplate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.TaskTemplate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.TaskTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.TaskTemplate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.TaskTemplate parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Tasks.TaskTemplate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Tasks.TaskTemplate parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Tasks.TaskTemplate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Tasks.TaskTemplate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Tasks.TaskTemplate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Tasks.TaskTemplate.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Tasks.TaskTemplate.Builder newBuilder()
-
newBuilder
public static Tasks.TaskTemplate.Builder newBuilder(Tasks.TaskTemplate prototype)
-
toBuilder
public Tasks.TaskTemplate.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Tasks.TaskTemplate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Tasks.TaskTemplate getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Tasks.TaskTemplate> parser()
-
getParserForType
public com.google.protobuf.Parser<Tasks.TaskTemplate> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Tasks.TaskTemplate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-