Class BudgetName
- java.lang.Object
-
- com.google.cloud.billing.budgets.v1.BudgetName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class BudgetName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BudgetName.Builder
Builder for billingAccounts/{billing_account}/budgets/{budget}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
BudgetName()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static String
format(String billingAccount, String budget)
String
getBillingAccount()
String
getBudget()
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static BudgetName.Builder
newBuilder()
static BudgetName
of(String billingAccount, String budget)
static BudgetName
parse(String formattedString)
static List<BudgetName>
parseList(List<String> formattedStrings)
BudgetName.Builder
toBuilder()
String
toString()
static List<String>
toStringList(List<BudgetName> values)
-
-
-
Constructor Detail
-
BudgetName
@Deprecated protected BudgetName()
Deprecated.
-
-
Method Detail
-
getBillingAccount
public String getBillingAccount()
-
getBudget
public String getBudget()
-
newBuilder
public static BudgetName.Builder newBuilder()
-
toBuilder
public BudgetName.Builder toBuilder()
-
of
public static BudgetName of(String billingAccount, String budget)
-
parse
public static BudgetName parse(String formattedString)
-
parseList
public static List<BudgetName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<BudgetName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-