Package com.google.cloud.gkehub.v1
Class FeatureName
- java.lang.Object
-
- com.google.cloud.gkehub.v1.FeatureName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class FeatureName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FeatureName.Builder
Builder for projects/{project}/locations/{location}/features/{feature}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
FeatureName()
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 location, String feature)
String
getFeature()
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
String
getLocation()
String
getProject()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static FeatureName.Builder
newBuilder()
static FeatureName
of(String project, String location, String feature)
static FeatureName
parse(String formattedString)
static List<FeatureName>
parseList(List<String> formattedStrings)
FeatureName.Builder
toBuilder()
String
toString()
static List<String>
toStringList(List<FeatureName> values)
-
-
-
Constructor Detail
-
FeatureName
@Deprecated protected FeatureName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getFeature
public String getFeature()
-
newBuilder
public static FeatureName.Builder newBuilder()
-
toBuilder
public FeatureName.Builder toBuilder()
-
of
public static FeatureName of(String project, String location, String feature)
-
parse
public static FeatureName parse(String formattedString)
-
parseList
public static List<FeatureName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<FeatureName> values)
-
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
-
-