Class MetadataName (0.106.0)

public class MetadataName implements ResourceName

Inheritance

java.lang.Object > MetadataName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String property)

public static String format(String property)
Parameter
Name Description
property 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 MetadataName.Builder newBuilder()
Returns
Type Description
MetadataName.Builder

of(String property)

public static MetadataName of(String property)
Parameter
Name Description
property String
Returns
Type Description
MetadataName

parse(String formattedString)

public static @Nullable MetadataName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
@org.jspecify.annotations.Nullable com.google.analytics.data.v1beta.MetadataName

parseList(List<String> formattedStrings)

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

toStringList(List<@Nullable MetadataName> values)

public static List<String> toStringList(List<@Nullable MetadataName> values)
Parameter
Name Description
values List<@org.jspecify.annotations.Nullable com.google.analytics.data.v1beta.MetadataName>
Returns
Type Description
List<String>

Constructors

MetadataName() (deprecated)

protected MetadataName()

Methods

equals(@Nullable Object o)

public boolean equals(@Nullable Object o)
Parameter
Name Description
o @org.jspecify.annotations.Nullable java.lang.Object
Returns
Type Description
boolean
Overrides

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 MetadataName.Builder toBuilder()
Returns
Type Description
MetadataName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides