Class Experiment
-
- All Implemented Interfaces:
public final class Experiment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classExperiment.BuilderA builder for Experiment.
public final classExperiment.MetadataUser-controlled metadata about the experiment
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the experiment final Stringname()Name of the experiment. final StringprojectId()Unique identifier for the project that the experiment belongs under final Booleanpublic_()Whether or not the experiment is public. final Optional<String>baseExpId()Id of default base experiment to compare against when viewing this experiment final Optional<String>commit()Commit, taken directly from repo_info.commitfinal Optional<OffsetDateTime>created()Date of experiment creation final Optional<String>datasetId()Identifier of the linked dataset, or null if the experiment is not linked to a dataset final Optional<String>datasetVersion()Version number of the linked dataset the experiment was run against. final Optional<OffsetDateTime>deletedAt()Date of experiment deletion, or null if the experiment is still active final Optional<String>description()Textual description of the experiment final Optional<Experiment.Metadata>metadata()User-controlled metadata about the experiment final Optional<RepoInfo>repoInfo()Metadata about the state of the repo when the experiment was created final Optional<String>userId()Identifies the user who created the experiment final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_projectId()Returns the raw JSON value of projectId. final JsonField<Boolean>_public_()Returns the raw JSON value of public_. final JsonField<String>_baseExpId()Returns the raw JSON value of baseExpId. final JsonField<String>_commit()Returns the raw JSON value of commit. final JsonField<OffsetDateTime>_created()Returns the raw JSON value of created. final JsonField<String>_datasetId()Returns the raw JSON value of datasetId. final JsonField<String>_datasetVersion()Returns the raw JSON value of datasetVersion. final JsonField<OffsetDateTime>_deletedAt()Returns the raw JSON value of deletedAt. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<Experiment.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<RepoInfo>_repoInfo()Returns the raw JSON value of repoInfo. final JsonField<String>_userId()Returns the raw JSON value of userId. final Map<String, JsonValue>_additionalProperties()final Experiment.BuildertoBuilder()final Experimentvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Experiment.Builderbuilder()Returns a mutable builder for constructing an instance of Experiment. -
-
Method Detail
-
projectId
final String projectId()
Unique identifier for the project that the experiment belongs under
-
public_
final Boolean public_()
Whether or not the experiment is public. Public experiments can be viewed by anybody inside or outside the organization
-
baseExpId
final Optional<String> baseExpId()
Id of default base experiment to compare against when viewing this experiment
-
created
final Optional<OffsetDateTime> created()
Date of experiment creation
-
datasetId
final Optional<String> datasetId()
Identifier of the linked dataset, or null if the experiment is not linked to a dataset
-
datasetVersion
final Optional<String> datasetVersion()
Version number of the linked dataset the experiment was run against. This can be used to reproduce the experiment after the dataset has been modified.
-
deletedAt
final Optional<OffsetDateTime> deletedAt()
Date of experiment deletion, or null if the experiment is still active
-
description
final Optional<String> description()
Textual description of the experiment
-
metadata
final Optional<Experiment.Metadata> metadata()
User-controlled metadata about the experiment
-
repoInfo
final Optional<RepoInfo> repoInfo()
Metadata about the state of the repo when the experiment was created
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_projectId
final JsonField<String> _projectId()
Returns the raw JSON value of projectId.
Unlike projectId, this method doesn't throw if the JSON field has an unexpected type.
-
_public_
final JsonField<Boolean> _public_()
Returns the raw JSON value of public_.
Unlike public_, this method doesn't throw if the JSON field has an unexpected type.
-
_baseExpId
final JsonField<String> _baseExpId()
Returns the raw JSON value of baseExpId.
Unlike baseExpId, this method doesn't throw if the JSON field has an unexpected type.
-
_commit
final JsonField<String> _commit()
Returns the raw JSON value of commit.
Unlike commit, this method doesn't throw if the JSON field has an unexpected type.
-
_created
final JsonField<OffsetDateTime> _created()
Returns the raw JSON value of created.
Unlike created, this method doesn't throw if the JSON field has an unexpected type.
-
_datasetId
final JsonField<String> _datasetId()
Returns the raw JSON value of datasetId.
Unlike datasetId, this method doesn't throw if the JSON field has an unexpected type.
-
_datasetVersion
final JsonField<String> _datasetVersion()
Returns the raw JSON value of datasetVersion.
Unlike datasetVersion, this method doesn't throw if the JSON field has an unexpected type.
-
_deletedAt
final JsonField<OffsetDateTime> _deletedAt()
Returns the raw JSON value of deletedAt.
Unlike deletedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<Experiment.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_repoInfo
final JsonField<RepoInfo> _repoInfo()
Returns the raw JSON value of repoInfo.
Unlike repoInfo, this method doesn't throw if the JSON field has an unexpected type.
-
_userId
final JsonField<String> _userId()
Returns the raw JSON value of userId.
Unlike userId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Experiment.Builder toBuilder()
-
validate
final Experiment validate()
-
builder
final static Experiment.Builder builder()
Returns a mutable builder for constructing an instance of Experiment.
The following fields are required:
.id() .name() .projectId() .public_()
-
-
-
-