Class CustomTargetingValueName (0.1.0)

public class CustomTargetingValueName implements ResourceName

Inheritance

Object > CustomTargetingValueName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String networkCode, String customTargetingKey, String customTargetingValue)

public static String format(String networkCode, String customTargetingKey, String customTargetingValue)
Parameters
Name Description
networkCode String
customTargetingKey String
customTargetingValue String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static CustomTargetingValueName.Builder newBuilder()
Returns
Type Description
CustomTargetingValueName.Builder

of(String networkCode, String customTargetingKey, String customTargetingValue)

public static CustomTargetingValueName of(String networkCode, String customTargetingKey, String customTargetingValue)
Parameters
Name Description
networkCode String
customTargetingKey String
customTargetingValue String
Returns
Type Description
CustomTargetingValueName

parse(String formattedString)

public static CustomTargetingValueName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
CustomTargetingValueName

parseList(List<String> formattedStrings)

public static List<CustomTargetingValueName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<CustomTargetingValueName>

toStringList(List<CustomTargetingValueName> values)

public static List<String> toStringList(List<CustomTargetingValueName> values)
Parameter
Name Description
values List<CustomTargetingValueName>
Returns
Type Description
List<String>

Constructors

CustomTargetingValueName() (deprecated)

protected CustomTargetingValueName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getCustomTargetingKey()

public String getCustomTargetingKey()
Returns
Type Description
String

getCustomTargetingValue()

public String getCustomTargetingValue()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getNetworkCode()

public String getNetworkCode()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public CustomTargetingValueName.Builder toBuilder()
Returns
Type Description
CustomTargetingValueName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides