Class OfferName (3.7.2)

public class OfferName implements ResourceName

Inheritance

Object > OfferName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String account, String offer)

public static String format(String account, String offer)
Parameters
NameDescription
accountString
offerString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String account, String offer)

public static OfferName of(String account, String offer)
Parameters
NameDescription
accountString
offerString
Returns
TypeDescription
OfferName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<OfferName> values)

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

Constructors

OfferName()

protected OfferName()

Methods

equals(Object o)

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

getAccount()

public String getAccount()
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>

getOffer()

public String getOffer()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides