Class ServingConfigName (0.51.0)

public class ServingConfigName implements ResourceName

Inheritance

Object > ServingConfigName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String dataStore, String servingConfig)

public static String format(String project, String location, String dataStore, String servingConfig)
Parameters
Name Description
project String
location String
dataStore String
servingConfig String
Returns
Type Description
String

formatProjectLocationCollectionDataStoreServingConfigName(String project, String location, String collection, String dataStore, String servingConfig)

public static String formatProjectLocationCollectionDataStoreServingConfigName(String project, String location, String collection, String dataStore, String servingConfig)
Parameters
Name Description
project String
location String
collection String
dataStore String
servingConfig String
Returns
Type Description
String

formatProjectLocationCollectionEngineServingConfigName(String project, String location, String collection, String engine, String servingConfig)

public static String formatProjectLocationCollectionEngineServingConfigName(String project, String location, String collection, String engine, String servingConfig)
Parameters
Name Description
project String
location String
collection String
engine String
servingConfig String
Returns
Type Description
String

formatProjectLocationDataStoreServingConfigName(String project, String location, String dataStore, String servingConfig)

public static String formatProjectLocationDataStoreServingConfigName(String project, String location, String dataStore, String servingConfig)
Parameters
Name Description
project String
location String
dataStore String
servingConfig String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static ServingConfigName.Builder newBuilder()
Returns
Type Description
ServingConfigName.Builder

newProjectLocationCollectionDataStoreServingConfigBuilder()

public static ServingConfigName.ProjectLocationCollectionDataStoreServingConfigBuilder newProjectLocationCollectionDataStoreServingConfigBuilder()
Returns
Type Description
ServingConfigName.ProjectLocationCollectionDataStoreServingConfigBuilder

newProjectLocationCollectionEngineServingConfigBuilder()

public static ServingConfigName.ProjectLocationCollectionEngineServingConfigBuilder newProjectLocationCollectionEngineServingConfigBuilder()
Returns
Type Description
ServingConfigName.ProjectLocationCollectionEngineServingConfigBuilder

newProjectLocationDataStoreServingConfigBuilder()

public static ServingConfigName.Builder newProjectLocationDataStoreServingConfigBuilder()
Returns
Type Description
ServingConfigName.Builder

of(String project, String location, String dataStore, String servingConfig)

public static ServingConfigName of(String project, String location, String dataStore, String servingConfig)
Parameters
Name Description
project String
location String
dataStore String
servingConfig String
Returns
Type Description
ServingConfigName

ofProjectLocationCollectionDataStoreServingConfigName(String project, String location, String collection, String dataStore, String servingConfig)

public static ServingConfigName ofProjectLocationCollectionDataStoreServingConfigName(String project, String location, String collection, String dataStore, String servingConfig)
Parameters
Name Description
project String
location String
collection String
dataStore String
servingConfig String
Returns
Type Description
ServingConfigName

ofProjectLocationCollectionEngineServingConfigName(String project, String location, String collection, String engine, String servingConfig)

public static ServingConfigName ofProjectLocationCollectionEngineServingConfigName(String project, String location, String collection, String engine, String servingConfig)
Parameters
Name Description
project String
location String
collection String
engine String
servingConfig String
Returns
Type Description
ServingConfigName

ofProjectLocationDataStoreServingConfigName(String project, String location, String dataStore, String servingConfig)

public static ServingConfigName ofProjectLocationDataStoreServingConfigName(String project, String location, String dataStore, String servingConfig)
Parameters
Name Description
project String
location String
dataStore String
servingConfig String
Returns
Type Description
ServingConfigName

parse(String formattedString)

public static ServingConfigName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
ServingConfigName

parseList(List<String> formattedStrings)

public static List<ServingConfigName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<ServingConfigName>

toStringList(List<ServingConfigName> values)

public static List<String> toStringList(List<ServingConfigName> values)
Parameter
Name Description
values List<ServingConfigName>
Returns
Type Description
List<String>

Constructors

ServingConfigName() (deprecated)

protected ServingConfigName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getCollection()

public String getCollection()
Returns
Type Description
String

getDataStore()

public String getDataStore()
Returns
Type Description
String

getEngine()

public String getEngine()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getServingConfig()

public String getServingConfig()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public ServingConfigName.Builder toBuilder()
Returns
Type Description
ServingConfigName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides