Class LastPeriodAmount.Builder (2.36.0)

public static final class LastPeriodAmount.Builder extends GeneratedMessageV3.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. Future configuration options will be described here (for example, configuring a percentage of last period's spend). LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LastPeriodAmount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LastPeriodAmount.Builder
Overrides

build()

public LastPeriodAmount build()
Returns
TypeDescription
LastPeriodAmount

buildPartial()

public LastPeriodAmount buildPartial()
Returns
TypeDescription
LastPeriodAmount

clear()

public LastPeriodAmount.Builder clear()
Returns
TypeDescription
LastPeriodAmount.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LastPeriodAmount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LastPeriodAmount.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LastPeriodAmount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LastPeriodAmount.Builder
Overrides

clone()

public LastPeriodAmount.Builder clone()
Returns
TypeDescription
LastPeriodAmount.Builder
Overrides

getDefaultInstanceForType()

public LastPeriodAmount getDefaultInstanceForType()
Returns
TypeDescription
LastPeriodAmount

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LastPeriodAmount other)

public LastPeriodAmount.Builder mergeFrom(LastPeriodAmount other)
Parameter
NameDescription
otherLastPeriodAmount
Returns
TypeDescription
LastPeriodAmount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LastPeriodAmount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LastPeriodAmount.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LastPeriodAmount.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LastPeriodAmount.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LastPeriodAmount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LastPeriodAmount.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LastPeriodAmount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LastPeriodAmount.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LastPeriodAmount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LastPeriodAmount.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LastPeriodAmount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LastPeriodAmount.Builder
Overrides