Package com.databricks.api.proto.mlflow
Class DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
com.databricks.api.proto.mlflow.DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
- All Implemented Interfaces:
DatabricksArtifacts.GetCredentialsForLoggedModelDownloadOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- DatabricksArtifacts.GetCredentialsForLoggedModelDownload
public static final class DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
implements DatabricksArtifacts.GetCredentialsForLoggedModelDownloadOrBuilder
Protobuf type
mlflow.GetCredentialsForLoggedModelDownload
-
Method Summary
Modifier and TypeMethodDescriptionaddAllPaths
(Iterable<String> values) The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsThe artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsaddPathsBytes
(com.google.protobuf.ByteString value) The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The ID of the LoggedModel for which to fetch artifact read credentialsclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Token specifying the page of credentials to fetch for large requests that require paginationThe artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The ID of the LoggedModel for which to fetch artifact read credentialscom.google.protobuf.ByteString
The ID of the LoggedModel for which to fetch artifact read credentialsToken specifying the page of credentials to fetch for large requests that require paginationcom.google.protobuf.ByteString
Token specifying the page of credentials to fetch for large requests that require paginationgetPaths
(int index) The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialscom.google.protobuf.ByteString
getPathsBytes
(int index) The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsint
The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialscom.google.protobuf.ProtocolStringList
The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsboolean
The ID of the LoggedModel for which to fetch artifact read credentialsboolean
Token specifying the page of credentials to fetch for large requests that require paginationprotected 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) setModelId
(String value) The ID of the LoggedModel for which to fetch artifact read credentialssetModelIdBytes
(com.google.protobuf.ByteString value) The ID of the LoggedModel for which to fetch artifact read credentialssetPageToken
(String value) Token specifying the page of credentials to fetch for large requests that require paginationsetPageTokenBytes
(com.google.protobuf.ByteString value) Token specifying the page of credentials to fetch for large requests that require paginationThe artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialssetRepeatedField
(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<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.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<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.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<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.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<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
setField
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.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<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
clearField
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.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<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
clearOneof
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.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<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
setRepeatedField
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.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<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
addRepeatedField
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.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<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
mergeFrom
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
mergeFrom
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.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<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
- Throws:
IOException
-
hasModelId
public boolean hasModelId()The ID of the LoggedModel for which to fetch artifact read credentials
optional string model_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasModelId
in interfaceDatabricksArtifacts.GetCredentialsForLoggedModelDownloadOrBuilder
- Returns:
- Whether the modelId field is set.
-
getModelId
The ID of the LoggedModel for which to fetch artifact read credentials
optional string model_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getModelId
in interfaceDatabricksArtifacts.GetCredentialsForLoggedModelDownloadOrBuilder
- Returns:
- The modelId.
-
getModelIdBytes
public com.google.protobuf.ByteString getModelIdBytes()The ID of the LoggedModel for which to fetch artifact read credentials
optional string model_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getModelIdBytes
in interfaceDatabricksArtifacts.GetCredentialsForLoggedModelDownloadOrBuilder
- Returns:
- The bytes for modelId.
-
setModelId
The ID of the LoggedModel for which to fetch artifact read credentials
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 fetch artifact read credentials
optional string model_id = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setModelIdBytes
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder setModelIdBytes(com.google.protobuf.ByteString value) The ID of the LoggedModel for which to fetch artifact read credentials
optional string model_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for modelId to set.- Returns:
- This builder for chaining.
-
getPathsList
public com.google.protobuf.ProtocolStringList getPathsList()The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentials
repeated string paths = 2;
- Specified by:
getPathsList
in interfaceDatabricksArtifacts.GetCredentialsForLoggedModelDownloadOrBuilder
- Returns:
- A list containing the paths.
-
getPathsCount
public int getPathsCount()The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentials
repeated string paths = 2;
- Specified by:
getPathsCount
in interfaceDatabricksArtifacts.GetCredentialsForLoggedModelDownloadOrBuilder
- Returns:
- The count of paths.
-
getPaths
The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentials
repeated string paths = 2;
- Specified by:
getPaths
in interfaceDatabricksArtifacts.GetCredentialsForLoggedModelDownloadOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The paths at the given index.
-
getPathsBytes
public com.google.protobuf.ByteString getPathsBytes(int index) The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentials
repeated string paths = 2;
- Specified by:
getPathsBytes
in interfaceDatabricksArtifacts.GetCredentialsForLoggedModelDownloadOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the paths at the given index.
-
setPaths
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder setPaths(int index, String value) The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentials
repeated string paths = 2;
- Parameters:
index
- The index to set the value at.value
- The paths to set.- Returns:
- This builder for chaining.
-
addPaths
The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentials
repeated string paths = 2;
- Parameters:
value
- The paths to add.- Returns:
- This builder for chaining.
-
addAllPaths
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder addAllPaths(Iterable<String> values) The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentials
repeated string paths = 2;
- Parameters:
values
- The paths to add.- Returns:
- This builder for chaining.
-
clearPaths
The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentials
repeated string paths = 2;
- Returns:
- This builder for chaining.
-
addPathsBytes
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder addPathsBytes(com.google.protobuf.ByteString value) The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentials
repeated string paths = 2;
- Parameters:
value
- The bytes of the paths to add.- Returns:
- This builder for chaining.
-
hasPageToken
public boolean hasPageToken()Token specifying the page of credentials to fetch for large requests that require pagination
optional string page_token = 3;
- Specified by:
hasPageToken
in interfaceDatabricksArtifacts.GetCredentialsForLoggedModelDownloadOrBuilder
- Returns:
- Whether the pageToken field is set.
-
getPageToken
Token specifying the page of credentials to fetch for large requests that require pagination
optional string page_token = 3;
- Specified by:
getPageToken
in interfaceDatabricksArtifacts.GetCredentialsForLoggedModelDownloadOrBuilder
- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()Token specifying the page of credentials to fetch for large requests that require pagination
optional string page_token = 3;
- Specified by:
getPageTokenBytes
in interfaceDatabricksArtifacts.GetCredentialsForLoggedModelDownloadOrBuilder
- Returns:
- The bytes for pageToken.
-
setPageToken
Token specifying the page of credentials to fetch for large requests that require pagination
optional string page_token = 3;
- Parameters:
value
- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
Token specifying the page of credentials to fetch for large requests that require pagination
optional string page_token = 3;
- Returns:
- This builder for chaining.
-
setPageTokenBytes
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder setPageTokenBytes(com.google.protobuf.ByteString value) Token specifying the page of credentials to fetch for large requests that require pagination
optional string page_token = 3;
- Parameters:
value
- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
mergeUnknownFields
public final DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-