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,java.lang.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 typemlflow.GetCredentialsForLoggedModelDownload
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuilderaddAllPaths(java.lang.Iterable<java.lang.String> values)The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsDatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuilderaddPaths(java.lang.String value)The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsDatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuilderaddPathsBytes(com.google.protobuf.ByteString value)The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsDatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DatabricksArtifacts.GetCredentialsForLoggedModelDownloadbuild()DatabricksArtifacts.GetCredentialsForLoggedModelDownloadbuildPartial()DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builderclear()DatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuilderclearModelId()The ID of the LoggedModel for which to fetch artifact read credentialsDatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuilderclearPageToken()Token specifying the page of credentials to fetch for large requests that require paginationDatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuilderclearPaths()The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsDatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builderclone()DatabricksArtifacts.GetCredentialsForLoggedModelDownloadgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetModelId()The ID of the LoggedModel for which to fetch artifact read credentialscom.google.protobuf.ByteStringgetModelIdBytes()The ID of the LoggedModel for which to fetch artifact read credentialsjava.lang.StringgetPageToken()Token specifying the page of credentials to fetch for large requests that require paginationcom.google.protobuf.ByteStringgetPageTokenBytes()Token specifying the page of credentials to fetch for large requests that require paginationjava.lang.StringgetPaths(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 credentialsintgetPathsCount()The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialscom.google.protobuf.ProtocolStringListgetPathsList()The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsbooleanhasModelId()The ID of the LoggedModel for which to fetch artifact read credentialsbooleanhasPageToken()Token specifying the page of credentials to fetch for large requests that require paginationprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuildermergeFrom(DatabricksArtifacts.GetCredentialsForLoggedModelDownload other)DatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuildermergeFrom(com.google.protobuf.Message other)DatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuildersetModelId(java.lang.String value)The ID of the LoggedModel for which to fetch artifact read credentialsDatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuildersetModelIdBytes(com.google.protobuf.ByteString value)The ID of the LoggedModel for which to fetch artifact read credentialsDatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuildersetPageToken(java.lang.String value)Token specifying the page of credentials to fetch for large requests that require paginationDatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuildersetPageTokenBytes(com.google.protobuf.ByteString value)Token specifying the page of credentials to fetch for large requests that require paginationDatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuildersetPaths(int index, java.lang.String value)The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsDatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)DatabricksArtifacts.GetCredentialsForLoggedModelDownload.BuildersetUnknownFields(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, 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
clear
public 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
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.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, java.lang.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, java.lang.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, java.lang.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
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder mergeFrom(DatabricksArtifacts.GetCredentialsForLoggedModelDownload other)
-
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 java.io.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:
java.io.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
public java.lang.String 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
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder setModelId(java.lang.String 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 modelId to set.- Returns:
- This builder for chaining.
-
clearModelId
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder 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
public java.lang.String getPaths(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:
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, java.lang.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
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder addPaths(java.lang.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:
value- The paths to add.- Returns:
- This builder for chaining.
-
addAllPaths
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder addAllPaths(java.lang.Iterable<java.lang.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
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder 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
public java.lang.String 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
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder setPageToken(java.lang.String value)
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
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder 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>
-
-