Class HubName
- java.lang.Object
-
- com.google.cloud.networkconnectivity.v1.HubName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class HubName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HubName.Builder
Builder for projects/{project}/locations/global/hubs/{hub}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
HubName()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static String
format(String project, String hub)
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
String
getHub()
String
getProject()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static HubName.Builder
newBuilder()
static HubName
of(String project, String hub)
static HubName
parse(String formattedString)
static List<HubName>
parseList(List<String> formattedStrings)
HubName.Builder
toBuilder()
String
toString()
static List<String>
toStringList(List<HubName> values)
-
-
-
Constructor Detail
-
HubName
@Deprecated protected HubName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getHub
public String getHub()
-
newBuilder
public static HubName.Builder newBuilder()
-
toBuilder
public HubName.Builder toBuilder()
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-