Class ServingConfigName (0.28.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
NameDescription
projectString
locationString
dataStoreString
servingConfigString
Returns
TypeDescription
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
NameDescription
projectString
locationString
collectionString
dataStoreString
servingConfigString
Returns
TypeDescription
String

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

public static String formatProjectLocationDataStoreServingConfigName(String project, String location, String dataStore, String servingConfig)
Parameters
NameDescription
projectString
locationString
dataStoreString
servingConfigString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static ServingConfigName.Builder newBuilder()
Returns
TypeDescription
ServingConfigName.Builder

newProjectLocationCollectionDataStoreServingConfigBuilder()

public static ServingConfigName.ProjectLocationCollectionDataStoreServingConfigBuilder newProjectLocationCollectionDataStoreServingConfigBuilder()
Returns
TypeDescription
ServingConfigName.ProjectLocationCollectionDataStoreServingConfigBuilder

newProjectLocationDataStoreServingConfigBuilder()

public static ServingConfigName.Builder newProjectLocationDataStoreServingConfigBuilder()
Returns
TypeDescription
ServingConfigName.Builder

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

public static ServingConfigName of(String project, String location, String dataStore, String servingConfig)
Parameters
NameDescription
projectString
locationString
dataStoreString
servingConfigString
Returns
TypeDescription
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
NameDescription
projectString
locationString
collectionString
dataStoreString
servingConfigString
Returns
TypeDescription
ServingConfigName

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

public static ServingConfigName ofProjectLocationDataStoreServingConfigName(String project, String location, String dataStore, String servingConfig)
Parameters
NameDescription
projectString
locationString
dataStoreString
servingConfigString
Returns
TypeDescription
ServingConfigName

parse(String formattedString)

public static ServingConfigName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
ServingConfigName

parseList(List<String> formattedStrings)

public static List<ServingConfigName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<ServingConfigName>

toStringList(List<ServingConfigName> values)

public static List<String> toStringList(List<ServingConfigName> values)
Parameter
NameDescription
valuesList<ServingConfigName>
Returns
TypeDescription
List<String>

Constructors

ServingConfigName() (deprecated)

protected ServingConfigName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getCollection()

public String getCollection()
Returns
TypeDescription
String

getDataStore()

public String getDataStore()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getServingConfig()

public String getServingConfig()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public ServingConfigName.Builder toBuilder()
Returns
TypeDescription
ServingConfigName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides