Class AudienceName (0.56.0)

public class AudienceName implements ResourceName

Inheritance

Object > AudienceName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String property, String audience)

public static String format(String property, String audience)
Parameters
Name Description
property String
audience 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 AudienceName.Builder newBuilder()
Returns
Type Description
AudienceName.Builder

of(String property, String audience)

public static AudienceName of(String property, String audience)
Parameters
Name Description
property String
audience String
Returns
Type Description
AudienceName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<AudienceName> values)

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

Constructors

AudienceName() (deprecated)

protected AudienceName()

Methods

equals(Object o)

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

getAudience()

public String getAudience()
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>

getProperty()

public String getProperty()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides