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