@Generated(value="by gapic-generator-java") public class ParticipantName extends Object implements ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
ParticipantName.Builder
Builder for projects/{project}/conversations/{conversation}/participants/{participant}.
|
static class |
ParticipantName.ProjectLocationConversationParticipantBuilder
Builder for
projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}.
|
Modifier | Constructor and Description |
---|---|
protected |
ParticipantName()
Deprecated.
|
@Deprecated protected ParticipantName()
public String getProject()
public String getConversation()
public String getParticipant()
public String getLocation()
public static ParticipantName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static ParticipantName.Builder newProjectConversationParticipantBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static ParticipantName.ProjectLocationConversationParticipantBuilder newProjectLocationConversationParticipantBuilder()
public ParticipantName.Builder toBuilder()
public static ParticipantName of(String project, String conversation, String participant)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static ParticipantName ofProjectConversationParticipantName(String project, String conversation, String participant)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static ParticipantName ofProjectLocationConversationParticipantName(String project, String location, String conversation, String participant)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectConversationParticipantName(String project, String conversation, String participant)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationConversationParticipantName(String project, String location, String conversation, String participant)
public static ParticipantName parse(String formattedString)
public static List<ParticipantName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<ParticipantName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface ResourceName
Copyright © 2022 Google LLC. All rights reserved.