Class DataSourceName

    • Constructor Detail

      • DataSourceName

        @Deprecated
        protected DataSourceName()
        Deprecated.
    • Method Detail

      • getProject

        public String getProject()
      • getDataSource

        public String getDataSource()
      • getLocation

        public String getLocation()
      • newProjectDataSourceBuilder

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

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static DataSourceName ofProjectDataSourceName​(String project,
                                                             String dataSource)
      • ofProjectLocationDataSourceName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static DataSourceName ofProjectLocationDataSourceName​(String project,
                                                                     String location,
                                                                     String dataSource)
      • formatProjectDataSourceName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatProjectDataSourceName​(String project,
                                                         String dataSource)
      • formatProjectLocationDataSourceName

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