Package org.mlflow.api.proto
Class ModelRegistry.CreateRegisteredModel.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ModelRegistry.CreateRegisteredModel.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateRegisteredModel.Builder>
org.mlflow.api.proto.ModelRegistry.CreateRegisteredModel.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,ModelRegistry.CreateRegisteredModelOrBuilder
- Enclosing class:
ModelRegistry.CreateRegisteredModel
public static final class ModelRegistry.CreateRegisteredModel.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateRegisteredModel.Builder>
implements ModelRegistry.CreateRegisteredModelOrBuilder
Protobuf type
mlflow.CreateRegisteredModel
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags
(Iterable<? extends ModelRegistry.RegisteredModelTag> values) Additional metadata for registered model.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTags
(int index, ModelRegistry.RegisteredModelTag value) Additional metadata for registered model.addTags
(int index, ModelRegistry.RegisteredModelTag.Builder builderForValue) Additional metadata for registered model.Additional metadata for registered model.addTags
(ModelRegistry.RegisteredModelTag.Builder builderForValue) Additional metadata for registered model.Additional metadata for registered model.addTagsBuilder
(int index) Additional metadata for registered model.build()
clear()
Optional description for registered model.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Register models under this nameclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Additional metadata for registered model.clone()
Optional description for registered model.com.google.protobuf.ByteString
Optional description for registered model.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getName()
Register models under this namecom.google.protobuf.ByteString
Register models under this namegetTags
(int index) Additional metadata for registered model.getTagsBuilder
(int index) Additional metadata for registered model.Additional metadata for registered model.int
Additional metadata for registered model.Additional metadata for registered model.getTagsOrBuilder
(int index) Additional metadata for registered model.List
<? extends ModelRegistry.RegisteredModelTagOrBuilder> Additional metadata for registered model.boolean
Optional description for registered model.boolean
hasName()
Register models under this nameprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeTags
(int index) Additional metadata for registered model.setDescription
(String value) Optional description for registered model.setDescriptionBytes
(com.google.protobuf.ByteString value) Optional description for registered model.Register models under this namesetNameBytes
(com.google.protobuf.ByteString value) Register models under this namesetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTags
(int index, ModelRegistry.RegisteredModelTag value) Additional metadata for registered model.setTags
(int index, ModelRegistry.RegisteredModelTag.Builder builderForValue) Additional metadata for registered model.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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.CreateRegisteredModel.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.CreateRegisteredModel.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.CreateRegisteredModel.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.CreateRegisteredModel.Builder>
-
setField
public ModelRegistry.CreateRegisteredModel.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateRegisteredModel.Builder>
-
clearField
public ModelRegistry.CreateRegisteredModel.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.CreateRegisteredModel.Builder>
-
clearOneof
public ModelRegistry.CreateRegisteredModel.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.CreateRegisteredModel.Builder>
-
setRepeatedField
public ModelRegistry.CreateRegisteredModel.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateRegisteredModel.Builder>
-
addRepeatedField
public ModelRegistry.CreateRegisteredModel.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateRegisteredModel.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.CreateRegisteredModel.Builder>
-
mergeFrom
public ModelRegistry.CreateRegisteredModel.Builder mergeFrom(ModelRegistry.CreateRegisteredModel other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateRegisteredModel.Builder>
-
mergeFrom
public ModelRegistry.CreateRegisteredModel.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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.CreateRegisteredModel.Builder>
- Throws:
IOException
-
hasName
public boolean hasName()Register models under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasName
in interfaceModelRegistry.CreateRegisteredModelOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Register models under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getName
in interfaceModelRegistry.CreateRegisteredModelOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Register models under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getNameBytes
in interfaceModelRegistry.CreateRegisteredModelOrBuilder
- Returns:
- The bytes for name.
-
setName
Register models under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Register models under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setNameBytes
public ModelRegistry.CreateRegisteredModel.Builder setNameBytes(com.google.protobuf.ByteString value) Register models under this name
optional string name = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getTagsList
Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
- Specified by:
getTagsList
in interfaceModelRegistry.CreateRegisteredModelOrBuilder
-
getTagsCount
public int getTagsCount()Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
- Specified by:
getTagsCount
in interfaceModelRegistry.CreateRegisteredModelOrBuilder
-
getTags
Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
- Specified by:
getTags
in interfaceModelRegistry.CreateRegisteredModelOrBuilder
-
setTags
public ModelRegistry.CreateRegisteredModel.Builder setTags(int index, ModelRegistry.RegisteredModelTag value) Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
-
setTags
public ModelRegistry.CreateRegisteredModel.Builder setTags(int index, ModelRegistry.RegisteredModelTag.Builder builderForValue) Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
-
addTags
Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
-
addTags
public ModelRegistry.CreateRegisteredModel.Builder addTags(int index, ModelRegistry.RegisteredModelTag value) Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
-
addTags
public ModelRegistry.CreateRegisteredModel.Builder addTags(ModelRegistry.RegisteredModelTag.Builder builderForValue) Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
-
addTags
public ModelRegistry.CreateRegisteredModel.Builder addTags(int index, ModelRegistry.RegisteredModelTag.Builder builderForValue) Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
-
addAllTags
public ModelRegistry.CreateRegisteredModel.Builder addAllTags(Iterable<? extends ModelRegistry.RegisteredModelTag> values) Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
-
clearTags
Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
-
removeTags
Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
-
getTagsBuilder
Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
-
getTagsOrBuilder
Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
- Specified by:
getTagsOrBuilder
in interfaceModelRegistry.CreateRegisteredModelOrBuilder
-
getTagsOrBuilderList
Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
- Specified by:
getTagsOrBuilderList
in interfaceModelRegistry.CreateRegisteredModelOrBuilder
-
addTagsBuilder
Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
-
addTagsBuilder
Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
-
getTagsBuilderList
Additional metadata for registered model.
repeated .mlflow.RegisteredModelTag tags = 2;
-
hasDescription
public boolean hasDescription()Optional description for registered model.
optional string description = 3;
- Specified by:
hasDescription
in interfaceModelRegistry.CreateRegisteredModelOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
Optional description for registered model.
optional string description = 3;
- Specified by:
getDescription
in interfaceModelRegistry.CreateRegisteredModelOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional description for registered model.
optional string description = 3;
- Specified by:
getDescriptionBytes
in interfaceModelRegistry.CreateRegisteredModelOrBuilder
- Returns:
- The bytes for description.
-
setDescription
Optional description for registered model.
optional string description = 3;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional description for registered model.
optional string description = 3;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public ModelRegistry.CreateRegisteredModel.Builder setDescriptionBytes(com.google.protobuf.ByteString value) Optional description for registered model.
optional string description = 3;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ModelRegistry.CreateRegisteredModel.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.CreateRegisteredModel.Builder>
-
mergeUnknownFields
public final ModelRegistry.CreateRegisteredModel.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.CreateRegisteredModel.Builder>
-