Package org.mlflow.api.proto
Class ModelRegistry.CreateModelVersion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
org.mlflow.api.proto.ModelRegistry.CreateModelVersion.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,ModelRegistry.CreateModelVersionOrBuilder
- Enclosing class:
- ModelRegistry.CreateModelVersion
public static final class ModelRegistry.CreateModelVersion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder> implements ModelRegistry.CreateModelVersionOrBuilder
Protobuf type
mlflow.CreateModelVersion
-
Method Summary
Modifier and Type Method Description ModelRegistry.CreateModelVersion.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.CreateModelVersion
build()
ModelRegistry.CreateModelVersion
buildPartial()
ModelRegistry.CreateModelVersion.Builder
clear()
ModelRegistry.CreateModelVersion.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ModelRegistry.CreateModelVersion.Builder
clearName()
Register model under this nameModelRegistry.CreateModelVersion.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ModelRegistry.CreateModelVersion.Builder
clearRunId()
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking serverModelRegistry.CreateModelVersion.Builder
clearSource()
URI indicating the location of the model artifacts.ModelRegistry.CreateModelVersion.Builder
clone()
ModelRegistry.CreateModelVersion
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getName()
Register model under this namecom.google.protobuf.ByteString
getNameBytes()
Register model under this namejava.lang.String
getRunId()
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking servercom.google.protobuf.ByteString
getRunIdBytes()
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking serverjava.lang.String
getSource()
URI indicating the location of the model artifacts.com.google.protobuf.ByteString
getSourceBytes()
URI indicating the location of the model artifacts.boolean
hasName()
Register model under this nameboolean
hasRunId()
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking serverboolean
hasSource()
URI indicating the location of the model artifacts.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ModelRegistry.CreateModelVersion.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ModelRegistry.CreateModelVersion.Builder
mergeFrom(com.google.protobuf.Message other)
ModelRegistry.CreateModelVersion.Builder
mergeFrom(ModelRegistry.CreateModelVersion other)
ModelRegistry.CreateModelVersion.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ModelRegistry.CreateModelVersion.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.CreateModelVersion.Builder
setName(java.lang.String value)
Register model under this nameModelRegistry.CreateModelVersion.Builder
setNameBytes(com.google.protobuf.ByteString value)
Register model under this nameModelRegistry.CreateModelVersion.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ModelRegistry.CreateModelVersion.Builder
setRunId(java.lang.String value)
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking serverModelRegistry.CreateModelVersion.Builder
setRunIdBytes(com.google.protobuf.ByteString value)
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking serverModelRegistry.CreateModelVersion.Builder
setSource(java.lang.String value)
URI indicating the location of the model artifacts.ModelRegistry.CreateModelVersion.Builder
setSourceBytes(com.google.protobuf.ByteString value)
URI indicating the location of the model artifacts.ModelRegistry.CreateModelVersion.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
setField
public ModelRegistry.CreateModelVersion.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
clearField
public ModelRegistry.CreateModelVersion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
clearOneof
public ModelRegistry.CreateModelVersion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
setRepeatedField
public ModelRegistry.CreateModelVersion.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
addRepeatedField
public ModelRegistry.CreateModelVersion.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.CreateModelVersion.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
mergeFrom
public ModelRegistry.CreateModelVersion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.CreateModelVersion.Builder>
- Throws:
java.io.IOException
-
hasName
public boolean hasName()Register model under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasName
in interfaceModelRegistry.CreateModelVersionOrBuilder
-
getName
public java.lang.String getName()Register model under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getName
in interfaceModelRegistry.CreateModelVersionOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Register model under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getNameBytes
in interfaceModelRegistry.CreateModelVersionOrBuilder
-
setName
Register model under this name
optional string name = 1 [(.mlflow.validate_required) = true];
-
clearName
Register model under this name
optional string name = 1 [(.mlflow.validate_required) = true];
-
setNameBytes
Register model under this name
optional string name = 1 [(.mlflow.validate_required) = true];
-
hasSource
public boolean hasSource()URI indicating the location of the model artifacts.
optional string source = 2 [(.mlflow.validate_required) = true];
- Specified by:
hasSource
in interfaceModelRegistry.CreateModelVersionOrBuilder
-
getSource
public java.lang.String getSource()URI indicating the location of the model artifacts.
optional string source = 2 [(.mlflow.validate_required) = true];
- Specified by:
getSource
in interfaceModelRegistry.CreateModelVersionOrBuilder
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()URI indicating the location of the model artifacts.
optional string source = 2 [(.mlflow.validate_required) = true];
- Specified by:
getSourceBytes
in interfaceModelRegistry.CreateModelVersionOrBuilder
-
setSource
URI indicating the location of the model artifacts.
optional string source = 2 [(.mlflow.validate_required) = true];
-
clearSource
URI indicating the location of the model artifacts.
optional string source = 2 [(.mlflow.validate_required) = true];
-
setSourceBytes
public ModelRegistry.CreateModelVersion.Builder setSourceBytes(com.google.protobuf.ByteString value)URI indicating the location of the model artifacts.
optional string source = 2 [(.mlflow.validate_required) = true];
-
hasRunId
public boolean hasRunId()MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking server
optional string run_id = 3;
- Specified by:
hasRunId
in interfaceModelRegistry.CreateModelVersionOrBuilder
-
getRunId
public java.lang.String getRunId()MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking server
optional string run_id = 3;
- Specified by:
getRunId
in interfaceModelRegistry.CreateModelVersionOrBuilder
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking server
optional string run_id = 3;
- Specified by:
getRunIdBytes
in interfaceModelRegistry.CreateModelVersionOrBuilder
-
setRunId
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking server
optional string run_id = 3;
-
clearRunId
MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking server
optional string run_id = 3;
-
setRunIdBytes
public ModelRegistry.CreateModelVersion.Builder setRunIdBytes(com.google.protobuf.ByteString value)MLflow run ID for correlation, if ``source`` was generated by an experiment run in MLflow tracking server
optional string run_id = 3;
-
setUnknownFields
public final ModelRegistry.CreateModelVersion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-
mergeUnknownFields
public final ModelRegistry.CreateModelVersion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Builder>
-