Class ViewName (2.12.0)

public class ViewName implements ResourceName

Inheritance

Object > ViewName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String view)

public static String format(String project, String location, String view)
Parameters
NameDescription
projectString
locationString
viewString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String view)

public static ViewName of(String project, String location, String view)
Parameters
NameDescription
projectString
locationString
viewString
Returns
TypeDescription
ViewName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ViewName> values)

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

Constructors

ViewName()

protected ViewName()

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

getProject()

public String getProject()
Returns
TypeDescription
String

getView()

public String getView()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides