Class LastPeriodAmount.Builder (2.83.0)

public static final class LastPeriodAmount.Builder extends GeneratedMessage.Builder<LastPeriodAmount.Builder> implements LastPeriodAmountOrBuilder

Describes a budget amount targeted to the last Filter.calendar_period spend. At this time, the amount is automatically 100% of the last calendar period's spend; that is, there are no other options yet. LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.

Protobuf type google.cloud.billing.budgets.v1.LastPeriodAmount

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public LastPeriodAmount build()
Returns
Type Description
LastPeriodAmount

buildPartial()

public LastPeriodAmount buildPartial()
Returns
Type Description
LastPeriodAmount

clear()

public LastPeriodAmount.Builder clear()
Returns
Type Description
LastPeriodAmount.Builder
Overrides

getDefaultInstanceForType()

public LastPeriodAmount getDefaultInstanceForType()
Returns
Type Description
LastPeriodAmount

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LastPeriodAmount other)

public LastPeriodAmount.Builder mergeFrom(LastPeriodAmount other)
Parameter
Name Description
other LastPeriodAmount
Returns
Type Description
LastPeriodAmount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LastPeriodAmount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LastPeriodAmount.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LastPeriodAmount.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LastPeriodAmount.Builder
Overrides