Class ReleaseName (1.5.0)

public class ReleaseName implements ResourceName

Inheritance

Object > ReleaseName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String deliveryPipeline, String release)

public static String format(String project, String location, String deliveryPipeline, String release)
Parameters
NameDescription
projectString
locationString
deliveryPipelineString
releaseString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String deliveryPipeline, String release)

public static ReleaseName of(String project, String location, String deliveryPipeline, String release)
Parameters
NameDescription
projectString
locationString
deliveryPipelineString
releaseString
Returns
TypeDescription
ReleaseName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ReleaseName> values)

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

Constructors

ReleaseName()

protected ReleaseName()

Methods

equals(Object o)

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

getDeliveryPipeline()

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

getRelease()

public String getRelease()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides