Package org.mlflow.api.proto
Class ModelRegistry.SearchModelVersions.Response.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ModelRegistry.SearchModelVersions.Response.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SearchModelVersions.Response.Builder>
org.mlflow.api.proto.ModelRegistry.SearchModelVersions.Response.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,ModelRegistry.SearchModelVersions.ResponseOrBuilder
- Enclosing class:
ModelRegistry.SearchModelVersions.Response
public static final class ModelRegistry.SearchModelVersions.Response.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SearchModelVersions.Response.Builder>
implements ModelRegistry.SearchModelVersions.ResponseOrBuilder
Protobuf type
mlflow.SearchModelVersions.Response
-
Method Summary
Modifier and TypeMethodDescriptionaddAllModelVersions
(Iterable<? extends ModelRegistry.ModelVersion> values) Models that match the search criteriaaddModelVersions
(int index, ModelRegistry.ModelVersion value) Models that match the search criteriaaddModelVersions
(int index, ModelRegistry.ModelVersion.Builder builderForValue) Models that match the search criteriaModels that match the search criteriaaddModelVersions
(ModelRegistry.ModelVersion.Builder builderForValue) Models that match the search criteriaModels that match the search criteriaaddModelVersionsBuilder
(int index) Models that match the search criteriaaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Models that match the search criteriaPagination token to request next page of models for the same search query.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getModelVersions
(int index) Models that match the search criteriagetModelVersionsBuilder
(int index) Models that match the search criteriaModels that match the search criteriaint
Models that match the search criteriaModels that match the search criteriagetModelVersionsOrBuilder
(int index) Models that match the search criteriaList
<? extends ModelRegistry.ModelVersionOrBuilder> Models that match the search criteriaPagination token to request next page of models for the same search query.com.google.protobuf.ByteString
Pagination token to request next page of models for the same search query.boolean
Pagination token to request next page of models for the same search query.protected 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) removeModelVersions
(int index) Models that match the search criteriasetModelVersions
(int index, ModelRegistry.ModelVersion value) Models that match the search criteriasetModelVersions
(int index, ModelRegistry.ModelVersion.Builder builderForValue) Models that match the search criteriasetNextPageToken
(String value) Pagination token to request next page of models for the same search query.setNextPageTokenBytes
(com.google.protobuf.ByteString value) Pagination token to request next page of models for the same search query.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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.SearchModelVersions.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.SearchModelVersions.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.SearchModelVersions.Response.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.SearchModelVersions.Response.Builder>
-
setField
public ModelRegistry.SearchModelVersions.Response.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.SearchModelVersions.Response.Builder>
-
clearField
public ModelRegistry.SearchModelVersions.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.SearchModelVersions.Response.Builder>
-
clearOneof
public ModelRegistry.SearchModelVersions.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.SearchModelVersions.Response.Builder>
-
setRepeatedField
public ModelRegistry.SearchModelVersions.Response.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.SearchModelVersions.Response.Builder>
-
addRepeatedField
public ModelRegistry.SearchModelVersions.Response.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.SearchModelVersions.Response.Builder>
-
mergeFrom
public ModelRegistry.SearchModelVersions.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.SearchModelVersions.Response.Builder>
-
mergeFrom
public ModelRegistry.SearchModelVersions.Response.Builder mergeFrom(ModelRegistry.SearchModelVersions.Response other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SearchModelVersions.Response.Builder>
-
mergeFrom
public ModelRegistry.SearchModelVersions.Response.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.SearchModelVersions.Response.Builder>
- Throws:
IOException
-
getModelVersionsList
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
- Specified by:
getModelVersionsList
in interfaceModelRegistry.SearchModelVersions.ResponseOrBuilder
-
getModelVersionsCount
public int getModelVersionsCount()Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
- Specified by:
getModelVersionsCount
in interfaceModelRegistry.SearchModelVersions.ResponseOrBuilder
-
getModelVersions
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
- Specified by:
getModelVersions
in interfaceModelRegistry.SearchModelVersions.ResponseOrBuilder
-
setModelVersions
public ModelRegistry.SearchModelVersions.Response.Builder setModelVersions(int index, ModelRegistry.ModelVersion value) Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
setModelVersions
public ModelRegistry.SearchModelVersions.Response.Builder setModelVersions(int index, ModelRegistry.ModelVersion.Builder builderForValue) Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
addModelVersions
public ModelRegistry.SearchModelVersions.Response.Builder addModelVersions(ModelRegistry.ModelVersion value) Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
addModelVersions
public ModelRegistry.SearchModelVersions.Response.Builder addModelVersions(int index, ModelRegistry.ModelVersion value) Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
addModelVersions
public ModelRegistry.SearchModelVersions.Response.Builder addModelVersions(ModelRegistry.ModelVersion.Builder builderForValue) Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
addModelVersions
public ModelRegistry.SearchModelVersions.Response.Builder addModelVersions(int index, ModelRegistry.ModelVersion.Builder builderForValue) Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
addAllModelVersions
public ModelRegistry.SearchModelVersions.Response.Builder addAllModelVersions(Iterable<? extends ModelRegistry.ModelVersion> values) Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
clearModelVersions
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
removeModelVersions
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
getModelVersionsBuilder
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
getModelVersionsOrBuilder
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
- Specified by:
getModelVersionsOrBuilder
in interfaceModelRegistry.SearchModelVersions.ResponseOrBuilder
-
getModelVersionsOrBuilderList
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
- Specified by:
getModelVersionsOrBuilderList
in interfaceModelRegistry.SearchModelVersions.ResponseOrBuilder
-
addModelVersionsBuilder
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
addModelVersionsBuilder
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
getModelVersionsBuilderList
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
hasNextPageToken
public boolean hasNextPageToken()Pagination token to request next page of models for the same search query.
optional string next_page_token = 2;
- Specified by:
hasNextPageToken
in interfaceModelRegistry.SearchModelVersions.ResponseOrBuilder
- Returns:
- Whether the nextPageToken field is set.
-
getNextPageToken
Pagination token to request next page of models for the same search query.
optional string next_page_token = 2;
- Specified by:
getNextPageToken
in interfaceModelRegistry.SearchModelVersions.ResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()Pagination token to request next page of models for the same search query.
optional string next_page_token = 2;
- Specified by:
getNextPageTokenBytes
in interfaceModelRegistry.SearchModelVersions.ResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
Pagination token to request next page of models for the same search query.
optional string next_page_token = 2;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
Pagination token to request next page of models for the same search query.
optional string next_page_token = 2;
- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ModelRegistry.SearchModelVersions.Response.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) Pagination token to request next page of models for the same search query.
optional string next_page_token = 2;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ModelRegistry.SearchModelVersions.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.SearchModelVersions.Response.Builder>
-
mergeUnknownFields
public final ModelRegistry.SearchModelVersions.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.SearchModelVersions.Response.Builder>
-