Class HubRouteName (1.33.0)

public class HubRouteName implements ResourceName

Inheritance

Object > HubRouteName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String hub, String routeTable, String route)

public static String format(String project, String hub, String routeTable, String route)
Parameters
NameDescription
projectString
hubString
routeTableString
routeString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String hub, String routeTable, String route)

public static HubRouteName of(String project, String hub, String routeTable, String route)
Parameters
NameDescription
projectString
hubString
routeTableString
routeString
Returns
TypeDescription
HubRouteName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<HubRouteName> values)

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

Constructors

HubRouteName() (deprecated)

protected HubRouteName()

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>

getHub()

public String getHub()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getRoute()

public String getRoute()
Returns
TypeDescription
String

getRouteTable()

public String getRouteTable()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides