Class ReferenceImageName (3.21.0)

public class ReferenceImageName implements ResourceName

Inheritance

Object > ReferenceImageName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

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

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

isParsableFrom(String formattedString)

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

newBuilder()

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

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

public static ReferenceImageName of(String project, String location, String product, String referenceImage)
Parameters
NameDescription
projectString
locationString
productString
referenceImageString
Returns
TypeDescription
ReferenceImageName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ReferenceImageName> values)

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

Constructors

ReferenceImageName()

protected ReferenceImageName()

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>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProduct()

public String getProduct()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getReferenceImage()

public String getReferenceImage()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides