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.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 credentialsDatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
addPaths(java.lang.String value)
The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsDatabricksArtifacts.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 credentialsDatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DatabricksArtifacts.GetCredentialsForLoggedModelDownload
build()
DatabricksArtifacts.GetCredentialsForLoggedModelDownload
buildPartial()
DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
clear()
DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
clearModelId()
The ID of the LoggedModel for which to fetch artifact read credentialsDatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
clearPageToken()
Token specifying the page of credentials to fetch for large requests that require paginationDatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
clearPaths()
The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsDatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
clone()
DatabricksArtifacts.GetCredentialsForLoggedModelDownload
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getModelId()
The ID of the LoggedModel for which to fetch artifact read credentialscom.google.protobuf.ByteString
getModelIdBytes()
The ID of the LoggedModel for which to fetch artifact read credentialsjava.lang.String
getPageToken()
Token specifying the page of credentials to fetch for large requests that require paginationcom.google.protobuf.ByteString
getPageTokenBytes()
Token specifying the page of credentials to fetch for large requests that require paginationjava.lang.String
getPaths(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
getPathsCount()
The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialscom.google.protobuf.ProtocolStringList
getPathsList()
The artifact paths, relative to the LoggedModel's artifact root location, for which to fetch artifact read credentialsboolean
hasModelId()
The ID of the LoggedModel for which to fetch artifact read credentialsboolean
hasPageToken()
Token specifying the page of credentials to fetch for large requests that require paginationprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
mergeFrom(DatabricksArtifacts.GetCredentialsForLoggedModelDownload other)
DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
mergeFrom(com.google.protobuf.Message other)
DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
setModelId(java.lang.String value)
The ID of the LoggedModel for which to fetch artifact read credentialsDatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
setModelIdBytes(com.google.protobuf.ByteString value)
The ID of the LoggedModel for which to fetch artifact read credentialsDatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
setPageToken(java.lang.String value)
Token specifying the page of credentials to fetch for large requests that require paginationDatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
setPageTokenBytes(com.google.protobuf.ByteString value)
Token specifying the page of credentials to fetch for large requests that require paginationDatabricksArtifacts.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 credentialsDatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder
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, 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<DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder>
-
clear
public 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
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.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, java.lang.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, java.lang.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, java.lang.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
public DatabricksArtifacts.GetCredentialsForLoggedModelDownload.Builder mergeFrom(DatabricksArtifacts.GetCredentialsForLoggedModelDownload other)
-
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 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<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:
hasModelId
in 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:
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
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:
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
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:
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, 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:
hasPageToken
in 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:
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
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:
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>
-
-