Class AssetName

  • All Implemented Interfaces:
    com.google.api.resourcenames.ResourceName

    @Generated("by gapic-generator-java")
    public class AssetName
    extends Object
    implements com.google.api.resourcenames.ResourceName
    • Constructor Detail

      • AssetName

        @Deprecated
        protected AssetName()
        Deprecated.
    • Method Detail

      • getOrganization

        public String getOrganization()
      • getAsset

        public String getAsset()
      • getFolder

        public String getFolder()
      • getProject

        public String getProject()
      • newOrganizationAssetBuilder

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static AssetName.Builder newOrganizationAssetBuilder()
      • newFolderAssetBuilder

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static AssetName.FolderAssetBuilder newFolderAssetBuilder()
      • newProjectAssetBuilder

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static AssetName.ProjectAssetBuilder newProjectAssetBuilder()
      • ofOrganizationAssetName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static AssetName ofOrganizationAssetName​(String organization,
                                                        String asset)
      • ofFolderAssetName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static AssetName ofFolderAssetName​(String folder,
                                                  String asset)
      • ofProjectAssetName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static AssetName ofProjectAssetName​(String project,
                                                   String asset)
      • formatOrganizationAssetName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatOrganizationAssetName​(String organization,
                                                         String asset)
      • formatFolderAssetName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatFolderAssetName​(String folder,
                                                   String asset)
      • formatProjectAssetName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatProjectAssetName​(String project,
                                                    String asset)
      • 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