Package com.google.cloud.dialogflow.v2
Class DocumentName.Builder
- java.lang.Object
-
- com.google.cloud.dialogflow.v2.DocumentName.Builder
-
- Enclosing class:
- DocumentName
public static class DocumentName.Builder extends Object
Builder for projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentName
build()
String
getDocument()
String
getKnowledgeBase()
String
getProject()
DocumentName.Builder
setDocument(String document)
DocumentName.Builder
setKnowledgeBase(String knowledgeBase)
DocumentName.Builder
setProject(String project)
-
-
-
Method Detail
-
getProject
public String getProject()
-
getKnowledgeBase
public String getKnowledgeBase()
-
getDocument
public String getDocument()
-
setProject
public DocumentName.Builder setProject(String project)
-
setKnowledgeBase
public DocumentName.Builder setKnowledgeBase(String knowledgeBase)
-
setDocument
public DocumentName.Builder setDocument(String document)
-
build
public DocumentName build()
-
-