Class SourceName

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

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

      • SourceName

        @Deprecated
        protected SourceName()
        Deprecated.
    • Method Detail

      • getOrganization

        public String getOrganization()
      • getSource

        public String getSource()
      • getFolder

        public String getFolder()
      • getProject

        public String getProject()
      • newOrganizationSourceBuilder

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

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static SourceName.FolderSourceBuilder newFolderSourceBuilder()
      • newProjectSourceBuilder

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static SourceName.ProjectSourceBuilder newProjectSourceBuilder()
      • ofOrganizationSourceName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static SourceName ofOrganizationSourceName​(String organization,
                                                          String source)
      • ofFolderSourceName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static SourceName ofFolderSourceName​(String folder,
                                                    String source)
      • ofProjectSourceName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static SourceName ofProjectSourceName​(String project,
                                                     String source)
      • formatOrganizationSourceName

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

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

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