- 0.53.0 (latest)
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.1
- 0.2.2
- 0.1.1
public class ArtifactName implements ResourceName
Implements
com.google.api.resourcenames.ResourceNameStatic 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 |
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 |
toBuilder()
public ArtifactName.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ArtifactName.Builder |
toString()
public String toString()
Returns | |
---|---|
Type | Description |
String |