Class FolderName (3.6.0)

Stay organized with collections Save and categorize content based on your preferences.
public class FolderName implements ResourceName

Inheritance

Object > FolderName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String folder)

public static String format(String folder)
Parameter
NameDescription
folderString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String folder)

public static FolderName of(String folder)
Parameter
NameDescription
folderString
Returns
TypeDescription
FolderName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<FolderName> values)

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

Constructors

FolderName()

protected FolderName()

Methods

equals(Object o)

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

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>

getFolder()

public String getFolder()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides