Class ConversationName (4.39.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
Name Description
project String
conversation String
Returns
Type Description
String

formatProjectConversationName(String project, String conversation)

public static String formatProjectConversationName(String project, String conversation)
Parameters
Name Description
project String
conversation String
Returns
Type Description
String

formatProjectLocationConversationName(String project, String location, String conversation)

public static String formatProjectLocationConversationName(String project, String location, String conversation)
Parameters
Name Description
project String
location 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

newProjectConversationBuilder()

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

newProjectLocationConversationBuilder()

public static ConversationName.ProjectLocationConversationBuilder newProjectLocationConversationBuilder()
Returns
Type Description
ConversationName.ProjectLocationConversationBuilder

of(String project, String conversation)

public static ConversationName of(String project, String conversation)
Parameters
Name Description
project String
conversation String
Returns
Type Description
ConversationName

ofProjectConversationName(String project, String conversation)

public static ConversationName ofProjectConversationName(String project, String conversation)
Parameters
Name Description
project String
conversation String
Returns
Type Description
ConversationName

ofProjectLocationConversationName(String project, String location, String conversation)

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

getConversation()

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