Class CampaignName
- java.lang.Object
-
- com.google.ads.googleads.v9.resources.CampaignName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class CampaignName extends java.lang.Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CampaignName.Builder
Builder for customers/{customer_id}/campaigns/{campaign_id}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CampaignName()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static java.lang.String
format(java.lang.String customerId, java.lang.String campaignId)
java.lang.String
getCampaignId()
java.lang.String
getCustomerId()
java.lang.String
getFieldValue(java.lang.String fieldName)
java.util.Map<java.lang.String,java.lang.String>
getFieldValuesMap()
int
hashCode()
static boolean
isParsableFrom(java.lang.String formattedString)
static CampaignName.Builder
newBuilder()
static CampaignName
of(java.lang.String customerId, java.lang.String campaignId)
static CampaignName
parse(java.lang.String formattedString)
static java.util.List<CampaignName>
parseList(java.util.List<java.lang.String> formattedStrings)
CampaignName.Builder
toBuilder()
java.lang.String
toString()
static java.util.List<java.lang.String>
toStringList(java.util.List<CampaignName> values)
-
-
-
Method Detail
-
getCustomerId
public java.lang.String getCustomerId()
-
getCampaignId
public java.lang.String getCampaignId()
-
newBuilder
public static CampaignName.Builder newBuilder()
-
toBuilder
public CampaignName.Builder toBuilder()
-
of
public static CampaignName of(java.lang.String customerId, java.lang.String campaignId)
-
format
public static java.lang.String format(java.lang.String customerId, java.lang.String campaignId)
-
parse
public static CampaignName parse(java.lang.String formattedString)
-
parseList
public static java.util.List<CampaignName> parseList(java.util.List<java.lang.String> formattedStrings)
-
toStringList
public static java.util.List<java.lang.String> toStringList(java.util.List<CampaignName> values)
-
isParsableFrom
public static boolean isParsableFrom(java.lang.String formattedString)
-
getFieldValuesMap
public java.util.Map<java.lang.String,java.lang.String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public java.lang.String getFieldValue(java.lang.String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-