public static final class DeliveryForecast.Builder extends GeneratedMessage.Builder<DeliveryForecast.Builder> implements DeliveryForecastOrBuilderRepresents a single delivery data point, with both available and forecast number.
Protobuf type google.ads.admanager.v1.DeliveryForecast
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeliveryForecast.BuilderImplements
DeliveryForecastOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeliveryForecast build()| Returns | |
|---|---|
| Type | Description |
DeliveryForecast |
|
buildPartial()
public DeliveryForecast buildPartial()| Returns | |
|---|---|
| Type | Description |
DeliveryForecast |
|
clear()
public DeliveryForecast.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeliveryForecast.Builder |
|
clearAvailable()
public DeliveryForecast.Builder clearAvailable()The number of units that can be booked without affecting the delivery of any reserved LineItems.
optional int64 available = 2;
| Returns | |
|---|---|
| Type | Description |
DeliveryForecast.Builder |
This builder for chaining. |
clearMatched()
public DeliveryForecast.Builder clearMatched()The number of units matching the specified targeting and delivery settings.
optional int64 matched = 1;
| Returns | |
|---|---|
| Type | Description |
DeliveryForecast.Builder |
This builder for chaining. |
clearPossible()
public DeliveryForecast.Builder clearPossible()The number of units that can be booked without affecting the delivery of any reserved LineItem or lower priority LineItem.
optional int64 possible = 3;
| Returns | |
|---|---|
| Type | Description |
DeliveryForecast.Builder |
This builder for chaining. |
getAvailable()
public long getAvailable()The number of units that can be booked without affecting the delivery of any reserved LineItems.
optional int64 available = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The available. |
getDefaultInstanceForType()
public DeliveryForecast getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeliveryForecast |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMatched()
public long getMatched()The number of units matching the specified targeting and delivery settings.
optional int64 matched = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The matched. |
getPossible()
public long getPossible()The number of units that can be booked without affecting the delivery of any reserved LineItem or lower priority LineItem.
optional int64 possible = 3;
| Returns | |
|---|---|
| Type | Description |
long |
The possible. |
hasAvailable()
public boolean hasAvailable()The number of units that can be booked without affecting the delivery of any reserved LineItems.
optional int64 available = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the available field is set. |
hasMatched()
public boolean hasMatched()The number of units matching the specified targeting and delivery settings.
optional int64 matched = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the matched field is set. |
hasPossible()
public boolean hasPossible()The number of units that can be booked without affecting the delivery of any reserved LineItem or lower priority LineItem.
optional int64 possible = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the possible field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeliveryForecast other)
public DeliveryForecast.Builder mergeFrom(DeliveryForecast other)| Parameter | |
|---|---|
| Name | Description |
other |
DeliveryForecast |
| Returns | |
|---|---|
| Type | Description |
DeliveryForecast.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeliveryForecast.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeliveryForecast.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeliveryForecast.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeliveryForecast.Builder |
|
setAvailable(long value)
public DeliveryForecast.Builder setAvailable(long value)The number of units that can be booked without affecting the delivery of any reserved LineItems.
optional int64 available = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe available to set. |
| Returns | |
|---|---|
| Type | Description |
DeliveryForecast.Builder |
This builder for chaining. |
setMatched(long value)
public DeliveryForecast.Builder setMatched(long value)The number of units matching the specified targeting and delivery settings.
optional int64 matched = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe matched to set. |
| Returns | |
|---|---|
| Type | Description |
DeliveryForecast.Builder |
This builder for chaining. |
setPossible(long value)
public DeliveryForecast.Builder setPossible(long value)The number of units that can be booked without affecting the delivery of any reserved LineItem or lower priority LineItem.
optional int64 possible = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe possible to set. |
| Returns | |
|---|---|
| Type | Description |
DeliveryForecast.Builder |
This builder for chaining. |