Builder

public abstract class Builder

Builder for Document.

Constructors

Link copied to clipboard
public void Document.Builder()

Functions

Link copied to clipboard
public abstract Document build()
Link copied to clipboard
@CanIgnoreReturnValue()
public Document.Builder clearCreateTime()
Clears the value of createTime field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Document.Builder clearCustomMetadata()
Clears the value of customMetadata field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Document.Builder clearDisplayName()
Clears the value of displayName field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Document.Builder clearMimeType()
Clears the value of mimeType field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Document.Builder clearName()
Clears the value of name field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Document.Builder clearSizeBytes()
Clears the value of sizeBytes field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Document.Builder clearState()
Clears the value of state field.
Link copied to clipboard
@CanIgnoreReturnValue()
public Document.Builder clearUpdateTime()
Clears the value of updateTime field.
Link copied to clipboard
public abstract Document.Builder createTime(Instant createTime)
Setter for createTime.
Link copied to clipboard
@CanIgnoreReturnValue()
public Document.Builder customMetadata(Array<CustomMetadata> customMetadata)
public abstract Document.Builder customMetadata(List<CustomMetadata> customMetadata)
Setter for customMetadata.
@CanIgnoreReturnValue()
public Document.Builder customMetadata(Array<CustomMetadata.Builder> customMetadataBuilders)
Setter for customMetadata builder.
Link copied to clipboard
public abstract Document.Builder displayName(String displayName)
Setter for displayName.
Link copied to clipboard
public abstract Document.Builder mimeType(String mimeType)
Setter for mimeType.
Link copied to clipboard
public abstract Document.Builder name(String name)
Setter for name.
Link copied to clipboard
public abstract Document.Builder sizeBytes(Long sizeBytes)
Setter for sizeBytes.
Link copied to clipboard
public abstract Document.Builder state(DocumentState state)
Setter for state.
@CanIgnoreReturnValue()
public Document.Builder state(DocumentState.Known knownType)
Setter for state given a known enum.
@CanIgnoreReturnValue()
public Document.Builder state(String state)
Setter for state given a string.
Link copied to clipboard
public abstract Document.Builder updateTime(Instant updateTime)
Setter for updateTime.