Class AssetName (0.2.2)

public class AssetName implements ResourceName

Inheritance

Object > AssetName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String lake, String zone, String asset)

public static String format(String project, String location, String lake, String zone, String asset)
Parameters
NameDescription
projectString
locationString
lakeString
zoneString
assetString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String lake, String zone, String asset)

public static AssetName of(String project, String location, String lake, String zone, String asset)
Parameters
NameDescription
projectString
locationString
lakeString
zoneString
assetString
Returns
TypeDescription
AssetName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<AssetName> values)

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

Constructors

AssetName()

protected AssetName()

Methods

equals(Object o)

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

getAsset()

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

getLake()

public String getLake()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getZone()

public String getZone()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides