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 classResourceName.BuilderBuilder for projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}.
-
Constructor Summary
Constructors Modifier Constructor Description protectedResourceName()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static Stringformat(String project, String location, String deployment, String revision, String resource)StringgetDeployment()StringgetFieldValue(String fieldName)Map<String,String>getFieldValuesMap()StringgetLocation()StringgetProject()StringgetResource()StringgetRevision()inthashCode()static booleanisParsableFrom(String formattedString)static ResourceName.BuildernewBuilder()static ResourceNameof(String project, String location, String deployment, String revision, String resource)static ResourceNameparse(String formattedString)static List<ResourceName>parseList(List<String> formattedStrings)ResourceName.BuildertoBuilder()StringtoString()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:
getFieldValuesMapin interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValuein interfacecom.google.api.resourcenames.ResourceName
-
-