@Generated(value="by gapic-generator-java") public class AnswerName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
AnswerName.Builder
Builder for
projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}.
|
static class |
AnswerName.ProjectLocationCollectionDataStoreSessionAnswerBuilder
Builder for
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}.
|
static class |
AnswerName.ProjectLocationCollectionEngineSessionAnswerBuilder
Builder for
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AnswerName()
Deprecated.
|
@Deprecated protected AnswerName()
public String getProject()
public String getLocation()
public String getDataStore()
public String getSession()
public String getAnswer()
public String getCollection()
public String getEngine()
public static AnswerName.Builder newBuilder()
public static AnswerName.Builder newProjectLocationDataStoreSessionAnswerBuilder()
public static AnswerName.ProjectLocationCollectionDataStoreSessionAnswerBuilder newProjectLocationCollectionDataStoreSessionAnswerBuilder()
public static AnswerName.ProjectLocationCollectionEngineSessionAnswerBuilder newProjectLocationCollectionEngineSessionAnswerBuilder()
public AnswerName.Builder toBuilder()
public static AnswerName of(String project, String location, String dataStore, String session, String answer)
public static AnswerName ofProjectLocationDataStoreSessionAnswerName(String project, String location, String dataStore, String session, String answer)
public static AnswerName ofProjectLocationCollectionDataStoreSessionAnswerName(String project, String location, String collection, String dataStore, String session, String answer)
public static AnswerName ofProjectLocationCollectionEngineSessionAnswerName(String project, String location, String collection, String engine, String session, String answer)
public static String format(String project, String location, String dataStore, String session, String answer)
public static String formatProjectLocationDataStoreSessionAnswerName(String project, String location, String dataStore, String session, String answer)
public static String formatProjectLocationCollectionDataStoreSessionAnswerName(String project, String location, String collection, String dataStore, String session, String answer)
public static String formatProjectLocationCollectionEngineSessionAnswerName(String project, String location, String collection, String engine, String session, String answer)
public static AnswerName parse(String formattedString)
public static List<AnswerName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<AnswerName> 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.