Class VersionName (4.3.1)

public class VersionName implements ResourceName

Inheritance

Object > VersionName

Implements

com.google.api.resourcenames.ResourceName

Constructors

VersionName()

protected VersionName()

Methods

equals(Object o)

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

format(String project, String version)

public static String format(String project, String version)
Parameters
NameDescription
projectString
versionString
Returns
TypeDescription
String

formatProjectLocationVersionName(String project, String location, String version)

public static String formatProjectLocationVersionName(String project, String location, String version)
Parameters
NameDescription
projectString
locationString
versionString
Returns
TypeDescription
String

formatProjectVersionName(String project, String version)

public static String formatProjectVersionName(String project, String version)
Parameters
NameDescription
projectString
versionString
Returns
TypeDescription
String

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>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getVersion()

public String getVersion()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

isParsableFrom(String formattedString)

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

newBuilder()

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

newProjectLocationVersionBuilder()

public static VersionName.ProjectLocationVersionBuilder newProjectLocationVersionBuilder()
Returns
TypeDescription
VersionName.ProjectLocationVersionBuilder

newProjectVersionBuilder()

public static VersionName.Builder newProjectVersionBuilder()
Returns
TypeDescription
VersionName.Builder

of(String project, String version)

public static VersionName of(String project, String version)
Parameters
NameDescription
projectString
versionString
Returns
TypeDescription
VersionName

ofProjectLocationVersionName(String project, String location, String version)

public static VersionName ofProjectLocationVersionName(String project, String location, String version)
Parameters
NameDescription
projectString
locationString
versionString
Returns
TypeDescription
VersionName

ofProjectVersionName(String project, String version)

public static VersionName ofProjectVersionName(String project, String version)
Parameters
NameDescription
projectString
versionString
Returns
TypeDescription
VersionName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides

toStringList(List<VersionName> values)

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