Class AdGroupName

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

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

    • AdGroupName

      @Deprecated protected AdGroupName()
      Deprecated.
  • Method Details

    • getCustomerId

      public String getCustomerId()
    • getAdGroupId

      public String getAdGroupId()
    • newBuilder

      public static AdGroupName.Builder newBuilder()
    • toBuilder

      public AdGroupName.Builder toBuilder()
    • of

      public static AdGroupName of(String customerId, String adGroupId)
    • format

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

      public static @Nullable AdGroupName parse(String formattedString)
    • parseList

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

      public static List<String> toStringList(List<@Nullable AdGroupName> 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(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object