@Generated(value="by gapic-generator-java") public class ServingConfigName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
ServingConfigName.Builder
Builder for
projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}.
|
static class |
ServingConfigName.ProjectLocationCollectionDataStoreServingConfigBuilder
Builder for
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}.
|
static class |
ServingConfigName.ProjectLocationCollectionEngineServingConfigBuilder
Builder for
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ServingConfigName()
Deprecated.
|
@Deprecated protected ServingConfigName()
public String getProject()
public String getLocation()
public String getDataStore()
public String getServingConfig()
public String getCollection()
public String getEngine()
public static ServingConfigName.Builder newBuilder()
public static ServingConfigName.Builder newProjectLocationDataStoreServingConfigBuilder()
public static ServingConfigName.ProjectLocationCollectionDataStoreServingConfigBuilder newProjectLocationCollectionDataStoreServingConfigBuilder()
public static ServingConfigName.ProjectLocationCollectionEngineServingConfigBuilder newProjectLocationCollectionEngineServingConfigBuilder()
public ServingConfigName.Builder toBuilder()
public static ServingConfigName of(String project, String location, String dataStore, String servingConfig)
public static ServingConfigName ofProjectLocationDataStoreServingConfigName(String project, String location, String dataStore, String servingConfig)
public static ServingConfigName ofProjectLocationCollectionDataStoreServingConfigName(String project, String location, String collection, String dataStore, String servingConfig)
public static ServingConfigName ofProjectLocationCollectionEngineServingConfigName(String project, String location, String collection, String engine, String servingConfig)
public static String format(String project, String location, String dataStore, String servingConfig)
public static String formatProjectLocationDataStoreServingConfigName(String project, String location, String dataStore, String servingConfig)
public static String formatProjectLocationCollectionDataStoreServingConfigName(String project, String location, String collection, String dataStore, String servingConfig)
public static String formatProjectLocationCollectionEngineServingConfigName(String project, String location, String collection, String engine, String servingConfig)
public static ServingConfigName parse(String formattedString)
public static List<ServingConfigName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<ServingConfigName> 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.