Class DeliveryForecast (0.62.0)

public final class DeliveryForecast extends GeneratedMessage implements DeliveryForecastOrBuilder

Represents a single delivery data point, with both available and forecast number.

Protobuf type google.ads.admanager.v1.DeliveryForecast

Static Fields

AVAILABLE_FIELD_NUMBER

public static final int AVAILABLE_FIELD_NUMBER
Field Value
Type Description
int

MATCHED_FIELD_NUMBER

public static final int MATCHED_FIELD_NUMBER
Field Value
Type Description
int

POSSIBLE_FIELD_NUMBER

public static final int POSSIBLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeliveryForecast getDefaultInstance()
Returns
Type Description
DeliveryForecast

getDescriptor()

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

newBuilder()

public static DeliveryForecast.Builder newBuilder()
Returns
Type Description
DeliveryForecast.Builder

newBuilder(DeliveryForecast prototype)

public static DeliveryForecast.Builder newBuilder(DeliveryForecast prototype)
Parameter
Name Description
prototype DeliveryForecast
Returns
Type Description
DeliveryForecast.Builder

parseDelimitedFrom(InputStream input)

public static DeliveryForecast parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeliveryForecast
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeliveryForecast parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeliveryForecast
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DeliveryForecast parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DeliveryForecast
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeliveryForecast parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeliveryForecast
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeliveryForecast parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DeliveryForecast
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeliveryForecast parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeliveryForecast
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeliveryForecast parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DeliveryForecast
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeliveryForecast parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeliveryForecast
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DeliveryForecast parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeliveryForecast
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeliveryForecast parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeliveryForecast
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DeliveryForecast parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DeliveryForecast
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeliveryForecast parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeliveryForecast
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DeliveryForecast> parser()
Returns
Type Description
Parser<DeliveryForecast>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

getParserForType()

public Parser<DeliveryForecast> getParserForType()
Returns
Type Description
Parser<DeliveryForecast>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DeliveryForecast.Builder newBuilderForType()
Returns
Type Description
DeliveryForecast.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DeliveryForecast.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DeliveryForecast.Builder
Overrides

toBuilder()

public DeliveryForecast.Builder toBuilder()
Returns
Type Description
DeliveryForecast.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException