Class FieldName (3.14.1-SNAPSHOT)

public class FieldName implements ResourceName

Inheritance

Object > FieldName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

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

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

isParsableFrom(String formattedString)

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

newBuilder()

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

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

public static FieldName of(String project, String database, String collection, String field)
Parameters
NameDescription
projectString
databaseString
collectionString
fieldString
Returns
TypeDescription
FieldName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<FieldName> values)

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

Constructors

FieldName()

protected FieldName()

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

getField()

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

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides