Class ConversationModelName (4.5.11)

public class ConversationModelName implements ResourceName

Inheritance

Object > ConversationModelName

Implements

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
NameDescription
projectString
locationString
conversationModelString
Returns
TypeDescription
String

formatProjectConversationModelName(String project, String conversationModel)

public static String formatProjectConversationModelName(String project, String conversationModel)
Parameters
NameDescription
projectString
conversationModelString
Returns
TypeDescription
String

formatProjectLocationConversationModelName(String project, String location, String conversationModel)

public static String formatProjectLocationConversationModelName(String project, String location, String conversationModel)
Parameters
NameDescription
projectString
locationString
conversationModelString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newProjectConversationModelBuilder()

public static ConversationModelName.ProjectConversationModelBuilder newProjectConversationModelBuilder()
Returns
TypeDescription
ConversationModelName.ProjectConversationModelBuilder

newProjectLocationConversationModelBuilder()

public static ConversationModelName.Builder newProjectLocationConversationModelBuilder()
Returns
TypeDescription
ConversationModelName.Builder

of(String project, String location, String conversationModel)

public static ConversationModelName of(String project, String location, String conversationModel)
Parameters
NameDescription
projectString
locationString
conversationModelString
Returns
TypeDescription
ConversationModelName

ofProjectConversationModelName(String project, String conversationModel)

public static ConversationModelName ofProjectConversationModelName(String project, String conversationModel)
Parameters
NameDescription
projectString
conversationModelString
Returns
TypeDescription
ConversationModelName

ofProjectLocationConversationModelName(String project, String location, String conversationModel)

public static ConversationModelName ofProjectLocationConversationModelName(String project, String location, String conversationModel)
Parameters
NameDescription
projectString
locationString
conversationModelString
Returns
TypeDescription
ConversationModelName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ConversationModelName> values)

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

Constructors

ConversationModelName()

protected ConversationModelName()

Methods

equals(Object o)

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

getConversationModel()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides