Class DataStoreName (0.25.0)

public class DataStoreName implements ResourceName

Inheritance

Object > DataStoreName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String dataStore)

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

formatProjectLocationCollectionDataStoreName(String project, String location, String collection, String dataStore)

public static String formatProjectLocationCollectionDataStoreName(String project, String location, String collection, String dataStore)
Parameters
NameDescription
projectString
locationString
collectionString
dataStoreString
Returns
TypeDescription
String

formatProjectLocationDataStoreName(String project, String location, String dataStore)

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

isParsableFrom(String formattedString)

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

newBuilder()

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

newProjectLocationCollectionDataStoreBuilder()

public static DataStoreName.ProjectLocationCollectionDataStoreBuilder newProjectLocationCollectionDataStoreBuilder()
Returns
TypeDescription
DataStoreName.ProjectLocationCollectionDataStoreBuilder

newProjectLocationDataStoreBuilder()

public static DataStoreName.Builder newProjectLocationDataStoreBuilder()
Returns
TypeDescription
DataStoreName.Builder

of(String project, String location, String dataStore)

public static DataStoreName of(String project, String location, String dataStore)
Parameters
NameDescription
projectString
locationString
dataStoreString
Returns
TypeDescription
DataStoreName

ofProjectLocationCollectionDataStoreName(String project, String location, String collection, String dataStore)

public static DataStoreName ofProjectLocationCollectionDataStoreName(String project, String location, String collection, String dataStore)
Parameters
NameDescription
projectString
locationString
collectionString
dataStoreString
Returns
TypeDescription
DataStoreName

ofProjectLocationDataStoreName(String project, String location, String dataStore)

public static DataStoreName ofProjectLocationDataStoreName(String project, String location, String dataStore)
Parameters
NameDescription
projectString
locationString
dataStoreString
Returns
TypeDescription
DataStoreName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<DataStoreName> values)

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

Constructors

DataStoreName()

protected DataStoreName()

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides