Class IndexName (3.7.7)

public class IndexName implements ResourceName

Inheritance

Object > IndexName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String database, String collection, String index)

public static String format(String project, String database, String collection, String index)
Parameters
NameDescription
projectString
databaseString
collectionString
indexString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String database, String collection, String index)

public static IndexName of(String project, String database, String collection, String index)
Parameters
NameDescription
projectString
databaseString
collectionString
indexString
Returns
TypeDescription
IndexName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<IndexName> values)

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

Constructors

IndexName()

protected IndexName()

Methods

equals(Object o)

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

getCollection()

public String getCollection()
Returns
TypeDescription
String

getDatabase()

public String getDatabase()
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>

getIndex()

public String getIndex()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides