Class 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
    • 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()
      • 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()
      • 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)
      • isParsableFrom

        public static boolean isParsableFrom​(String formattedString)
      • getFieldValuesMap

        public Map<String,​String> getFieldValuesMap()
        Specified by:
        getFieldValuesMap in interface com.google.api.resourcenames.ResourceName
      • getFieldValue

        public String getFieldValue​(String fieldName)
        Specified by:
        getFieldValue in interface com.google.api.resourcenames.ResourceName
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object