Class DocumentName.Builder (4.5.11)

public static class DocumentName.Builder

Builder for projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.

Inheritance

java.lang.Object > DocumentName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public DocumentName build()
Returns
TypeDescription
DocumentName

getDocument()

public String getDocument()
Returns
TypeDescription
String

getKnowledgeBase()

public String getKnowledgeBase()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setDocument(String document)

public DocumentName.Builder setDocument(String document)
Parameter
NameDescription
documentString
Returns
TypeDescription
DocumentName.Builder

setKnowledgeBase(String knowledgeBase)

public DocumentName.Builder setKnowledgeBase(String knowledgeBase)
Parameter
NameDescription
knowledgeBaseString
Returns
TypeDescription
DocumentName.Builder

setProject(String project)

public DocumentName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
DocumentName.Builder