Package org.mlflow.api.proto
Class Service.ListLoggedModelArtifacts.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Service.ListLoggedModelArtifacts.Builder>
org.mlflow.api.proto.Service.ListLoggedModelArtifacts.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Service.ListLoggedModelArtifactsOrBuilder
- Enclosing class:
- Service.ListLoggedModelArtifacts
public static final class Service.ListLoggedModelArtifacts.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.ListLoggedModelArtifacts.Builder>
implements Service.ListLoggedModelArtifactsOrBuilder
Protobuf type
mlflow.ListLoggedModelArtifacts
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Filter artifacts matching this path (a relative path from the root artifact directory).clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The ID of the LoggedModel for which to list the artifactsclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Token indicating the page of artifact results to fetchclone()
Filter artifacts matching this path (a relative path from the root artifact directory).com.google.protobuf.ByteString
Filter artifacts matching this path (a relative path from the root artifact directory).static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The ID of the LoggedModel for which to list the artifactscom.google.protobuf.ByteString
The ID of the LoggedModel for which to list the artifactsToken indicating the page of artifact results to fetchcom.google.protobuf.ByteString
Token indicating the page of artifact results to fetchboolean
Filter artifacts matching this path (a relative path from the root artifact directory).boolean
The ID of the LoggedModel for which to list the artifactsboolean
Token indicating the page of artifact results to fetchprotected 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) setArtifactDirectoryPath
(String value) Filter artifacts matching this path (a relative path from the root artifact directory).setArtifactDirectoryPathBytes
(com.google.protobuf.ByteString value) Filter artifacts matching this path (a relative path from the root artifact directory).setModelId
(String value) The ID of the LoggedModel for which to list the artifactssetModelIdBytes
(com.google.protobuf.ByteString value) The ID of the LoggedModel for which to list the artifactssetPageToken
(String value) Token indicating the page of artifact results to fetchsetPageTokenBytes
(com.google.protobuf.ByteString value) Token indicating the page of artifact results to fetchsetRepeatedField
(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<Service.ListLoggedModelArtifacts.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<Service.ListLoggedModelArtifacts.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<Service.ListLoggedModelArtifacts.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<Service.ListLoggedModelArtifacts.Builder>
-
setField
public Service.ListLoggedModelArtifacts.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<Service.ListLoggedModelArtifacts.Builder>
-
clearField
public Service.ListLoggedModelArtifacts.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<Service.ListLoggedModelArtifacts.Builder>
-
clearOneof
public Service.ListLoggedModelArtifacts.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<Service.ListLoggedModelArtifacts.Builder>
-
setRepeatedField
public Service.ListLoggedModelArtifacts.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<Service.ListLoggedModelArtifacts.Builder>
-
addRepeatedField
public Service.ListLoggedModelArtifacts.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<Service.ListLoggedModelArtifacts.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.ListLoggedModelArtifacts.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.ListLoggedModelArtifacts.Builder>
-
mergeFrom
public Service.ListLoggedModelArtifacts.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<Service.ListLoggedModelArtifacts.Builder>
- Throws:
IOException
-
hasModelId
public boolean hasModelId()The ID of the LoggedModel for which to list the artifacts
optional string model_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasModelId
in interfaceService.ListLoggedModelArtifactsOrBuilder
- Returns:
- Whether the modelId field is set.
-
getModelId
The ID of the LoggedModel for which to list the artifacts
optional string model_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getModelId
in interfaceService.ListLoggedModelArtifactsOrBuilder
- Returns:
- The modelId.
-
getModelIdBytes
public com.google.protobuf.ByteString getModelIdBytes()The ID of the LoggedModel for which to list the artifacts
optional string model_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getModelIdBytes
in interfaceService.ListLoggedModelArtifactsOrBuilder
- Returns:
- The bytes for modelId.
-
setModelId
The ID of the LoggedModel for which to list the artifacts
optional string model_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The modelId to set.- Returns:
- This builder for chaining.
-
clearModelId
The ID of the LoggedModel for which to list the artifacts
optional string model_id = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setModelIdBytes
public Service.ListLoggedModelArtifacts.Builder setModelIdBytes(com.google.protobuf.ByteString value) The ID of the LoggedModel for which to list the artifacts
optional string model_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for modelId to set.- Returns:
- This builder for chaining.
-
hasArtifactDirectoryPath
public boolean hasArtifactDirectoryPath()Filter artifacts matching this path (a relative path from the root artifact directory).
optional string artifact_directory_path = 2;
- Specified by:
hasArtifactDirectoryPath
in interfaceService.ListLoggedModelArtifactsOrBuilder
- Returns:
- Whether the artifactDirectoryPath field is set.
-
getArtifactDirectoryPath
Filter artifacts matching this path (a relative path from the root artifact directory).
optional string artifact_directory_path = 2;
- Specified by:
getArtifactDirectoryPath
in interfaceService.ListLoggedModelArtifactsOrBuilder
- Returns:
- The artifactDirectoryPath.
-
getArtifactDirectoryPathBytes
public com.google.protobuf.ByteString getArtifactDirectoryPathBytes()Filter artifacts matching this path (a relative path from the root artifact directory).
optional string artifact_directory_path = 2;
- Specified by:
getArtifactDirectoryPathBytes
in interfaceService.ListLoggedModelArtifactsOrBuilder
- Returns:
- The bytes for artifactDirectoryPath.
-
setArtifactDirectoryPath
Filter artifacts matching this path (a relative path from the root artifact directory).
optional string artifact_directory_path = 2;
- Parameters:
value
- The artifactDirectoryPath to set.- Returns:
- This builder for chaining.
-
clearArtifactDirectoryPath
Filter artifacts matching this path (a relative path from the root artifact directory).
optional string artifact_directory_path = 2;
- Returns:
- This builder for chaining.
-
setArtifactDirectoryPathBytes
public Service.ListLoggedModelArtifacts.Builder setArtifactDirectoryPathBytes(com.google.protobuf.ByteString value) Filter artifacts matching this path (a relative path from the root artifact directory).
optional string artifact_directory_path = 2;
- Parameters:
value
- The bytes for artifactDirectoryPath to set.- Returns:
- This builder for chaining.
-
hasPageToken
public boolean hasPageToken()Token indicating the page of artifact results to fetch
optional string page_token = 3;
- Specified by:
hasPageToken
in interfaceService.ListLoggedModelArtifactsOrBuilder
- Returns:
- Whether the pageToken field is set.
-
getPageToken
Token indicating the page of artifact results to fetch
optional string page_token = 3;
- Specified by:
getPageToken
in interfaceService.ListLoggedModelArtifactsOrBuilder
- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()Token indicating the page of artifact results to fetch
optional string page_token = 3;
- Specified by:
getPageTokenBytes
in interfaceService.ListLoggedModelArtifactsOrBuilder
- Returns:
- The bytes for pageToken.
-
setPageToken
Token indicating the page of artifact results to fetch
optional string page_token = 3;
- Parameters:
value
- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
Token indicating the page of artifact results to fetch
optional string page_token = 3;
- Returns:
- This builder for chaining.
-
setPageTokenBytes
public Service.ListLoggedModelArtifacts.Builder setPageTokenBytes(com.google.protobuf.ByteString value) Token indicating the page of artifact results to fetch
optional string page_token = 3;
- Parameters:
value
- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Service.ListLoggedModelArtifacts.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.ListLoggedModelArtifacts.Builder>
-
mergeUnknownFields
public final Service.ListLoggedModelArtifacts.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.ListLoggedModelArtifacts.Builder>
-