Class RouteName (1.31.0)

public class RouteName implements ResourceName

Inheritance

Object > RouteName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String privateConnection, String route)

public static String format(String project, String location, String privateConnection, String route)
Parameters
NameDescription
projectString
locationString
privateConnectionString
routeString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String privateConnection, String route)

public static RouteName of(String project, String location, String privateConnection, String route)
Parameters
NameDescription
projectString
locationString
privateConnectionString
routeString
Returns
TypeDescription
RouteName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<RouteName> values)

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

Constructors

RouteName() (deprecated)

protected RouteName()

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

getPrivateConnection()

public String getPrivateConnection()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getRoute()

public String getRoute()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides