Class SchemaName (0.36.0)

public class SchemaName implements ResourceName

Inheritance

Object > SchemaName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

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

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

formatProjectLocationCollectionDataStoreSchemaName(String project, String location, String collection, String dataStore, String schema)

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

formatProjectLocationDataStoreSchemaName(String project, String location, String dataStore, String schema)

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

isParsableFrom(String formattedString)

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

newBuilder()

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

newProjectLocationCollectionDataStoreSchemaBuilder()

public static SchemaName.ProjectLocationCollectionDataStoreSchemaBuilder newProjectLocationCollectionDataStoreSchemaBuilder()
Returns
TypeDescription
SchemaName.ProjectLocationCollectionDataStoreSchemaBuilder

newProjectLocationDataStoreSchemaBuilder()

public static SchemaName.Builder newProjectLocationDataStoreSchemaBuilder()
Returns
TypeDescription
SchemaName.Builder

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

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

ofProjectLocationCollectionDataStoreSchemaName(String project, String location, String collection, String dataStore, String schema)

public static SchemaName ofProjectLocationCollectionDataStoreSchemaName(String project, String location, String collection, String dataStore, String schema)
Parameters
NameDescription
projectString
locationString
collectionString
dataStoreString
schemaString
Returns
TypeDescription
SchemaName

ofProjectLocationDataStoreSchemaName(String project, String location, String dataStore, String schema)

public static SchemaName ofProjectLocationDataStoreSchemaName(String project, String location, String dataStore, String schema)
Parameters
NameDescription
projectString
locationString
dataStoreString
schemaString
Returns
TypeDescription
SchemaName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<SchemaName> values)

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

Constructors

SchemaName() (deprecated)

protected SchemaName()

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

getSchema()

public String getSchema()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides