Package org.mlflow.api.proto
Class ModelRegistry.CreateModelVersion.Response.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Response.Builder>
-
- org.mlflow.api.proto.ModelRegistry.CreateModelVersion.Response.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.CreateModelVersion.ResponseOrBuilder
- Enclosing class:
- ModelRegistry.CreateModelVersion.Response
public static final class ModelRegistry.CreateModelVersion.Response.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Response.Builder> implements ModelRegistry.CreateModelVersion.ResponseOrBuilder
Protobuf typemlflow.CreateModelVersion.Response
-
-
Method Summary
-
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 Detail
-
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.Response.Builder>
-
clear
public ModelRegistry.CreateModelVersion.Response.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.Response.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.Response.Builder>
-
getDefaultInstanceForType
public ModelRegistry.CreateModelVersion.Response getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ModelRegistry.CreateModelVersion.Response build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ModelRegistry.CreateModelVersion.Response buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ModelRegistry.CreateModelVersion.Response.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.Response.Builder>
-
setField
public ModelRegistry.CreateModelVersion.Response.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.Response.Builder>
-
clearField
public ModelRegistry.CreateModelVersion.Response.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.Response.Builder>
-
clearOneof
public ModelRegistry.CreateModelVersion.Response.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.Response.Builder>
-
setRepeatedField
public ModelRegistry.CreateModelVersion.Response.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.Response.Builder>
-
addRepeatedField
public ModelRegistry.CreateModelVersion.Response.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.Response.Builder>
-
mergeFrom
public ModelRegistry.CreateModelVersion.Response.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.CreateModelVersion.Response.Builder>
-
mergeFrom
public ModelRegistry.CreateModelVersion.Response.Builder mergeFrom(ModelRegistry.CreateModelVersion.Response other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.CreateModelVersion.Response.Builder>
-
mergeFrom
public ModelRegistry.CreateModelVersion.Response.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.Response.Builder>
- Throws:
java.io.IOException
-
hasModelVersion
public boolean hasModelVersion()
Return new version number generated for this model in registry.
optional .mlflow.ModelVersion model_version = 1;
- Specified by:
hasModelVersion
in interfaceModelRegistry.CreateModelVersion.ResponseOrBuilder
- Returns:
- Whether the modelVersion field is set.
-
getModelVersion
public ModelRegistry.ModelVersion getModelVersion()
Return new version number generated for this model in registry.
optional .mlflow.ModelVersion model_version = 1;
- Specified by:
getModelVersion
in interfaceModelRegistry.CreateModelVersion.ResponseOrBuilder
- Returns:
- The modelVersion.
-
setModelVersion
public ModelRegistry.CreateModelVersion.Response.Builder setModelVersion(ModelRegistry.ModelVersion value)
Return new version number generated for this model in registry.
optional .mlflow.ModelVersion model_version = 1;
-
setModelVersion
public ModelRegistry.CreateModelVersion.Response.Builder setModelVersion(ModelRegistry.ModelVersion.Builder builderForValue)
Return new version number generated for this model in registry.
optional .mlflow.ModelVersion model_version = 1;
-
mergeModelVersion
public ModelRegistry.CreateModelVersion.Response.Builder mergeModelVersion(ModelRegistry.ModelVersion value)
Return new version number generated for this model in registry.
optional .mlflow.ModelVersion model_version = 1;
-
clearModelVersion
public ModelRegistry.CreateModelVersion.Response.Builder clearModelVersion()
Return new version number generated for this model in registry.
optional .mlflow.ModelVersion model_version = 1;
-
getModelVersionBuilder
public ModelRegistry.ModelVersion.Builder getModelVersionBuilder()
Return new version number generated for this model in registry.
optional .mlflow.ModelVersion model_version = 1;
-
getModelVersionOrBuilder
public ModelRegistry.ModelVersionOrBuilder getModelVersionOrBuilder()
Return new version number generated for this model in registry.
optional .mlflow.ModelVersion model_version = 1;
- Specified by:
getModelVersionOrBuilder
in interfaceModelRegistry.CreateModelVersion.ResponseOrBuilder
-
setUnknownFields
public final ModelRegistry.CreateModelVersion.Response.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.Response.Builder>
-
mergeUnknownFields
public final ModelRegistry.CreateModelVersion.Response.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.Response.Builder>
-
-