Package com.google.cloud.dialogflow.v2
Class AnswerRecordName
- java.lang.Object
-
- com.google.cloud.dialogflow.v2.AnswerRecordName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class AnswerRecordName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnswerRecordName.Builder
Builder for projects/{project}/answerRecords/{answer_record}.static class
AnswerRecordName.ProjectLocationAnswerRecordBuilder
Builder for projects/{project}/locations/{location}/answerRecords/{answer_record}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AnswerRecordName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
AnswerRecordName
@Deprecated protected AnswerRecordName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getAnswerRecord
public String getAnswerRecord()
-
getLocation
public String getLocation()
-
newBuilder
public static AnswerRecordName.Builder newBuilder()
-
newProjectAnswerRecordBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static AnswerRecordName.Builder newProjectAnswerRecordBuilder()
-
newProjectLocationAnswerRecordBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static AnswerRecordName.ProjectLocationAnswerRecordBuilder newProjectLocationAnswerRecordBuilder()
-
toBuilder
public AnswerRecordName.Builder toBuilder()
-
of
public static AnswerRecordName of(String project, String answerRecord)
-
ofProjectAnswerRecordName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static AnswerRecordName ofProjectAnswerRecordName(String project, String answerRecord)
-
ofProjectLocationAnswerRecordName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static AnswerRecordName ofProjectLocationAnswerRecordName(String project, String location, String answerRecord)
-
formatProjectAnswerRecordName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectAnswerRecordName(String project, String answerRecord)
-
formatProjectLocationAnswerRecordName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationAnswerRecordName(String project, String location, String answerRecord)
-
parse
public static AnswerRecordName parse(String formattedString)
-
parseList
public static List<AnswerRecordName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<AnswerRecordName> 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
-
-