Class ParticipantName (4.7.3)

public class ParticipantName implements ResourceName

Inheritance

Object > ParticipantName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String conversation, String participant)

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

formatProjectConversationParticipantName(String project, String conversation, String participant)

public static String formatProjectConversationParticipantName(String project, String conversation, String participant)
Parameters
NameDescription
projectString
conversationString
participantString
Returns
TypeDescription
String

formatProjectLocationConversationParticipantName(String project, String location, String conversation, String participant)

public static String formatProjectLocationConversationParticipantName(String project, String location, String conversation, String participant)
Parameters
NameDescription
projectString
locationString
conversationString
participantString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newProjectConversationParticipantBuilder()

public static ParticipantName.Builder newProjectConversationParticipantBuilder()
Returns
TypeDescription
ParticipantName.Builder

newProjectLocationConversationParticipantBuilder()

public static ParticipantName.ProjectLocationConversationParticipantBuilder newProjectLocationConversationParticipantBuilder()
Returns
TypeDescription
ParticipantName.ProjectLocationConversationParticipantBuilder

of(String project, String conversation, String participant)

public static ParticipantName of(String project, String conversation, String participant)
Parameters
NameDescription
projectString
conversationString
participantString
Returns
TypeDescription
ParticipantName

ofProjectConversationParticipantName(String project, String conversation, String participant)

public static ParticipantName ofProjectConversationParticipantName(String project, String conversation, String participant)
Parameters
NameDescription
projectString
conversationString
participantString
Returns
TypeDescription
ParticipantName

ofProjectLocationConversationParticipantName(String project, String location, String conversation, String participant)

public static ParticipantName ofProjectLocationConversationParticipantName(String project, String location, String conversation, String participant)
Parameters
NameDescription
projectString
locationString
conversationString
participantString
Returns
TypeDescription
ParticipantName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ParticipantName> values)

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

Constructors

ParticipantName()

protected ParticipantName()

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

getParticipant()

public String getParticipant()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides