Class BuildName (3.11.0)

public class BuildName implements ResourceName

Inheritance

Object > BuildName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String build)

public static String format(String project, String build)
Parameters
NameDescription
projectString
buildString
Returns
TypeDescription
String

formatProjectBuildName(String project, String build)

public static String formatProjectBuildName(String project, String build)
Parameters
NameDescription
projectString
buildString
Returns
TypeDescription
String

formatProjectLocationBuildName(String project, String location, String build)

public static String formatProjectLocationBuildName(String project, String location, String build)
Parameters
NameDescription
projectString
locationString
buildString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newProjectBuildBuilder()

public static BuildName.Builder newProjectBuildBuilder()
Returns
TypeDescription
BuildName.Builder

newProjectLocationBuildBuilder()

public static BuildName.ProjectLocationBuildBuilder newProjectLocationBuildBuilder()
Returns
TypeDescription
BuildName.ProjectLocationBuildBuilder

of(String project, String build)

public static BuildName of(String project, String build)
Parameters
NameDescription
projectString
buildString
Returns
TypeDescription
BuildName

ofProjectBuildName(String project, String build)

public static BuildName ofProjectBuildName(String project, String build)
Parameters
NameDescription
projectString
buildString
Returns
TypeDescription
BuildName

ofProjectLocationBuildName(String project, String location, String build)

public static BuildName ofProjectLocationBuildName(String project, String location, String build)
Parameters
NameDescription
projectString
locationString
buildString
Returns
TypeDescription
BuildName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<BuildName> values)

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

Constructors

BuildName()

protected BuildName()

Methods

equals(Object o)

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

getBuild()

public String getBuild()
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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides