Class ConversationModelName (4.21.0)

See more code actions.
public class ConversationModelName implements ResourceName
Object > ConversationModelName
com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String conversationModel)

public static String format(String project, String location, String conversationModel)
Parameters
Name Description
project String
location String
conversationModel String
Returns
Type Description
String

formatProjectConversationModelName(String project, String conversationModel)

public static String formatProjectConversationModelName(String project, String conversationModel)
Parameters
Name Description
project String
conversationModel String
Returns
Type Description
String

formatProjectLocationConversationModelName(String project, String location, String conversationModel)

public static String formatProjectLocationConversationModelName(String project, String location, String conversationModel)
Parameters
Name Description
project String
location String
conversationModel 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 ConversationModelName.Builder newBuilder()
Returns
Type Description
ConversationModelName.Builder

newProjectConversationModelBuilder()

public static ConversationModelName.ProjectConversationModelBuilder newProjectConversationModelBuilder()

newProjectLocationConversationModelBuilder()

public static ConversationModelName.Builder newProjectLocationConversationModelBuilder()
Returns
Type Description
ConversationModelName.Builder

of(String project, String location, String conversationModel)

public static ConversationModelName of(String project, String location, String conversationModel)
Parameters
Name Description
project String
location String
conversationModel String
Returns
Type Description
ConversationModelName

ofProjectConversationModelName(String project, String conversationModel)

public static ConversationModelName ofProjectConversationModelName(String project, String conversationModel)
Parameters
Name Description
project String
conversationModel String
Returns
Type Description
ConversationModelName

ofProjectLocationConversationModelName(String project, String location, String conversationModel)

public static ConversationModelName ofProjectLocationConversationModelName(String project, String location, String conversationModel)
Parameters
Name Description
project String
location String
conversationModel String
Returns
Type Description
ConversationModelName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ConversationModelName> values)

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

Constructors

ConversationModelName()

protected ConversationModelName()

Methods

equals(Object o)

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

getConversationModel()

public String getConversationModel()
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 ConversationModelName.Builder toBuilder()
Returns
Type Description
ConversationModelName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides