public com.google.type.Money getDefaultInstanceForType() { return com.google.type.Money.getDefaultInstance(); }
/** * <pre> * The 3-letter currency code defined in ISO 4217. * </pre> * * <code>string currency_code = 1;</code> */ public Builder clearCurrencyCode() { currencyCode_ = getDefaultInstance().getCurrencyCode(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.type.Money other) { if (other == com.google.type.Money.getDefaultInstance()) return this; if (!other.getCurrencyCode().isEmpty()) { currencyCode_ = other.currencyCode_; onChanged(); } if (other.getUnits() != 0L) { setUnits(other.getUnits()); } if (other.getNanos() != 0) { setNanos(other.getNanos()); } onChanged(); return this; }