Class ConversationName (0.41.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
Name Description
project String
location String
dataStore String
conversation String
Returns
Type Description
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
Name Description
project String
location String
collection String
dataStore String
conversation String
Returns
Type Description
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
Name Description
project String
location String
collection String
engine String
conversation String
Returns
Type Description
String

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

public static String formatProjectLocationDataStoreConversationName(String project, String location, String dataStore, String conversation)
Parameters
Name Description
project String
location String
dataStore String
conversation String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static ConversationName.Builder newBuilder()
Returns
Type Description
ConversationName.Builder

newProjectLocationCollectionDataStoreConversationBuilder()

public static ConversationName.ProjectLocationCollectionDataStoreConversationBuilder newProjectLocationCollectionDataStoreConversationBuilder()
Returns
Type Description
ConversationName.ProjectLocationCollectionDataStoreConversationBuilder

newProjectLocationCollectionEngineConversationBuilder()

public static ConversationName.ProjectLocationCollectionEngineConversationBuilder newProjectLocationCollectionEngineConversationBuilder()
Returns
Type Description
ConversationName.ProjectLocationCollectionEngineConversationBuilder

newProjectLocationDataStoreConversationBuilder()

public static ConversationName.Builder newProjectLocationDataStoreConversationBuilder()
Returns
Type Description
ConversationName.Builder

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

public static ConversationName of(String project, String location, String dataStore, String conversation)
Parameters
Name Description
project String
location String
dataStore String
conversation String
Returns
Type Description
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
Name Description
project String
location String
collection String
dataStore String
conversation String
Returns
Type Description
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
Name Description
project String
location String
collection String
engine String
conversation String
Returns
Type Description
ConversationName

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

public static ConversationName ofProjectLocationDataStoreConversationName(String project, String location, String dataStore, String conversation)
Parameters
Name Description
project String
location String
dataStore String
conversation String
Returns
Type Description
ConversationName

parse(String formattedString)

public static ConversationName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
ConversationName

parseList(List<String> formattedStrings)

public static List<ConversationName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<ConversationName>

toStringList(List<ConversationName> values)

public static List<String> toStringList(List<ConversationName> values)
Parameter
Name Description
values List<ConversationName>
Returns
Type Description
List<String>

Constructors

ConversationName() (deprecated)

protected ConversationName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getCollection()

public String getCollection()
Returns
Type Description
String

getConversation()

public String getConversation()
Returns
Type Description
String

getDataStore()

public String getDataStore()
Returns
Type Description
String

getEngine()

public String getEngine()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public ConversationName.Builder toBuilder()
Returns
Type Description
ConversationName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides