Class DeliveryIndicator.Builder (0.54.0)

public static final class DeliveryIndicator.Builder extends GeneratedMessage.Builder<DeliveryIndicator.Builder> implements DeliveryIndicatorOrBuilder

Indicates the delivery performance of the LineItem.

Protobuf type google.ads.admanager.v1.DeliveryIndicator

Static Methods

getDescriptor()

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

Methods

build()

public DeliveryIndicator build()
Returns
Type Description
DeliveryIndicator

buildPartial()

public DeliveryIndicator buildPartial()
Returns
Type Description
DeliveryIndicator

clear()

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

clearActualDeliveryPercentage()

public DeliveryIndicator.Builder clearActualDeliveryPercentage()

Output only. The actual delivery percentage of the LineItem.

optional double actual_delivery_percentage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeliveryIndicator.Builder

This builder for chaining.

clearExpectedDeliveryPercentage()

public DeliveryIndicator.Builder clearExpectedDeliveryPercentage()

Output only. The expected delivery percentage of the LineItem.

optional double expected_delivery_percentage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeliveryIndicator.Builder

This builder for chaining.

getActualDeliveryPercentage()

public double getActualDeliveryPercentage()

Output only. The actual delivery percentage of the LineItem.

optional double actual_delivery_percentage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The actualDeliveryPercentage.

getDefaultInstanceForType()

public DeliveryIndicator getDefaultInstanceForType()
Returns
Type Description
DeliveryIndicator

getDescriptorForType()

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

getExpectedDeliveryPercentage()

public double getExpectedDeliveryPercentage()

Output only. The expected delivery percentage of the LineItem.

optional double expected_delivery_percentage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The expectedDeliveryPercentage.

hasActualDeliveryPercentage()

public boolean hasActualDeliveryPercentage()

Output only. The actual delivery percentage of the LineItem.

optional double actual_delivery_percentage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the actualDeliveryPercentage field is set.

hasExpectedDeliveryPercentage()

public boolean hasExpectedDeliveryPercentage()

Output only. The expected delivery percentage of the LineItem.

optional double expected_delivery_percentage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the expectedDeliveryPercentage field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeliveryIndicator other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setActualDeliveryPercentage(double value)

public DeliveryIndicator.Builder setActualDeliveryPercentage(double value)

Output only. The actual delivery percentage of the LineItem.

optional double actual_delivery_percentage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value double

The actualDeliveryPercentage to set.

Returns
Type Description
DeliveryIndicator.Builder

This builder for chaining.

setExpectedDeliveryPercentage(double value)

public DeliveryIndicator.Builder setExpectedDeliveryPercentage(double value)

Output only. The expected delivery percentage of the LineItem.

optional double expected_delivery_percentage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value double

The expectedDeliveryPercentage to set.

Returns
Type Description
DeliveryIndicator.Builder

This builder for chaining.