Class FolderLocationName (1.58.1)

publicclass FolderLocationNameimplementsResourceName

Inheritance

Object > FolderLocationName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String folder, String location)

publicstaticStringformat(Stringfolder,Stringlocation)
Parameters
Name Description
folder String
location String
Returns
Type Description
String

isParsableFrom(String formattedString)

publicstaticbooleanisParsableFrom(StringformattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

publicstaticFolderLocationName.BuildernewBuilder()
Returns
Type Description
FolderLocationName.Builder

of(String folder, String location)

publicstaticFolderLocationNameof(Stringfolder,Stringlocation)
Parameters
Name Description
folder String
location String
Returns
Type Description
FolderLocationName

parse(String formattedString)

publicstaticFolderLocationNameparse(StringformattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
FolderLocationName

parseList(List<String> formattedStrings)

publicstaticList<FolderLocationName>parseList(List<String>formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<FolderLocationName>

toStringList(List<FolderLocationName> values)

publicstaticList<String>toStringList(List<FolderLocationName>values)
Parameter
Name Description
values List<FolderLocationName>
Returns
Type Description
List<String>

Constructors

FolderLocationName() (deprecated)

protectedFolderLocationName()

Methods

equals(Object o)

publicbooleanequals(Objecto)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getFieldValue(String fieldName)

publicStringgetFieldValue(StringfieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

publicMap<String,String>getFieldValuesMap()
Returns
Type Description
Map<String,String>

getFolder()

publicStringgetFolder()
Returns
Type Description
String

getLocation()

publicStringgetLocation()
Returns
Type Description
String

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

toBuilder()

publicFolderLocationName.BuildertoBuilder()
Returns
Type Description
FolderLocationName.Builder

toString()

publicStringtoString()
Returns
Type Description
String
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.