Class DlpContentName

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

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

      • DlpContentName

        @Deprecated
        protected DlpContentName()
        Deprecated.
    • Method Detail

      • getProject

        public String getProject()
      • getLocation

        public String getLocation()
      • newProjectBuilder

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

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static DlpContentName.ProjectLocationBuilder newProjectLocationBuilder()
      • ofProjectName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static DlpContentName ofProjectName​(String project)
      • ofProjectLocationName

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

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

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