Class RepositoryName (1.2.3)

public class RepositoryName implements ResourceName

Inheritance

Object > RepositoryName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String repository)

public static String format(String project, String location, String repository)
Parameters
NameDescription
projectString
locationString
repositoryString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String repository)

public static RepositoryName of(String project, String location, String repository)
Parameters
NameDescription
projectString
locationString
repositoryString
Returns
TypeDescription
RepositoryName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<RepositoryName> values)

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

Constructors

RepositoryName()

protected RepositoryName()

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>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getRepository()

public String getRepository()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides