Class ConversationName (0.33.0)

public class ConversationName implements ResourceName

Inheritance

Object > ConversationName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String dataStore, String conversation)

public static String format(String project, String location, String dataStore, String conversation)
Parameters
NameDescription
projectString
locationString
dataStoreString
conversationString
Returns
TypeDescription
String

formatProjectLocationCollectionDataStoreConversationName(String project, String location, String collection, String dataStore, String conversation)

public static String formatProjectLocationCollectionDataStoreConversationName(String project, String location, String collection, String dataStore, String conversation)
Parameters
NameDescription
projectString
locationString
collectionString
dataStoreString
conversationString
Returns
TypeDescription
String

formatProjectLocationCollectionEngineConversationName(String project, String location, String collection, String engine, String conversation)

public static String formatProjectLocationCollectionEngineConversationName(String project, String location, String collection, String engine, String conversation)
Parameters
NameDescription
projectString
locationString
collectionString
engineString
conversationString
Returns
TypeDescription
String

formatProjectLocationDataStoreConversationName(String project, String location, String dataStore, String conversation)

public static String formatProjectLocationDataStoreConversationName(String project, String location, String dataStore, String conversation)
Parameters
NameDescription
projectString
locationString
dataStoreString
conversationString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static ConversationName.Builder newBuilder()
Returns
TypeDescription
ConversationName.Builder

newProjectLocationCollectionDataStoreConversationBuilder()

public static ConversationName.ProjectLocationCollectionDataStoreConversationBuilder newProjectLocationCollectionDataStoreConversationBuilder()
Returns
TypeDescription
ConversationName.ProjectLocationCollectionDataStoreConversationBuilder

newProjectLocationCollectionEngineConversationBuilder()

public static ConversationName.ProjectLocationCollectionEngineConversationBuilder newProjectLocationCollectionEngineConversationBuilder()
Returns
TypeDescription
ConversationName.ProjectLocationCollectionEngineConversationBuilder

newProjectLocationDataStoreConversationBuilder()

public static ConversationName.Builder newProjectLocationDataStoreConversationBuilder()
Returns
TypeDescription
ConversationName.Builder

of(String project, String location, String dataStore, String conversation)

public static ConversationName of(String project, String location, String dataStore, String conversation)
Parameters
NameDescription
projectString
locationString
dataStoreString
conversationString
Returns
TypeDescription
ConversationName

ofProjectLocationCollectionDataStoreConversationName(String project, String location, String collection, String dataStore, String conversation)

public static ConversationName ofProjectLocationCollectionDataStoreConversationName(String project, String location, String collection, String dataStore, String conversation)
Parameters
NameDescription
projectString
locationString
collectionString
dataStoreString
conversationString
Returns
TypeDescription
ConversationName

ofProjectLocationCollectionEngineConversationName(String project, String location, String collection, String engine, String conversation)

public static ConversationName ofProjectLocationCollectionEngineConversationName(String project, String location, String collection, String engine, String conversation)
Parameters
NameDescription
projectString
locationString
collectionString
engineString
conversationString
Returns
TypeDescription
ConversationName

ofProjectLocationDataStoreConversationName(String project, String location, String dataStore, String conversation)

public static ConversationName ofProjectLocationDataStoreConversationName(String project, String location, String dataStore, String conversation)
Parameters
NameDescription
projectString
locationString
dataStoreString
conversationString
Returns
TypeDescription
ConversationName

parse(String formattedString)

public static ConversationName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
ConversationName

parseList(List<String> formattedStrings)

public static List<ConversationName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<ConversationName>

toStringList(List<ConversationName> values)

public static List<String> toStringList(List<ConversationName> values)
Parameter
NameDescription
valuesList<ConversationName>
Returns
TypeDescription
List<String>

Constructors

ConversationName() (deprecated)

protected ConversationName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getCollection()

public String getCollection()
Returns
TypeDescription
String

getConversation()

public String getConversation()
Returns
TypeDescription
String

getDataStore()

public String getDataStore()
Returns
TypeDescription
String

getEngine()

public String getEngine()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public ConversationName.Builder toBuilder()
Returns
TypeDescription
ConversationName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides