Class ServingConfigName
- java.lang.Object
-
- com.google.cloud.discoveryengine.v1beta.ServingConfigName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class ServingConfigName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ServingConfigName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
ServingConfigName
@Deprecated protected ServingConfigName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getDataStore
public String getDataStore()
-
getServingConfig
public String getServingConfig()
-
getCollection
public String getCollection()
-
newBuilder
public static ServingConfigName.Builder newBuilder()
-
newProjectLocationDataStoreServingConfigBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static ServingConfigName.Builder newProjectLocationDataStoreServingConfigBuilder()
-
newProjectLocationCollectionDataStoreServingConfigBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static ServingConfigName.ProjectLocationCollectionDataStoreServingConfigBuilder newProjectLocationCollectionDataStoreServingConfigBuilder()
-
toBuilder
public ServingConfigName.Builder toBuilder()
-
of
public static ServingConfigName of(String project, String location, String dataStore, String servingConfig)
-
ofProjectLocationDataStoreServingConfigName
@BetaApi("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)
-
ofProjectLocationCollectionDataStoreServingConfigName
@BetaApi("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)
-
format
public static String format(String project, String location, String dataStore, String servingConfig)
-
formatProjectLocationDataStoreServingConfigName
@BetaApi("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)
-
formatProjectLocationCollectionDataStoreServingConfigName
@BetaApi("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)
-
parse
public static ServingConfigName parse(String formattedString)
-
parseList
public static List<ServingConfigName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<ServingConfigName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-