public class ArtifactName implements ResourceName
Inheritance
Object >
ArtifactName
Implements
com.google.api.resourcenames.ResourceName
Static Methods
public static String format(String project, String location, String artifact)
Parameters
Returns
public static String formatProjectLocationApiArtifactName(String project, String location, String api, String artifact)
Parameters
Returns
public static String formatProjectLocationApiDeploymentArtifactName(String project, String location, String api, String deployment, String artifact)
Parameters
Returns
public static String formatProjectLocationApiVersionArtifactName(String project, String location, String api, String version, String artifact)
Parameters
Returns
public static String formatProjectLocationApiVersionSpecArtifactName(String project, String location, String api, String version, String spec, String artifact)
Parameters
Returns
public static String formatProjectLocationArtifactName(String project, String location, String artifact)
Parameters
Returns
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Parameter
Name | Description |
formattedString | String
|
Returns
newBuilder()
public static ArtifactName.Builder newBuilder()
Returns
newProjectLocationApiArtifactBuilder()
public static ArtifactName.ProjectLocationApiArtifactBuilder newProjectLocationApiArtifactBuilder()
Returns
newProjectLocationApiDeploymentArtifactBuilder()
public static ArtifactName.ProjectLocationApiDeploymentArtifactBuilder newProjectLocationApiDeploymentArtifactBuilder()
Returns
newProjectLocationApiVersionArtifactBuilder()
public static ArtifactName.ProjectLocationApiVersionArtifactBuilder newProjectLocationApiVersionArtifactBuilder()
Returns
newProjectLocationApiVersionSpecArtifactBuilder()
public static ArtifactName.ProjectLocationApiVersionSpecArtifactBuilder newProjectLocationApiVersionSpecArtifactBuilder()
Returns
newProjectLocationArtifactBuilder()
public static ArtifactName.Builder newProjectLocationArtifactBuilder()
Returns
of(String project, String location, String artifact)
public static ArtifactName of(String project, String location, String artifact)
Parameters
Returns
ofProjectLocationApiArtifactName(String project, String location, String api, String artifact)
public static ArtifactName ofProjectLocationApiArtifactName(String project, String location, String api, String artifact)
Parameters
Returns
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
Returns
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
Returns
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
Returns
ofProjectLocationArtifactName(String project, String location, String artifact)
public static ArtifactName ofProjectLocationArtifactName(String project, String location, String artifact)
Parameters
Returns
parse(String formattedString)
public static ArtifactName parse(String formattedString)
Parameter
Name | Description |
formattedString | String
|
Returns
parseList(List<String> formattedStrings)
public static List<ArtifactName> parseList(List<String> formattedStrings)
Parameter
Returns
toStringList(List<ArtifactName> values)
public static List<String> toStringList(List<ArtifactName> values)
Parameter
Returns
Constructors
ArtifactName()
Methods
equals(Object o)
public boolean equals(Object o)
Parameter
Returns
Overrides
getApi()
Returns
getArtifact()
public String getArtifact()
Returns
getDeployment()
public String getDeployment()
Returns
getFieldValue(String fieldName)
public String getFieldValue(String fieldName)
Parameter
Name | Description |
fieldName | String
|
Returns
getFieldValuesMap()
public Map<String,String> getFieldValuesMap()
Returns
getLocation()
public String getLocation()
Returns
getProject()
public String getProject()
Returns
getSpec()
Returns
getVersion()
public String getVersion()
Returns
hashCode()
Returns
Overrides
toBuilder()
public ArtifactName.Builder toBuilder()
Returns
toString()
Returns
Overrides