Package org.mlflow.api.proto
Class ModelRegistry.SearchModelVersions.Response.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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
,java.lang.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 typemlflow.SearchModelVersions.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.SearchModelVersions.Response.Builder>
-
clear
public 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
public ModelRegistry.SearchModelVersions.Response getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ModelRegistry.SearchModelVersions.Response build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ModelRegistry.SearchModelVersions.Response buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ModelRegistry.SearchModelVersions.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.SearchModelVersions.Response.Builder>
-
setField
public ModelRegistry.SearchModelVersions.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.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, java.lang.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, java.lang.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 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.SearchModelVersions.Response.Builder>
- Throws:
java.io.IOException
-
getModelVersionsList
public java.util.List<ModelRegistry.ModelVersion> 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
public ModelRegistry.ModelVersion getModelVersions(int index)
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(java.lang.Iterable<? extends ModelRegistry.ModelVersion> values)
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
clearModelVersions
public ModelRegistry.SearchModelVersions.Response.Builder clearModelVersions()
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
removeModelVersions
public ModelRegistry.SearchModelVersions.Response.Builder removeModelVersions(int index)
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
getModelVersionsBuilder
public ModelRegistry.ModelVersion.Builder getModelVersionsBuilder(int index)
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
getModelVersionsOrBuilder
public ModelRegistry.ModelVersionOrBuilder getModelVersionsOrBuilder(int index)
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
- Specified by:
getModelVersionsOrBuilder
in interfaceModelRegistry.SearchModelVersions.ResponseOrBuilder
-
getModelVersionsOrBuilderList
public java.util.List<? extends ModelRegistry.ModelVersionOrBuilder> getModelVersionsOrBuilderList()
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
- Specified by:
getModelVersionsOrBuilderList
in interfaceModelRegistry.SearchModelVersions.ResponseOrBuilder
-
addModelVersionsBuilder
public ModelRegistry.ModelVersion.Builder addModelVersionsBuilder()
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
addModelVersionsBuilder
public ModelRegistry.ModelVersion.Builder addModelVersionsBuilder(int index)
Models that match the search criteria
repeated .mlflow.ModelVersion model_versions = 1;
-
getModelVersionsBuilderList
public java.util.List<ModelRegistry.ModelVersion.Builder> 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
public java.lang.String 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
public ModelRegistry.SearchModelVersions.Response.Builder setNextPageToken(java.lang.String value)
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
public ModelRegistry.SearchModelVersions.Response.Builder 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>
-
-