Class DataStoreName (0.38.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
Name Description
project String
location String
dataStore String
Returns
Type Description
String

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

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

formatProjectLocationDataStoreName(String project, String location, String dataStore)

public static String formatProjectLocationDataStoreName(String project, String location, String dataStore)
Parameters
Name Description
project String
location String
dataStore 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 DataStoreName.Builder newBuilder()
Returns
Type Description
DataStoreName.Builder

newProjectLocationCollectionDataStoreBuilder()

public static DataStoreName.ProjectLocationCollectionDataStoreBuilder newProjectLocationCollectionDataStoreBuilder()
Returns
Type Description
DataStoreName.ProjectLocationCollectionDataStoreBuilder

newProjectLocationDataStoreBuilder()

public static DataStoreName.Builder newProjectLocationDataStoreBuilder()
Returns
Type Description
DataStoreName.Builder

of(String project, String location, String dataStore)

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

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

public static DataStoreName ofProjectLocationCollectionDataStoreName(String project, String location, String collection, String dataStore)
Parameters
Name Description
project String
location String
collection String
dataStore String
Returns
Type Description
DataStoreName

ofProjectLocationDataStoreName(String project, String location, String dataStore)

public static DataStoreName ofProjectLocationDataStoreName(String project, String location, String dataStore)
Parameters
Name Description
project String
location String
dataStore String
Returns
Type Description
DataStoreName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<DataStoreName> values)

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

Constructors

DataStoreName() (deprecated)

protected DataStoreName()

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

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides