- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.2.0
public class SnapshotName implements ResourceName
Implements
com.google.api.resourcenames.ResourceNameStatic Methods
format(String project, String location, String instance, String snapshot)
public static String format(String project, String location, String instance, String snapshot)
Name | Description |
project | String |
location | String |
instance | String |
snapshot | String |
Type | Description |
String |
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Name | Description |
formattedString | String |
Type | Description |
boolean |
newBuilder()
public static SnapshotName.Builder newBuilder()
Type | Description |
SnapshotName.Builder |
of(String project, String location, String instance, String snapshot)
public static SnapshotName of(String project, String location, String instance, String snapshot)
Name | Description |
project | String |
location | String |
instance | String |
snapshot | String |
Type | Description |
SnapshotName |
parse(String formattedString)
public static SnapshotName parse(String formattedString)
Name | Description |
formattedString | String |
Type | Description |
SnapshotName |
parseList(List<String> formattedStrings)
public static List<SnapshotName> parseList(List<String> formattedStrings)
Name | Description |
formattedStrings | List<String> |
Type | Description |
List<SnapshotName> |
toStringList(List<SnapshotName> values)
public static List<String> toStringList(List<SnapshotName> values)
Name | Description |
values | List<SnapshotName> |
Type | Description |
List<String> |
Constructors
SnapshotName()
protected SnapshotName()
Methods
equals(Object o)
public boolean equals(Object o)
Name | Description |
o | Object |
Type | Description |
boolean |
getFieldValue(String fieldName)
public String getFieldValue(String fieldName)
Name | Description |
fieldName | String |
Type | Description |
String |
getFieldValuesMap()
public Map<String,String> getFieldValuesMap()
Type | Description |
Map<String,String> |
getInstance()
public String getInstance()
Type | Description |
String |
getLocation()
public String getLocation()
Type | Description |
String |
getProject()
public String getProject()
Type | Description |
String |
getSnapshot()
public String getSnapshot()
Type | Description |
String |
hashCode()
public int hashCode()
Type | Description |
int |
toBuilder()
public SnapshotName.Builder toBuilder()
Type | Description |
SnapshotName.Builder |
toString()
public String toString()
Type | Description |
String |