Class ArtifactName (0.54.0)

public class ArtifactName implements ResourceName

Inheritance

Object > ArtifactName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String artifact)

public static String format(String project, String location, String artifact)
Parameters
Name Description
project String
location String
artifact String
Returns
Type Description
String

formatProjectLocationApiArtifactName(String project, String location, String api, String artifact)

public static String formatProjectLocationApiArtifactName(String project, String location, String api, String artifact)
Parameters
Name Description
project String
location String
api String
artifact String
Returns
Type Description
String

formatProjectLocationApiDeploymentArtifactName(String project, String location, String api, String deployment, String artifact)

public static String formatProjectLocationApiDeploymentArtifactName(String project, String location, String api, String deployment, String artifact)
Parameters
Name Description
project String
location String
api String
deployment String
artifact String
Returns
Type Description
String

formatProjectLocationApiVersionArtifactName(String project, String location, String api, String version, String artifact)

public static String formatProjectLocationApiVersionArtifactName(String project, String location, String api, String version, String artifact)
Parameters
Name Description
project String
location String
api String
version String
artifact String
Returns
Type Description
String

formatProjectLocationApiVersionSpecArtifactName(String project, String location, String api, String version, String spec, String artifact)

public static String formatProjectLocationApiVersionSpecArtifactName(String project, String location, String api, String version, String spec, String artifact)
Parameters
Name Description
project String
location String
api String
version String
spec String
artifact String
Returns
Type Description
String

formatProjectLocationArtifactName(String project, String location, String artifact)

public static String formatProjectLocationArtifactName(String project, String location, String artifact)
Parameters
Name Description
project String
location String
artifact String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static ArtifactName.Builder newBuilder()
Returns
Type Description
ArtifactName.Builder

newProjectLocationApiArtifactBuilder()

public static ArtifactName.ProjectLocationApiArtifactBuilder newProjectLocationApiArtifactBuilder()
Returns
Type Description
ArtifactName.ProjectLocationApiArtifactBuilder

newProjectLocationApiDeploymentArtifactBuilder()

public static ArtifactName.ProjectLocationApiDeploymentArtifactBuilder newProjectLocationApiDeploymentArtifactBuilder()
Returns
Type Description
ArtifactName.ProjectLocationApiDeploymentArtifactBuilder

newProjectLocationApiVersionArtifactBuilder()

public static ArtifactName.ProjectLocationApiVersionArtifactBuilder newProjectLocationApiVersionArtifactBuilder()
Returns
Type Description
ArtifactName.ProjectLocationApiVersionArtifactBuilder

newProjectLocationApiVersionSpecArtifactBuilder()

public static ArtifactName.ProjectLocationApiVersionSpecArtifactBuilder newProjectLocationApiVersionSpecArtifactBuilder()
Returns
Type Description
ArtifactName.ProjectLocationApiVersionSpecArtifactBuilder

newProjectLocationArtifactBuilder()

public static ArtifactName.Builder newProjectLocationArtifactBuilder()
Returns
Type Description
ArtifactName.Builder

of(String project, String location, String artifact)

public static ArtifactName of(String project, String location, String artifact)
Parameters
Name Description
project String
location String
artifact String
Returns
Type Description
ArtifactName

ofProjectLocationApiArtifactName(String project, String location, String api, String artifact)

public static ArtifactName ofProjectLocationApiArtifactName(String project, String location, String api, String artifact)
Parameters
Name Description
project String
location String
api String
artifact String
Returns
Type Description
ArtifactName

ofProjectLocationApiDeploymentArtifactName(String project, String location, String api, String deployment, String artifact)

public static ArtifactName ofProjectLocationApiDeploymentArtifactName(String project, String location, String api, String deployment, String artifact)
Parameters
Name Description
project String
location String
api String
deployment String
artifact String
Returns
Type Description
ArtifactName

ofProjectLocationApiVersionArtifactName(String project, String location, String api, String version, String artifact)

public static ArtifactName ofProjectLocationApiVersionArtifactName(String project, String location, String api, String version, String artifact)
Parameters
Name Description
project String
location String
api String
version String
artifact String
Returns
Type Description
ArtifactName

ofProjectLocationApiVersionSpecArtifactName(String project, String location, String api, String version, String spec, String artifact)

public static ArtifactName ofProjectLocationApiVersionSpecArtifactName(String project, String location, String api, String version, String spec, String artifact)
Parameters
Name Description
project String
location String
api String
version String
spec String
artifact String
Returns
Type Description
ArtifactName

ofProjectLocationArtifactName(String project, String location, String artifact)

public static ArtifactName ofProjectLocationArtifactName(String project, String location, String artifact)
Parameters
Name Description
project String
location String
artifact String
Returns
Type Description
ArtifactName

parse(String formattedString)

public static ArtifactName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
ArtifactName

parseList(List<String> formattedStrings)

public static List<ArtifactName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<ArtifactName>

toStringList(List<ArtifactName> values)

public static List<String> toStringList(List<ArtifactName> values)
Parameter
Name Description
values List<ArtifactName>
Returns
Type Description
List<String>

Constructors

ArtifactName() (deprecated)

protected ArtifactName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getApi()

public String getApi()
Returns
Type Description
String

getArtifact()

public String getArtifact()
Returns
Type Description
String

getDeployment()

public String getDeployment()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getSpec()

public String getSpec()
Returns
Type Description
String

getVersion()

public String getVersion()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public ArtifactName.Builder toBuilder()
Returns
Type Description
ArtifactName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides