@Generated(value="by gapic-generator-java") public class ConversationName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
ConversationName.Builder
Builder for
projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}.
|
static class |
ConversationName.ProjectLocationCollectionDataStoreConversationBuilder
Builder for
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ConversationName()
Deprecated.
|
@Deprecated protected ConversationName()
public String getProject()
public String getLocation()
public String getDataStore()
public String getConversation()
public String getCollection()
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 newProjectLocationDataStoreConversationBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static ConversationName.ProjectLocationCollectionDataStoreConversationBuilder newProjectLocationCollectionDataStoreConversationBuilder()
public ConversationName.Builder toBuilder()
public static ConversationName of(String project, String location, String dataStore, String conversation)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static ConversationName ofProjectLocationDataStoreConversationName(String project, String location, String dataStore, String conversation)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static ConversationName ofProjectLocationCollectionDataStoreConversationName(String project, String location, String collection, String dataStore, String conversation)
public static String format(String project, String location, String dataStore, String conversation)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationDataStoreConversationName(String project, String location, String dataStore, String conversation)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationCollectionDataStoreConversationName(String project, String location, String collection, String dataStore, 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 com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2024 Google LLC. All rights reserved.