Package com.databricks.api.proto.mlflow
Class DatabricksArtifacts.GetCredentialsForWrite.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForWrite.Builder>
-
- com.databricks.api.proto.mlflow.DatabricksArtifacts.GetCredentialsForWrite.Builder
-
- All Implemented Interfaces:
DatabricksArtifacts.GetCredentialsForWriteOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- DatabricksArtifacts.GetCredentialsForWrite
public static final class DatabricksArtifacts.GetCredentialsForWrite.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForWrite.Builder> implements DatabricksArtifacts.GetCredentialsForWriteOrBuilder
Protobuf typemlflow.GetCredentialsForWrite
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabricksArtifacts.GetCredentialsForWrite.Builder
addAllPath(java.lang.Iterable<java.lang.String> values)
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials.DatabricksArtifacts.GetCredentialsForWrite.Builder
addPath(java.lang.String value)
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials.DatabricksArtifacts.GetCredentialsForWrite.Builder
addPathBytes(com.google.protobuf.ByteString value)
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials.DatabricksArtifacts.GetCredentialsForWrite.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DatabricksArtifacts.GetCredentialsForWrite
build()
DatabricksArtifacts.GetCredentialsForWrite
buildPartial()
DatabricksArtifacts.GetCredentialsForWrite.Builder
clear()
DatabricksArtifacts.GetCredentialsForWrite.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DatabricksArtifacts.GetCredentialsForWrite.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DatabricksArtifacts.GetCredentialsForWrite.Builder
clearPageToken()
Token specifying the page of credentials to fetch for large requests that require paginationDatabricksArtifacts.GetCredentialsForWrite.Builder
clearPath()
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials.DatabricksArtifacts.GetCredentialsForWrite.Builder
clearRunId()
The ID of the MLflow Run for which to fetch artifact write credentialsDatabricksArtifacts.GetCredentialsForWrite.Builder
clone()
DatabricksArtifacts.GetCredentialsForWrite
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.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
getPath(int index)
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials.com.google.protobuf.ByteString
getPathBytes(int index)
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials.int
getPathCount()
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials.com.google.protobuf.ProtocolStringList
getPathList()
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials.java.lang.String
getRunId()
The ID of the MLflow Run for which to fetch artifact write credentialscom.google.protobuf.ByteString
getRunIdBytes()
The ID of the MLflow Run for which to fetch artifact write credentialsboolean
hasPageToken()
Token specifying the page of credentials to fetch for large requests that require paginationboolean
hasRunId()
The ID of the MLflow Run for which to fetch artifact write credentialsprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DatabricksArtifacts.GetCredentialsForWrite.Builder
mergeFrom(DatabricksArtifacts.GetCredentialsForWrite other)
DatabricksArtifacts.GetCredentialsForWrite.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DatabricksArtifacts.GetCredentialsForWrite.Builder
mergeFrom(com.google.protobuf.Message other)
DatabricksArtifacts.GetCredentialsForWrite.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DatabricksArtifacts.GetCredentialsForWrite.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DatabricksArtifacts.GetCredentialsForWrite.Builder
setPageToken(java.lang.String value)
Token specifying the page of credentials to fetch for large requests that require paginationDatabricksArtifacts.GetCredentialsForWrite.Builder
setPageTokenBytes(com.google.protobuf.ByteString value)
Token specifying the page of credentials to fetch for large requests that require paginationDatabricksArtifacts.GetCredentialsForWrite.Builder
setPath(int index, java.lang.String value)
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials.DatabricksArtifacts.GetCredentialsForWrite.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
DatabricksArtifacts.GetCredentialsForWrite.Builder
setRunId(java.lang.String value)
The ID of the MLflow Run for which to fetch artifact write credentialsDatabricksArtifacts.GetCredentialsForWrite.Builder
setRunIdBytes(com.google.protobuf.ByteString value)
The ID of the MLflow Run for which to fetch artifact write credentialsDatabricksArtifacts.GetCredentialsForWrite.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, 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
-
-
-
-
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.GetCredentialsForWrite.Builder>
-
clear
public DatabricksArtifacts.GetCredentialsForWrite.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.GetCredentialsForWrite.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.GetCredentialsForWrite.Builder>
-
getDefaultInstanceForType
public DatabricksArtifacts.GetCredentialsForWrite getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DatabricksArtifacts.GetCredentialsForWrite build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DatabricksArtifacts.GetCredentialsForWrite buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DatabricksArtifacts.GetCredentialsForWrite.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.GetCredentialsForWrite.Builder>
-
setField
public DatabricksArtifacts.GetCredentialsForWrite.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.GetCredentialsForWrite.Builder>
-
clearField
public DatabricksArtifacts.GetCredentialsForWrite.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.GetCredentialsForWrite.Builder>
-
clearOneof
public DatabricksArtifacts.GetCredentialsForWrite.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.GetCredentialsForWrite.Builder>
-
setRepeatedField
public DatabricksArtifacts.GetCredentialsForWrite.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.GetCredentialsForWrite.Builder>
-
addRepeatedField
public DatabricksArtifacts.GetCredentialsForWrite.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.GetCredentialsForWrite.Builder>
-
mergeFrom
public DatabricksArtifacts.GetCredentialsForWrite.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.GetCredentialsForWrite.Builder>
-
mergeFrom
public DatabricksArtifacts.GetCredentialsForWrite.Builder mergeFrom(DatabricksArtifacts.GetCredentialsForWrite other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DatabricksArtifacts.GetCredentialsForWrite.Builder>
-
mergeFrom
public DatabricksArtifacts.GetCredentialsForWrite.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.GetCredentialsForWrite.Builder>
- Throws:
java.io.IOException
-
hasRunId
public boolean hasRunId()
The ID of the MLflow Run for which to fetch artifact write credentials
optional string run_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasRunId
in interfaceDatabricksArtifacts.GetCredentialsForWriteOrBuilder
- Returns:
- Whether the runId field is set.
-
getRunId
public java.lang.String getRunId()
The ID of the MLflow Run for which to fetch artifact write credentials
optional string run_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getRunId
in interfaceDatabricksArtifacts.GetCredentialsForWriteOrBuilder
- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()
The ID of the MLflow Run for which to fetch artifact write credentials
optional string run_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getRunIdBytes
in interfaceDatabricksArtifacts.GetCredentialsForWriteOrBuilder
- Returns:
- The bytes for runId.
-
setRunId
public DatabricksArtifacts.GetCredentialsForWrite.Builder setRunId(java.lang.String value)
The ID of the MLflow Run for which to fetch artifact write credentials
optional string run_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
public DatabricksArtifacts.GetCredentialsForWrite.Builder clearRunId()
The ID of the MLflow Run for which to fetch artifact write credentials
optional string run_id = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setRunIdBytes
public DatabricksArtifacts.GetCredentialsForWrite.Builder setRunIdBytes(com.google.protobuf.ByteString value)
The ID of the MLflow Run for which to fetch artifact write credentials
optional string run_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for runId to set.- Returns:
- This builder for chaining.
-
getPathList
public com.google.protobuf.ProtocolStringList getPathList()
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials. Must not be empty.
repeated string path = 2;
- Specified by:
getPathList
in interfaceDatabricksArtifacts.GetCredentialsForWriteOrBuilder
- Returns:
- A list containing the path.
-
getPathCount
public int getPathCount()
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials. Must not be empty.
repeated string path = 2;
- Specified by:
getPathCount
in interfaceDatabricksArtifacts.GetCredentialsForWriteOrBuilder
- Returns:
- The count of path.
-
getPath
public java.lang.String getPath(int index)
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials. Must not be empty.
repeated string path = 2;
- Specified by:
getPath
in interfaceDatabricksArtifacts.GetCredentialsForWriteOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The path at the given index.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes(int index)
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials. Must not be empty.
repeated string path = 2;
- Specified by:
getPathBytes
in interfaceDatabricksArtifacts.GetCredentialsForWriteOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the path at the given index.
-
setPath
public DatabricksArtifacts.GetCredentialsForWrite.Builder setPath(int index, java.lang.String value)
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials. Must not be empty.
repeated string path = 2;
- Parameters:
index
- The index to set the value at.value
- The path to set.- Returns:
- This builder for chaining.
-
addPath
public DatabricksArtifacts.GetCredentialsForWrite.Builder addPath(java.lang.String value)
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials. Must not be empty.
repeated string path = 2;
- Parameters:
value
- The path to add.- Returns:
- This builder for chaining.
-
addAllPath
public DatabricksArtifacts.GetCredentialsForWrite.Builder addAllPath(java.lang.Iterable<java.lang.String> values)
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials. Must not be empty.
repeated string path = 2;
- Parameters:
values
- The path to add.- Returns:
- This builder for chaining.
-
clearPath
public DatabricksArtifacts.GetCredentialsForWrite.Builder clearPath()
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials. Must not be empty.
repeated string path = 2;
- Returns:
- This builder for chaining.
-
addPathBytes
public DatabricksArtifacts.GetCredentialsForWrite.Builder addPathBytes(com.google.protobuf.ByteString value)
The artifact paths, relative to the Run's artifact root location, for which to fetch artifact write credentials. Must not be empty.
repeated string path = 2;
- Parameters:
value
- The bytes of the path 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.GetCredentialsForWriteOrBuilder
- 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.GetCredentialsForWriteOrBuilder
- 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.GetCredentialsForWriteOrBuilder
- Returns:
- The bytes for pageToken.
-
setPageToken
public DatabricksArtifacts.GetCredentialsForWrite.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.GetCredentialsForWrite.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.GetCredentialsForWrite.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.GetCredentialsForWrite.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.GetCredentialsForWrite.Builder>
-
mergeUnknownFields
public final DatabricksArtifacts.GetCredentialsForWrite.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.GetCredentialsForWrite.Builder>
-
-