Class ConversationName (4.6.0)

public class ConversationName implements ResourceName

Inheritance

Object > ConversationName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String conversation)

public static String format(String project, String conversation)
Parameters
NameDescription
projectString
conversationString
Returns
TypeDescription
String

formatProjectConversationName(String project, String conversation)

public static String formatProjectConversationName(String project, String conversation)
Parameters
NameDescription
projectString
conversationString
Returns
TypeDescription
String

formatProjectLocationConversationName(String project, String location, String conversation)

public static String formatProjectLocationConversationName(String project, String location, String conversation)
Parameters
NameDescription
projectString
locationString
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

newProjectConversationBuilder()

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

newProjectLocationConversationBuilder()

public static ConversationName.ProjectLocationConversationBuilder newProjectLocationConversationBuilder()
Returns
TypeDescription
ConversationName.ProjectLocationConversationBuilder

of(String project, String conversation)

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

ofProjectConversationName(String project, String conversation)

public static ConversationName ofProjectConversationName(String project, String conversation)
Parameters
NameDescription
projectString
conversationString
Returns
TypeDescription
ConversationName

ofProjectLocationConversationName(String project, String location, String conversation)

public static ConversationName ofProjectLocationConversationName(String project, String location, String conversation)
Parameters
NameDescription
projectString
locationString
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()

protected ConversationName()

Methods

equals(Object o)

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

getConversation()

public String getConversation()
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