Class HubName

public class HubName implements ResourceName

Inheritance

Object > HubName

Implements

com.google.api.resourcenames.ResourceName

Constructors

HubName()

protected HubName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

format(String project, String hub)

public static String format(String project, String hub)
Parameters
NameDescription
projectString
hubString
Returns
TypeDescription
String

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String hub)

public static HubName of(String project, String hub)
Parameters
NameDescription
projectString
hubString
Returns
TypeDescription
HubName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides

toStringList(List<HubName> values)

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