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