Class SettingsName

java.lang.Object
com.google.logging.v2.SettingsName
All Implemented Interfaces:
com.google.api.resourcenames.ResourceName

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

    • SettingsName

      @Deprecated protected SettingsName()
      Deprecated.
  • Method Details

    • getProject

      public String getProject()
    • getOrganization

      public String getOrganization()
    • getFolder

      public String getFolder()
    • getBillingAccount

      public String getBillingAccount()
    • newBuilder

      public static SettingsName.Builder newBuilder()
    • newProjectBuilder

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

      @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SettingsName.OrganizationBuilder newOrganizationBuilder()
    • newFolderBuilder

      @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SettingsName.FolderBuilder newFolderBuilder()
    • newBillingAccountBuilder

      @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SettingsName.BillingAccountBuilder newBillingAccountBuilder()
    • toBuilder

      public SettingsName.Builder toBuilder()
    • of

      public static SettingsName of(String project)
    • ofProjectName

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

      @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofOrganizationName(String organization)
    • ofFolderName

      @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofFolderName(String folder)
    • ofBillingAccountName

      @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofBillingAccountName(String billingAccount)
    • format

      public static String format(String project)
    • formatProjectName

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

      @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationName(String organization)
    • formatFolderName

      @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderName(String folder)
    • formatBillingAccountName

      @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountName(String billingAccount)
    • parse

      public static SettingsName parse(String formattedString)
    • parseList

      public static List<SettingsName> parseList(List<String> formattedStrings)
    • toStringList

      public static List<String> toStringList(List<SettingsName> values)
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object