Class AudienceName (0.31.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
NameDescription
propertyString
audienceString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static AudienceName.Builder newBuilder()
Returns
TypeDescription
AudienceName.Builder

of(String property, String audience)

public static AudienceName of(String property, String audience)
Parameters
NameDescription
propertyString
audienceString
Returns
TypeDescription
AudienceName

parse(String formattedString)

public static AudienceName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
AudienceName

parseList(List<String> formattedStrings)

public static List<AudienceName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<AudienceName>

toStringList(List<AudienceName> values)

public static List<String> toStringList(List<AudienceName> values)
Parameter
NameDescription
valuesList<AudienceName>
Returns
TypeDescription
List<String>

Constructors

AudienceName()

protected AudienceName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getAudience()

public String getAudience()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getProperty()

public String getProperty()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public AudienceName.Builder toBuilder()
Returns
TypeDescription
AudienceName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides