Class MonitoredResourceDescriptorName

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

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

      • MonitoredResourceDescriptorName

        @Deprecated
        protected MonitoredResourceDescriptorName()
        Deprecated.
    • Method Detail

      • getProject

        public String getProject()
      • getMonitoredResourceDescriptor

        public String getMonitoredResourceDescriptor()
      • getOrganization

        public String getOrganization()
      • getFolder

        public String getFolder()
      • newProjectMonitoredResourceDescriptorBuilder

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

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static MonitoredResourceDescriptorName ofProjectMonitoredResourceDescriptorName​(String project,
                                                                                               String monitoredResourceDescriptor)
      • ofOrganizationMonitoredResourceDescriptorName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static MonitoredResourceDescriptorName ofOrganizationMonitoredResourceDescriptorName​(String organization,
                                                                                                    String monitoredResourceDescriptor)
      • ofFolderMonitoredResourceDescriptorName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static MonitoredResourceDescriptorName ofFolderMonitoredResourceDescriptorName​(String folder,
                                                                                              String monitoredResourceDescriptor)
      • format

        public static String format​(String project,
                                    String monitoredResourceDescriptor)
      • formatProjectMonitoredResourceDescriptorName

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

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

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