Class ArtifactName
- java.lang.Object
-
- com.google.cloud.apigeeregistry.v1.ArtifactName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class ArtifactName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ArtifactName.Builder
Builder for projects/{project}/locations/{location}/artifacts/{artifact}.static class
ArtifactName.ProjectLocationApiArtifactBuilder
Builder for projects/{project}/locations/{location}/apis/{api}/artifacts/{artifact}.static class
ArtifactName.ProjectLocationApiDeploymentArtifactBuilder
Builder for projects/{project}/locations/{location}/apis/{api}/deployments/{deployment}/artifacts/{artifact}.static class
ArtifactName.ProjectLocationApiVersionArtifactBuilder
Builder for projects/{project}/locations/{location}/apis/{api}/versions/{version}/artifacts/{artifact}.static class
ArtifactName.ProjectLocationApiVersionSpecArtifactBuilder
Builder for projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}/artifacts/{artifact}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ArtifactName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
ArtifactName
@Deprecated protected ArtifactName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getArtifact
public String getArtifact()
-
getApi
public String getApi()
-
getVersion
public String getVersion()
-
getSpec
public String getSpec()
-
getDeployment
public String getDeployment()
-
newBuilder
public static ArtifactName.Builder newBuilder()
-
newProjectLocationArtifactBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static ArtifactName.Builder newProjectLocationArtifactBuilder()
-
newProjectLocationApiArtifactBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static ArtifactName.ProjectLocationApiArtifactBuilder newProjectLocationApiArtifactBuilder()
-
newProjectLocationApiVersionArtifactBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static ArtifactName.ProjectLocationApiVersionArtifactBuilder newProjectLocationApiVersionArtifactBuilder()
-
newProjectLocationApiVersionSpecArtifactBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static ArtifactName.ProjectLocationApiVersionSpecArtifactBuilder newProjectLocationApiVersionSpecArtifactBuilder()
-
newProjectLocationApiDeploymentArtifactBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static ArtifactName.ProjectLocationApiDeploymentArtifactBuilder newProjectLocationApiDeploymentArtifactBuilder()
-
toBuilder
public ArtifactName.Builder toBuilder()
-
of
public static ArtifactName of(String project, String location, String artifact)
-
ofProjectLocationArtifactName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static ArtifactName ofProjectLocationArtifactName(String project, String location, String artifact)
-
ofProjectLocationApiArtifactName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static ArtifactName ofProjectLocationApiArtifactName(String project, String location, String api, String artifact)
-
ofProjectLocationApiVersionArtifactName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static ArtifactName ofProjectLocationApiVersionArtifactName(String project, String location, String api, String version, String artifact)
-
ofProjectLocationApiVersionSpecArtifactName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static ArtifactName ofProjectLocationApiVersionSpecArtifactName(String project, String location, String api, String version, String spec, String artifact)
-
ofProjectLocationApiDeploymentArtifactName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static ArtifactName ofProjectLocationApiDeploymentArtifactName(String project, String location, String api, String deployment, String artifact)
-
formatProjectLocationArtifactName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationArtifactName(String project, String location, String artifact)
-
formatProjectLocationApiArtifactName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationApiArtifactName(String project, String location, String api, String artifact)
-
formatProjectLocationApiVersionArtifactName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationApiVersionArtifactName(String project, String location, String api, String version, String artifact)
-
formatProjectLocationApiVersionSpecArtifactName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationApiVersionSpecArtifactName(String project, String location, String api, String version, String spec, String artifact)
-
formatProjectLocationApiDeploymentArtifactName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationApiDeploymentArtifactName(String project, String location, String api, String deployment, String artifact)
-
parse
public static ArtifactName parse(String formattedString)
-
parseList
public static List<ArtifactName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<ArtifactName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-