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.Descriptorcom.google.protobuf.Descriptors.DescriptorThe ID of the LoggedModel for which to fetch artifact read credentialscom.google.protobuf.ByteStringThe 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.ByteStringToken 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.ByteStringgetPathsBytes(int index) The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsintThe artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialscom.google.protobuf.ProtocolStringListThe artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsbooleanThe ID of the LoggedModel for which to fetch artifact read credentialsbooleanToken specifying the page of credentials to fetch for large requests that require paginationprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
setField
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
clearField
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
clearOneof
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
addRepeatedField
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
mergeFrom
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasModelIdin 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:
getModelIdin 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:
getModelIdBytesin 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:
getPathsListin 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:
getPathsCountin 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:
getPathsin 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:
getPathsBytesin 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:
hasPageTokenin 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:
getPageTokenin 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:
getPageTokenBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
mergeUnknownFields
public final DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-