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