Class PublisherModelName (3.22.0)

public class PublisherModelName implements ResourceName

Inheritance

Object > PublisherModelName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String publisher, String model)

public static String format(String publisher, String model)
Parameters
NameDescription
publisherString
modelString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String publisher, String model)

public static PublisherModelName of(String publisher, String model)
Parameters
NameDescription
publisherString
modelString
Returns
TypeDescription
PublisherModelName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<PublisherModelName> values)

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

Constructors

PublisherModelName()

protected PublisherModelName()

Methods

equals(Object o)

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

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>

getModel()

public String getModel()
Returns
TypeDescription
String

getPublisher()

public String getPublisher()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides