Class AssetName

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

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

    • AssetName

      @Deprecated protected AssetName()
      Deprecated.
  • Method Details

    • getCustomerId

      public String getCustomerId()
    • getAssetId

      public String getAssetId()
    • newBuilder

      public static AssetName.Builder newBuilder()
    • toBuilder

      public AssetName.Builder toBuilder()
    • of

      public static AssetName of(String customerId, String assetId)
    • format

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

      public static AssetName parse(String formattedString)
    • parseList

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

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