@Generated(value="by gapic-generator-java") public class MessageName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageName.Builder
Builder for projects/{project}/conversations/{conversation}/messages/{message}.
|
static class |
MessageName.ProjectLocationConversationMessageBuilder
Builder for
projects/{project}/locations/{location}/conversations/{conversation}/messages/{message}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
MessageName()
Deprecated.
|
@Deprecated protected MessageName()
public String getProject()
public String getConversation()
public String getMessage()
public String getLocation()
public static MessageName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static MessageName.Builder newProjectConversationMessageBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static MessageName.ProjectLocationConversationMessageBuilder newProjectLocationConversationMessageBuilder()
public MessageName.Builder toBuilder()
public static MessageName of(String project, String conversation, String message)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static MessageName ofProjectConversationMessageName(String project, String conversation, String message)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static MessageName ofProjectLocationConversationMessageName(String project, String location, String conversation, String message)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectConversationMessageName(String project, String conversation, String message)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationConversationMessageName(String project, String location, String conversation, String message)
public static MessageName parse(String formattedString)
public static List<MessageName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<MessageName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2023 Google LLC. All rights reserved.