Class ImageName (3.20.0)

public class ImageName implements ResourceName

Inheritance

Object > ImageName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String product, String image)

public static String format(String project, String location, String product, String image)
Parameters
NameDescription
projectString
locationString
productString
imageString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String product, String image)

public static ImageName of(String project, String location, String product, String image)
Parameters
NameDescription
projectString
locationString
productString
imageString
Returns
TypeDescription
ImageName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ImageName> values)

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

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>

getImage()

public String getImage()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProduct()

public String getProduct()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides