Class BudgetName (2.41.0)

public class BudgetName implements ResourceName

Inheritance

Object > BudgetName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String billingAccount, String budget)

public static String format(String billingAccount, String budget)
Parameters
NameDescription
billingAccountString
budgetString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String billingAccount, String budget)

public static BudgetName of(String billingAccount, String budget)
Parameters
NameDescription
billingAccountString
budgetString
Returns
TypeDescription
BudgetName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<BudgetName> values)

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

Constructors

BudgetName() (deprecated)

protected BudgetName()

Methods

equals(Object o)

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

getBillingAccount()

public String getBillingAccount()
Returns
TypeDescription
String

getBudget()

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides