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