Package com.google.cloud.dialogflow.v2
Class DocumentName
java.lang.Object
com.google.cloud.dialogflow.v2.DocumentName
- All Implemented Interfaces:
ResourceName
@Generated("by gapic-generator-java")
public class DocumentName
extends Object
implements ResourceName
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.static classBuilder for projects/{project}/locations/{location}/knowledgeBases/{knowledge_base}/documents/{document}. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Stringstatic StringformatProjectKnowledgeBaseDocumentName(String project, String knowledgeBase, String document) static StringformatProjectLocationKnowledgeBaseDocumentName(String project, String location, String knowledgeBase, String document) getFieldValue(String fieldName) inthashCode()static booleanisParsableFrom(String formattedString) static DocumentName.Builderstatic DocumentName.Builderstatic DocumentNamestatic DocumentNameofProjectKnowledgeBaseDocumentName(String project, String knowledgeBase, String document) static DocumentNameofProjectLocationKnowledgeBaseDocumentName(String project, String location, String knowledgeBase, String document) static DocumentNamestatic List<DocumentName>toString()toStringList(List<DocumentName> values)
-
Constructor Details
-
DocumentName
Deprecated.
-
-
Method Details
-
getProject
-
getKnowledgeBase
-
getDocument
-
getLocation
-
newBuilder
-
newProjectKnowledgeBaseDocumentBuilder
-
newProjectLocationKnowledgeBaseDocumentBuilder
public static DocumentName.ProjectLocationKnowledgeBaseDocumentBuilder newProjectLocationKnowledgeBaseDocumentBuilder() -
toBuilder
-
of
-
ofProjectKnowledgeBaseDocumentName
public static DocumentName ofProjectKnowledgeBaseDocumentName(String project, String knowledgeBase, String document) -
ofProjectLocationKnowledgeBaseDocumentName
public static DocumentName ofProjectLocationKnowledgeBaseDocumentName(String project, String location, String knowledgeBase, String document) -
format
-
formatProjectKnowledgeBaseDocumentName
-
formatProjectLocationKnowledgeBaseDocumentName
-
parse
-
parseList
-
toStringList
-
isParsableFrom
-
getFieldValuesMap
- Specified by:
getFieldValuesMapin interfaceResourceName
-
getFieldValue
- Specified by:
getFieldValuein interfaceResourceName
-
toString
-
equals
-
hashCode
public int hashCode()
-