@Generated(value="by GAPIC protoc plugin") public class ProjectSnapshotName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
ProjectSnapshotName.Builder
Builder for ProjectSnapshotName.
|
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 ProjectSnapshotName.Builder |
newBuilder() |
static ProjectSnapshotName |
of(String project,
String snapshot) |
static ProjectSnapshotName |
parse(String formattedString) |
static List<ProjectSnapshotName> |
parseList(List<String> formattedStrings) |
ProjectSnapshotName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<ProjectSnapshotName> values) |
public String getProject()
public String getSnapshot()
public static ProjectSnapshotName.Builder newBuilder()
public ProjectSnapshotName.Builder toBuilder()
public static ProjectSnapshotName of(String project, String snapshot)
public static ProjectSnapshotName parse(String formattedString)
public static List<ProjectSnapshotName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<ProjectSnapshotName> 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.