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