@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}.
|
| 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 static ServingConfigName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static ServingConfigName.Builder newProjectLocationDataStoreServingConfigBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static ServingConfigName.ProjectLocationCollectionDataStoreServingConfigBuilder newProjectLocationCollectionDataStoreServingConfigBuilder()
public ServingConfigName.Builder toBuilder()
public static ServingConfigName of(String project, String location, String dataStore, String servingConfig)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static ServingConfigName ofProjectLocationDataStoreServingConfigName(String project, String location, String dataStore, String servingConfig)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static ServingConfigName ofProjectLocationCollectionDataStoreServingConfigName(String project, String location, String collection, String dataStore, String servingConfig)
public static String format(String project, String location, String dataStore, String servingConfig)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationDataStoreServingConfigName(String project, String location, String dataStore, String servingConfig)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationCollectionDataStoreServingConfigName(String project, String location, String collection, String dataStore, 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.