Class PublisherModelName (3.45.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
Name Description
publisher String
model 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 PublisherModelName.Builder newBuilder()
Returns
Type Description
PublisherModelName.Builder

of(String publisher, String model)

public static PublisherModelName of(String publisher, String model)
Parameters
Name Description
publisher String
model String
Returns
Type Description
PublisherModelName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<PublisherModelName> values)

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

Constructors

PublisherModelName() (deprecated)

protected PublisherModelName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o 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>

getModel()

public String getModel()
Returns
Type Description
String

getPublisher()

public String getPublisher()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides