public static final class DeliveryIndicator.Builder extends GeneratedMessage.Builder<DeliveryIndicator.Builder> implements DeliveryIndicatorOrBuilderIndicates the delivery performance of the LineItem.
Protobuf type google.ads.admanager.v1.DeliveryIndicator
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeliveryIndicator.BuilderImplements
DeliveryIndicatorOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeliveryIndicator.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeliveryIndicator.Builder |
|
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 |
doubleThe 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 |
doubleThe expectedDeliveryPercentage to set. |
| Returns | |
|---|---|
| Type | Description |
DeliveryIndicator.Builder |
This builder for chaining. |