public static enum Service.SourceType extends Enum<Service.SourceType> implements com.google.protobuf.ProtocolMessageEnum
Source that generated a run.Protobuf enum
mlflow.SourceType
Enum Constant and Description |
---|
JOB
Scheduled or Run Now job.
|
LOCAL
Local run: Using CLI, IDE, or local notebook.
|
NOTEBOOK
Databricks notebook environment.
|
PROJECT
As a prepackaged project: either a Docker image or GitHub source, etc.
|
UNKNOWN
Unknown source type.
|
Modifier and Type | Field and Description |
---|---|
static int |
JOB_VALUE
Scheduled or Run Now job.
|
static int |
LOCAL_VALUE
Local run: Using CLI, IDE, or local notebook.
|
static int |
NOTEBOOK_VALUE
Databricks notebook environment.
|
static int |
PROJECT_VALUE
As a prepackaged project: either a Docker image or GitHub source, etc.
|
static int |
UNKNOWN_VALUE
Unknown source type.
|
Modifier and Type | Method and Description |
---|---|
static Service.SourceType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Service.SourceType> |
internalGetValueMap() |
static Service.SourceType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Service.SourceType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Service.SourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Service.SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Service.SourceType NOTEBOOK
Databricks notebook environment.
NOTEBOOK = 1;
public static final Service.SourceType JOB
Scheduled or Run Now job.
JOB = 2;
public static final Service.SourceType PROJECT
As a prepackaged project: either a Docker image or GitHub source, etc.
PROJECT = 3;
public static final Service.SourceType LOCAL
Local run: Using CLI, IDE, or local notebook.
LOCAL = 4;
public static final Service.SourceType UNKNOWN
Unknown source type.
UNKNOWN = 1000;
public static final int NOTEBOOK_VALUE
Databricks notebook environment.
NOTEBOOK = 1;
public static final int JOB_VALUE
Scheduled or Run Now job.
JOB = 2;
public static final int PROJECT_VALUE
As a prepackaged project: either a Docker image or GitHub source, etc.
PROJECT = 3;
public static final int LOCAL_VALUE
Local run: Using CLI, IDE, or local notebook.
LOCAL = 4;
public static final int UNKNOWN_VALUE
Unknown source type.
UNKNOWN = 1000;
public static Service.SourceType[] values()
for (Service.SourceType c : Service.SourceType.values()) System.out.println(c);
public static Service.SourceType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static Service.SourceType valueOf(int value)
forNumber(int)
instead.public static Service.SourceType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Service.SourceType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Service.SourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018. All rights reserved.