Class PreviewName (0.16.0)

public class PreviewName implements ResourceName

Inheritance

Object > PreviewName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String preview)

public static String format(String project, String location, String preview)
Parameters
NameDescription
projectString
locationString
previewString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String preview)

public static PreviewName of(String project, String location, String preview)
Parameters
NameDescription
projectString
locationString
previewString
Returns
TypeDescription
PreviewName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<PreviewName> values)

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

Constructors

PreviewName() (deprecated)

protected PreviewName()

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

getPreview()

public String getPreview()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides