@Generated(value="by gapic-generator-java") public class ConversationName extends Object implements ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
ConversationName.Builder
Builder for projects/{project}/conversations/{conversation}.
|
static class |
ConversationName.ProjectLocationConversationBuilder
Builder for projects/{project}/locations/{location}/conversations/{conversation}.
|
Modifier | Constructor and Description |
---|---|
protected |
ConversationName()
Deprecated.
|
@Deprecated protected ConversationName()
public String getProject()
public String getConversation()
public String getLocation()
public static ConversationName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static ConversationName.Builder newProjectConversationBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static ConversationName.ProjectLocationConversationBuilder newProjectLocationConversationBuilder()
public ConversationName.Builder toBuilder()
public static ConversationName of(String project, String conversation)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static ConversationName ofProjectConversationName(String project, String conversation)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static ConversationName ofProjectLocationConversationName(String project, String location, String conversation)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectConversationName(String project, String conversation)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationConversationName(String project, String location, String conversation)
public static ConversationName parse(String formattedString)
public static List<ConversationName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<ConversationName> 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.