Class DocumentName
- java.lang.Object
-
- com.google.cloud.dialogflow.v2beta1.DocumentName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class DocumentName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DocumentName.Builder
Builder for projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.static class
DocumentName.ProjectLocationKnowledgeBaseDocumentBuilder
Builder for projects/{project}/locations/{location}/knowledgeBases/{knowledge_base}/documents/{document}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DocumentName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
DocumentName
@Deprecated protected DocumentName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getKnowledgeBase
public String getKnowledgeBase()
-
getDocument
public String getDocument()
-
getLocation
public String getLocation()
-
newBuilder
public static DocumentName.Builder newBuilder()
-
newProjectKnowledgeBaseDocumentBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static DocumentName.Builder newProjectKnowledgeBaseDocumentBuilder()
-
newProjectLocationKnowledgeBaseDocumentBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static DocumentName.ProjectLocationKnowledgeBaseDocumentBuilder newProjectLocationKnowledgeBaseDocumentBuilder()
-
toBuilder
public DocumentName.Builder toBuilder()
-
of
public static DocumentName of(String project, String knowledgeBase, String document)
-
ofProjectKnowledgeBaseDocumentName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static DocumentName ofProjectKnowledgeBaseDocumentName(String project, String knowledgeBase, String document)
-
ofProjectLocationKnowledgeBaseDocumentName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static DocumentName ofProjectLocationKnowledgeBaseDocumentName(String project, String location, String knowledgeBase, String document)
-
formatProjectKnowledgeBaseDocumentName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectKnowledgeBaseDocumentName(String project, String knowledgeBase, String document)
-
formatProjectLocationKnowledgeBaseDocumentName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationKnowledgeBaseDocumentName(String project, String location, String knowledgeBase, String document)
-
parse
public static DocumentName parse(String formattedString)
-
parseList
public static List<DocumentName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<DocumentName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-