Class CommitRetrieveResponse.Builder
-
- All Implemented Interfaces:
public final class CommitRetrieveResponse.BuilderA builder for CommitRetrieveResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final CommitRetrieveResponse.Builder id(String id)
The project version (commit) id.
-
id
final CommitRetrieveResponse.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
commit
final CommitRetrieveResponse.Builder commit(CommitRetrieveResponse.Commit commit)
The details of a commit (project version).
-
commit
final CommitRetrieveResponse.Builder commit(JsonField<CommitRetrieveResponse.Commit> commit)
Sets Builder.commit to an arbitrary JSON value.
You should usually call Builder.commit with a well-typed Commit value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
dateArchived
final CommitRetrieveResponse.Builder dateArchived(OffsetDateTime dateArchived)
The commit archive date.
-
dateArchived
final CommitRetrieveResponse.Builder dateArchived(Optional<OffsetDateTime> dateArchived)
Alias for calling Builder.dateArchived with
dateArchived.orElse(null).
-
dateArchived
final CommitRetrieveResponse.Builder dateArchived(JsonField<OffsetDateTime> dateArchived)
Sets Builder.dateArchived to an arbitrary JSON value.
You should usually call Builder.dateArchived with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
dateCreated
final CommitRetrieveResponse.Builder dateCreated(OffsetDateTime dateCreated)
The project version (commit) creation date.
-
dateCreated
final CommitRetrieveResponse.Builder dateCreated(JsonField<OffsetDateTime> dateCreated)
Sets Builder.dateCreated to an arbitrary JSON value.
You should usually call Builder.dateCreated with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
failingGoalCount
final CommitRetrieveResponse.Builder failingGoalCount(Long failingGoalCount)
The number of tests that are failing for the commit.
-
failingGoalCount
final CommitRetrieveResponse.Builder failingGoalCount(JsonField<Long> failingGoalCount)
Sets Builder.failingGoalCount to an arbitrary JSON value.
You should usually call Builder.failingGoalCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mlModelId
final CommitRetrieveResponse.Builder mlModelId(String mlModelId)
The model id.
-
mlModelId
final CommitRetrieveResponse.Builder mlModelId(Optional<String> mlModelId)
Alias for calling Builder.mlModelId with
mlModelId.orElse(null).
-
mlModelId
final CommitRetrieveResponse.Builder mlModelId(JsonField<String> mlModelId)
Sets Builder.mlModelId to an arbitrary JSON value.
You should usually call Builder.mlModelId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
passingGoalCount
final CommitRetrieveResponse.Builder passingGoalCount(Long passingGoalCount)
The number of tests that are passing for the commit.
-
passingGoalCount
final CommitRetrieveResponse.Builder passingGoalCount(JsonField<Long> passingGoalCount)
Sets Builder.passingGoalCount to an arbitrary JSON value.
You should usually call Builder.passingGoalCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
projectId
final CommitRetrieveResponse.Builder projectId(String projectId)
The project id.
-
projectId
final CommitRetrieveResponse.Builder projectId(JsonField<String> projectId)
Sets Builder.projectId to an arbitrary JSON value.
You should usually call Builder.projectId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final CommitRetrieveResponse.Builder status(CommitRetrieveResponse.Status status)
The commit status. Initially, the commit is
queued, then, it switches torunning. Finally, it can bepaused,failed, orcompleted.
-
status
final CommitRetrieveResponse.Builder status(JsonField<CommitRetrieveResponse.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
statusMessage
final CommitRetrieveResponse.Builder statusMessage(String statusMessage)
The commit status message.
-
statusMessage
final CommitRetrieveResponse.Builder statusMessage(Optional<String> statusMessage)
Alias for calling Builder.statusMessage with
statusMessage.orElse(null).
-
statusMessage
final CommitRetrieveResponse.Builder statusMessage(JsonField<String> statusMessage)
Sets Builder.statusMessage to an arbitrary JSON value.
You should usually call Builder.statusMessage with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
storageUri
final CommitRetrieveResponse.Builder storageUri(String storageUri)
The storage URI where the commit bundle is stored.
-
storageUri
final CommitRetrieveResponse.Builder storageUri(JsonField<String> storageUri)
Sets Builder.storageUri to an arbitrary JSON value.
You should usually call Builder.storageUri with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
totalGoalCount
final CommitRetrieveResponse.Builder totalGoalCount(Long totalGoalCount)
The total number of tests for the commit.
-
totalGoalCount
final CommitRetrieveResponse.Builder totalGoalCount(JsonField<Long> totalGoalCount)
Sets Builder.totalGoalCount to an arbitrary JSON value.
You should usually call Builder.totalGoalCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
trainingDatasetId
final CommitRetrieveResponse.Builder trainingDatasetId(String trainingDatasetId)
The training dataset id.
-
trainingDatasetId
final CommitRetrieveResponse.Builder trainingDatasetId(Optional<String> trainingDatasetId)
Alias for calling Builder.trainingDatasetId with
trainingDatasetId.orElse(null).
-
trainingDatasetId
final CommitRetrieveResponse.Builder trainingDatasetId(JsonField<String> trainingDatasetId)
Sets Builder.trainingDatasetId to an arbitrary JSON value.
You should usually call Builder.trainingDatasetId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
validationDatasetId
final CommitRetrieveResponse.Builder validationDatasetId(String validationDatasetId)
The validation dataset id.
-
validationDatasetId
final CommitRetrieveResponse.Builder validationDatasetId(Optional<String> validationDatasetId)
Alias for calling Builder.validationDatasetId with
validationDatasetId.orElse(null).
-
validationDatasetId
final CommitRetrieveResponse.Builder validationDatasetId(JsonField<String> validationDatasetId)
Sets Builder.validationDatasetId to an arbitrary JSON value.
You should usually call Builder.validationDatasetId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
archived
final CommitRetrieveResponse.Builder archived(Boolean archived)
Whether the commit is archived.
-
archived
final CommitRetrieveResponse.Builder archived(Boolean archived)
Alias for Builder.archived.
This unboxed primitive overload exists for backwards compatibility.
-
archived
final CommitRetrieveResponse.Builder archived(Optional<Boolean> archived)
Alias for calling Builder.archived with
archived.orElse(null).
-
archived
final CommitRetrieveResponse.Builder archived(JsonField<Boolean> archived)
Sets Builder.archived to an arbitrary JSON value.
You should usually call Builder.archived with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
deploymentStatus
final CommitRetrieveResponse.Builder deploymentStatus(String deploymentStatus)
The deployment status associated with the commit's model.
-
deploymentStatus
final CommitRetrieveResponse.Builder deploymentStatus(JsonField<String> deploymentStatus)
Sets Builder.deploymentStatus to an arbitrary JSON value.
You should usually call Builder.deploymentStatus with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
links
final CommitRetrieveResponse.Builder links(CommitRetrieveResponse.Links links)
-
links
final CommitRetrieveResponse.Builder links(JsonField<CommitRetrieveResponse.Links> links)
Sets Builder.links to an arbitrary JSON value.
You should usually call Builder.links with a well-typed Links value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final CommitRetrieveResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CommitRetrieveResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CommitRetrieveResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CommitRetrieveResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CommitRetrieveResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CommitRetrieveResponse build()
Returns an immutable instance of CommitRetrieveResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .commit() .dateArchived() .dateCreated() .failingGoalCount() .mlModelId() .passingGoalCount() .projectId() .status() .statusMessage() .storageUri() .totalGoalCount() .trainingDatasetId() .validationDatasetId()
-
-
-
-