Review.Builder

public abstract class Review.Builder


Builder for Review.

Summary

Public constructors

Public constructors

Builder

public Builder()

Public methods

build

public Review build()

Builds the Review.

Throws
java.lang.IllegalArgumentException

If rating is not between 1.0 and 5.0 (inclusive).

getOriginalText

public abstract @Nullable String getOriginalText()

getOriginalTextLanguageCode

public abstract @Nullable String getOriginalTextLanguageCode()

getPublishTime

public abstract @Nullable String getPublishTime()

getRelativePublishTimeDescription

public abstract @Nullable String getRelativePublishTimeDescription()

getText

public abstract @Nullable String getText()

getTextLanguageCode

public abstract @Nullable String getTextLanguageCode()

setOriginalText

public abstract Review.Builder setOriginalText(@Nullable String originalText)

setOriginalTextLanguageCode

public abstract Review.Builder setOriginalTextLanguageCode(@Nullable String originalTextLanguageCode)

setPublishTime

public abstract Review.Builder setPublishTime(@Nullable String publishTime)

setRelativePublishTimeDescription

public abstract Review.Builder setRelativePublishTimeDescription(
    @Nullable String relativePublishTimeDescription
)

setText

public abstract Review.Builder setText(@Nullable String text)

setTextLanguageCode

public abstract Review.Builder setTextLanguageCode(@Nullable String textLanguageCode)