Class ProjectSnapshotName (1.123.18)

public class ProjectSnapshotName implements ResourceName

AUTO-GENERATED DOCUMENTATION AND CLASS

Inheritance

Object > ProjectSnapshotName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String snapshot)

public static String format(String project, String snapshot)
Parameters
NameDescription
projectString
snapshotString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static ProjectSnapshotName.Builder newBuilder()
Returns
TypeDescription
ProjectSnapshotName.Builder

of(String project, String snapshot)

public static ProjectSnapshotName of(String project, String snapshot)
Parameters
NameDescription
projectString
snapshotString
Returns
TypeDescription
ProjectSnapshotName

parse(String formattedString)

public static ProjectSnapshotName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
ProjectSnapshotName

parseList(List<String> formattedStrings)

public static List<ProjectSnapshotName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<ProjectSnapshotName>

toStringList(List<ProjectSnapshotName> values)

public static List<String> toStringList(List<ProjectSnapshotName> values)
Parameter
NameDescription
valuesList<ProjectSnapshotName>
Returns
TypeDescription
List<String>

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getProject()

public String getProject()
Returns
TypeDescription
String

getSnapshot()

public String getSnapshot()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public ProjectSnapshotName.Builder toBuilder()
Returns
TypeDescription
ProjectSnapshotName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides