Class CustomDimensionName (0.37.0)

public class CustomDimensionName implements ResourceName

Inheritance

Object > CustomDimensionName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String property, String customDimension)

public static String format(String property, String customDimension)
Parameters
NameDescription
propertyString
customDimensionString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String property, String customDimension)

public static CustomDimensionName of(String property, String customDimension)
Parameters
NameDescription
propertyString
customDimensionString
Returns
TypeDescription
CustomDimensionName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CustomDimensionName> values)

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

Constructors

CustomDimensionName()

protected CustomDimensionName()

Methods

equals(Object o)

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

getCustomDimension()

public String getCustomDimension()
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 CustomDimensionName.Builder toBuilder()
Returns
TypeDescription
CustomDimensionName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides