Package org.mlflow.api.proto
Class ModelRegistry.UpdateModelVersion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.UpdateModelVersion.Builder>
org.mlflow.api.proto.ModelRegistry.UpdateModelVersion.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.UpdateModelVersionOrBuilder
- Enclosing class:
- ModelRegistry.UpdateModelVersion
public static final class ModelRegistry.UpdateModelVersion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.UpdateModelVersion.Builder> implements ModelRegistry.UpdateModelVersionOrBuilder
Protobuf type
mlflow.UpdateModelVersion
-
Method Summary
Modifier and Type Method Description ModelRegistry.UpdateModelVersion.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.UpdateModelVersion
build()
ModelRegistry.UpdateModelVersion
buildPartial()
ModelRegistry.UpdateModelVersion.Builder
clear()
ModelRegistry.UpdateModelVersion.Builder
clearDescription()
If provided, updates the description for this ``registered_model``.ModelRegistry.UpdateModelVersion.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ModelRegistry.UpdateModelVersion.Builder
clearName()
Name of the registered modelModelRegistry.UpdateModelVersion.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ModelRegistry.UpdateModelVersion.Builder
clearVersion()
Model version numberModelRegistry.UpdateModelVersion.Builder
clone()
ModelRegistry.UpdateModelVersion
getDefaultInstanceForType()
java.lang.String
getDescription()
If provided, updates the description for this ``registered_model``.com.google.protobuf.ByteString
getDescriptionBytes()
If provided, updates the description for this ``registered_model``.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getName()
Name of the registered modelcom.google.protobuf.ByteString
getNameBytes()
Name of the registered modeljava.lang.String
getVersion()
Model version numbercom.google.protobuf.ByteString
getVersionBytes()
Model version numberboolean
hasDescription()
If provided, updates the description for this ``registered_model``.boolean
hasName()
Name of the registered modelboolean
hasVersion()
Model version numberprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ModelRegistry.UpdateModelVersion.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ModelRegistry.UpdateModelVersion.Builder
mergeFrom(com.google.protobuf.Message other)
ModelRegistry.UpdateModelVersion.Builder
mergeFrom(ModelRegistry.UpdateModelVersion other)
ModelRegistry.UpdateModelVersion.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ModelRegistry.UpdateModelVersion.Builder
setDescription(java.lang.String value)
If provided, updates the description for this ``registered_model``.ModelRegistry.UpdateModelVersion.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
If provided, updates the description for this ``registered_model``.ModelRegistry.UpdateModelVersion.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.UpdateModelVersion.Builder
setName(java.lang.String value)
Name of the registered modelModelRegistry.UpdateModelVersion.Builder
setNameBytes(com.google.protobuf.ByteString value)
Name of the registered modelModelRegistry.UpdateModelVersion.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ModelRegistry.UpdateModelVersion.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ModelRegistry.UpdateModelVersion.Builder
setVersion(java.lang.String value)
Model version numberModelRegistry.UpdateModelVersion.Builder
setVersionBytes(com.google.protobuf.ByteString value)
Model version numberMethods 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.UpdateModelVersion.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.UpdateModelVersion.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.UpdateModelVersion.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.UpdateModelVersion.Builder>
-
setField
public ModelRegistry.UpdateModelVersion.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.UpdateModelVersion.Builder>
-
clearField
public ModelRegistry.UpdateModelVersion.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.UpdateModelVersion.Builder>
-
clearOneof
public ModelRegistry.UpdateModelVersion.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.UpdateModelVersion.Builder>
-
setRepeatedField
public ModelRegistry.UpdateModelVersion.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.UpdateModelVersion.Builder>
-
addRepeatedField
public ModelRegistry.UpdateModelVersion.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.UpdateModelVersion.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.UpdateModelVersion.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.UpdateModelVersion.Builder>
-
mergeFrom
public ModelRegistry.UpdateModelVersion.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.UpdateModelVersion.Builder>
- Throws:
java.io.IOException
-
hasName
public boolean hasName()Name of the registered model
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasName
in interfaceModelRegistry.UpdateModelVersionOrBuilder
-
getName
public java.lang.String getName()Name of the registered model
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getName
in interfaceModelRegistry.UpdateModelVersionOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the registered model
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getNameBytes
in interfaceModelRegistry.UpdateModelVersionOrBuilder
-
setName
Name of the registered model
optional string name = 1 [(.mlflow.validate_required) = true];
-
clearName
Name of the registered model
optional string name = 1 [(.mlflow.validate_required) = true];
-
setNameBytes
Name of the registered model
optional string name = 1 [(.mlflow.validate_required) = true];
-
hasVersion
public boolean hasVersion()Model version number
optional string version = 2 [(.mlflow.validate_required) = true];
- Specified by:
hasVersion
in interfaceModelRegistry.UpdateModelVersionOrBuilder
-
getVersion
public java.lang.String getVersion()Model version number
optional string version = 2 [(.mlflow.validate_required) = true];
- Specified by:
getVersion
in interfaceModelRegistry.UpdateModelVersionOrBuilder
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Model version number
optional string version = 2 [(.mlflow.validate_required) = true];
- Specified by:
getVersionBytes
in interfaceModelRegistry.UpdateModelVersionOrBuilder
-
setVersion
Model version number
optional string version = 2 [(.mlflow.validate_required) = true];
-
clearVersion
Model version number
optional string version = 2 [(.mlflow.validate_required) = true];
-
setVersionBytes
public ModelRegistry.UpdateModelVersion.Builder setVersionBytes(com.google.protobuf.ByteString value)Model version number
optional string version = 2 [(.mlflow.validate_required) = true];
-
hasDescription
public boolean hasDescription()If provided, updates the description for this ``registered_model``.
optional string description = 3;
- Specified by:
hasDescription
in interfaceModelRegistry.UpdateModelVersionOrBuilder
-
getDescription
public java.lang.String getDescription()If provided, updates the description for this ``registered_model``.
optional string description = 3;
- Specified by:
getDescription
in interfaceModelRegistry.UpdateModelVersionOrBuilder
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()If provided, updates the description for this ``registered_model``.
optional string description = 3;
- Specified by:
getDescriptionBytes
in interfaceModelRegistry.UpdateModelVersionOrBuilder
-
setDescription
If provided, updates the description for this ``registered_model``.
optional string description = 3;
-
clearDescription
If provided, updates the description for this ``registered_model``.
optional string description = 3;
-
setDescriptionBytes
public ModelRegistry.UpdateModelVersion.Builder setDescriptionBytes(com.google.protobuf.ByteString value)If provided, updates the description for this ``registered_model``.
optional string description = 3;
-
setUnknownFields
public final ModelRegistry.UpdateModelVersion.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.UpdateModelVersion.Builder>
-
mergeUnknownFields
public final ModelRegistry.UpdateModelVersion.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.UpdateModelVersion.Builder>
-