Class LabelName

java.lang.Object
com.google.ads.googleads.v18.resources.LabelName
All Implemented Interfaces:
com.google.api.resourcenames.ResourceName

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

    • LabelName

      @Deprecated protected LabelName()
      Deprecated.
  • Method Details

    • getCustomerId

      public String getCustomerId()
    • getLabelId

      public String getLabelId()
    • newBuilder

      public static LabelName.Builder newBuilder()
    • toBuilder

      public LabelName.Builder toBuilder()
    • of

      public static LabelName of(String customerId, String labelId)
    • format

      public static String format(String customerId, String labelId)
    • parse

      public static LabelName parse(String formattedString)
    • parseList

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

      public static List<String> toStringList(List<LabelName> 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