Class DatasetDescription

    • Method Detail

      • projectName

        public final String projectName()

        The name of the project that contains the dataset.

        Returns:
        The name of the project that contains the dataset.
      • datasetType

        public final String datasetType()

        The type of the dataset. The value train represents a training dataset or single dataset project. The value test represents a test dataset.

        Returns:
        The type of the dataset. The value train represents a training dataset or single dataset project. The value test represents a test dataset.
      • creationTimestamp

        public final Instant creationTimestamp()

        The Unix timestamp for the time and date that the dataset was created.

        Returns:
        The Unix timestamp for the time and date that the dataset was created.
      • lastUpdatedTimestamp

        public final Instant lastUpdatedTimestamp()

        The Unix timestamp for the date and time that the dataset was last updated.

        Returns:
        The Unix timestamp for the date and time that the dataset was last updated.
      • statusAsString

        public final String statusAsString()

        The status of the dataset.

        If the service returns an enum value that is not available in the current SDK version, status will return DatasetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of the dataset.
        See Also:
        DatasetStatus
      • statusMessage

        public final String statusMessage()

        The status message for the dataset.

        Returns:
        The status message for the dataset.
      • imageStats

        public final DatasetImageStats imageStats()

        Statistics about the images in a dataset.

        Returns:
        Statistics about the images in a dataset.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)