Class MessageName (4.3.1)

public class MessageName implements ResourceName

Inheritance

Object > MessageName

Implements

com.google.api.resourcenames.ResourceName

Constructors

MessageName()

protected MessageName()

Methods

equals(Object o)

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

format(String project, String conversation, String message)

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

formatProjectConversationMessageName(String project, String conversation, String message)

public static String formatProjectConversationMessageName(String project, String conversation, String message)
Parameters
NameDescription
projectString
conversationString
messageString
Returns
TypeDescription
String

formatProjectLocationConversationMessageName(String project, String location, String conversation, String message)

public static String formatProjectLocationConversationMessageName(String project, String location, String conversation, String message)
Parameters
NameDescription
projectString
locationString
conversationString
messageString
Returns
TypeDescription
String

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

getMessage()

public String getMessage()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

isParsableFrom(String formattedString)

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

newBuilder()

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

newProjectConversationMessageBuilder()

public static MessageName.Builder newProjectConversationMessageBuilder()
Returns
TypeDescription
MessageName.Builder

newProjectLocationConversationMessageBuilder()

public static MessageName.ProjectLocationConversationMessageBuilder newProjectLocationConversationMessageBuilder()
Returns
TypeDescription
MessageName.ProjectLocationConversationMessageBuilder

of(String project, String conversation, String message)

public static MessageName of(String project, String conversation, String message)
Parameters
NameDescription
projectString
conversationString
messageString
Returns
TypeDescription
MessageName

ofProjectConversationMessageName(String project, String conversation, String message)

public static MessageName ofProjectConversationMessageName(String project, String conversation, String message)
Parameters
NameDescription
projectString
conversationString
messageString
Returns
TypeDescription
MessageName

ofProjectLocationConversationMessageName(String project, String location, String conversation, String message)

public static MessageName ofProjectLocationConversationMessageName(String project, String location, String conversation, String message)
Parameters
NameDescription
projectString
locationString
conversationString
messageString
Returns
TypeDescription
MessageName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toBuilder()

public MessageName.Builder toBuilder()
Returns
TypeDescription
MessageName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides

toStringList(List<MessageName> values)

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