@Generated(value="by gapic-generator-java") public class SnapshotName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
SnapshotName.Builder
Builder for projects/{project}/snapshots/{snapshot}.
|
Modifier | Constructor and Description |
---|---|
protected |
SnapshotName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String snapshot) |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getProject() |
String |
getSnapshot() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static SnapshotName.Builder |
newBuilder() |
static SnapshotName |
of(String project,
String snapshot) |
static SnapshotName |
parse(String formattedString) |
static List<SnapshotName> |
parseList(List<String> formattedStrings) |
SnapshotName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<SnapshotName> values) |
@Deprecated protected SnapshotName()
public String getProject()
public String getSnapshot()
public static SnapshotName.Builder newBuilder()
public SnapshotName.Builder toBuilder()
public static SnapshotName of(String project, String snapshot)
public static SnapshotName parse(String formattedString)
public static List<SnapshotName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<SnapshotName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2023 Google LLC. All rights reserved.