Class CampaignExperimentName
- java.lang.Object
-
- com.google.ads.googleads.v9.resources.CampaignExperimentName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class CampaignExperimentName extends java.lang.Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CampaignExperimentName.Builder
Builder for customers/{customer_id}/campaignExperiments/{campaign_experiment_id}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CampaignExperimentName()
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 campaignExperimentId)
java.lang.String
getCampaignExperimentId()
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 CampaignExperimentName.Builder
newBuilder()
static CampaignExperimentName
of(java.lang.String customerId, java.lang.String campaignExperimentId)
static CampaignExperimentName
parse(java.lang.String formattedString)
static java.util.List<CampaignExperimentName>
parseList(java.util.List<java.lang.String> formattedStrings)
CampaignExperimentName.Builder
toBuilder()
java.lang.String
toString()
static java.util.List<java.lang.String>
toStringList(java.util.List<CampaignExperimentName> values)
-
-
-
Method Detail
-
getCustomerId
public java.lang.String getCustomerId()
-
getCampaignExperimentId
public java.lang.String getCampaignExperimentId()
-
newBuilder
public static CampaignExperimentName.Builder newBuilder()
-
toBuilder
public CampaignExperimentName.Builder toBuilder()
-
of
public static CampaignExperimentName of(java.lang.String customerId, java.lang.String campaignExperimentId)
-
format
public static java.lang.String format(java.lang.String customerId, java.lang.String campaignExperimentId)
-
parse
public static CampaignExperimentName parse(java.lang.String formattedString)
-
parseList
public static java.util.List<CampaignExperimentName> parseList(java.util.List<java.lang.String> formattedStrings)
-
toStringList
public static java.util.List<java.lang.String> toStringList(java.util.List<CampaignExperimentName> 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
-
-