public final class LineItemDeliveryForecast extends GeneratedMessage implements LineItemDeliveryForecastOrBuilder
The forecasted delivery of a [ProposalLineItem][] or
LineItem.
Protobuf type google.ads.admanager.v1.LineItemDeliveryForecast
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
DELIVERED_UNITS_FIELD_NUMBER
public static final int DELIVERED_UNITS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LINE_ITEM_FIELD_NUMBER
public static final int LINE_ITEM_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MATCHED_UNITS_FIELD_NUMBER
public static final int MATCHED_UNITS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ORDER_FIELD_NUMBER
public static final int ORDER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PREDICTED_DELIVERY_UNITS_FIELD_NUMBER
public static final int PREDICTED_DELIVERY_UNITS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
UNIT_TYPE_FIELD_NUMBER
public static final int UNIT_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static LineItemDeliveryForecast getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LineItemDeliveryForecast.Builder newBuilder()
newBuilder(LineItemDeliveryForecast prototype)
public static LineItemDeliveryForecast.Builder newBuilder(LineItemDeliveryForecast prototype)
public static LineItemDeliveryForecast parseDelimitedFrom(InputStream input)
public static LineItemDeliveryForecast parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LineItemDeliveryForecast parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LineItemDeliveryForecast parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LineItemDeliveryForecast parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LineItemDeliveryForecast parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LineItemDeliveryForecast parseFrom(CodedInputStream input)
public static LineItemDeliveryForecast parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LineItemDeliveryForecast parseFrom(InputStream input)
public static LineItemDeliveryForecast parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LineItemDeliveryForecast parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LineItemDeliveryForecast parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LineItemDeliveryForecast> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public LineItemDeliveryForecast getDefaultInstanceForType()
getDeliveredUnits()
public long getDeliveredUnits()
The number of units, defined by
Goal.unitType, that have already
been served if the reservation is already running.
optional int64 delivered_units = 5;
| Returns |
| Type |
Description |
long |
The deliveredUnits.
|
getLineItem()
public String getLineItem()
Uniquely identifies this line item delivery forecast. This value is
read-only and will be either the resource name of the
LineItem resource it represents, or
unset if the forecast represents a prospective line item. Format:
networks/{network_code}/lineItems/{line_item_id}
optional string line_item = 1 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The lineItem.
|
getLineItemBytes()
public ByteString getLineItemBytes()
Uniquely identifies this line item delivery forecast. This value is
read-only and will be either the resource name of the
LineItem resource it represents, or
unset if the forecast represents a prospective line item. Format:
networks/{network_code}/lineItems/{line_item_id}
optional string line_item = 1 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for lineItem.
|
getMatchedUnits()
public long getMatchedUnits()
The number of units, defined by
Goal.unitType, that match the
specified LineItem#targeting and delivery settings.
optional int64 matched_units = 6;
| Returns |
| Type |
Description |
long |
The matchedUnits.
|
getOrder()
The resource name of the Order object that
this line item belongs to, or null if the forecast represents a prospective
line item without an
LineItem.order set.
Format: networks/{network_code}/orders/{order_id}
optional string order = 2 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The order.
|
getOrderBytes()
public ByteString getOrderBytes()
The resource name of the Order object that
this line item belongs to, or null if the forecast represents a prospective
line item without an
LineItem.order set.
Format: networks/{network_code}/orders/{order_id}
optional string order = 2 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for order.
|
getParserForType()
public Parser<LineItemDeliveryForecast> getParserForType()
Overrides
getPredictedDeliveryUnits()
public long getPredictedDeliveryUnits()
The number of units, defined by
Goal.unitType, that will be
delivered by the line item. Delivery of existing line items that are of
same or lower priorities may be impacted.
optional int64 predicted_delivery_units = 4;
| Returns |
| Type |
Description |
long |
The predictedDeliveryUnits.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getUnitType()
public UnitTypeEnum.UnitType getUnitType()
The unit with which the goal or cap of the LineItem is defined. Will be the
same value as Goal.unitType for
both a set line item or a prospective one.
optional .google.ads.admanager.v1.UnitTypeEnum.UnitType unit_type = 3;
getUnitTypeValue()
public int getUnitTypeValue()
The unit with which the goal or cap of the LineItem is defined. Will be the
same value as Goal.unitType for
both a set line item or a prospective one.
optional .google.ads.admanager.v1.UnitTypeEnum.UnitType unit_type = 3;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for unitType.
|
hasDeliveredUnits()
public boolean hasDeliveredUnits()
The number of units, defined by
Goal.unitType, that have already
been served if the reservation is already running.
optional int64 delivered_units = 5;
| Returns |
| Type |
Description |
boolean |
Whether the deliveredUnits field is set.
|
hasLineItem()
public boolean hasLineItem()
Uniquely identifies this line item delivery forecast. This value is
read-only and will be either the resource name of the
LineItem resource it represents, or
unset if the forecast represents a prospective line item. Format:
networks/{network_code}/lineItems/{line_item_id}
optional string line_item = 1 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
boolean |
Whether the lineItem field is set.
|
hasMatchedUnits()
public boolean hasMatchedUnits()
The number of units, defined by
Goal.unitType, that match the
specified LineItem#targeting and delivery settings.
optional int64 matched_units = 6;
| Returns |
| Type |
Description |
boolean |
Whether the matchedUnits field is set.
|
hasOrder()
public boolean hasOrder()
The resource name of the Order object that
this line item belongs to, or null if the forecast represents a prospective
line item without an
LineItem.order set.
Format: networks/{network_code}/orders/{order_id}
optional string order = 2 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
boolean |
Whether the order field is set.
|
hasPredictedDeliveryUnits()
public boolean hasPredictedDeliveryUnits()
The number of units, defined by
Goal.unitType, that will be
delivered by the line item. Delivery of existing line items that are of
same or lower priorities may be impacted.
optional int64 predicted_delivery_units = 4;
| Returns |
| Type |
Description |
boolean |
Whether the predictedDeliveryUnits field is set.
|
hasUnitType()
public boolean hasUnitType()
The unit with which the goal or cap of the LineItem is defined. Will be the
same value as Goal.unitType for
both a set line item or a prospective one.
optional .google.ads.admanager.v1.UnitTypeEnum.UnitType unit_type = 3;
| Returns |
| Type |
Description |
boolean |
Whether the unitType field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LineItemDeliveryForecast.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected LineItemDeliveryForecast.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public LineItemDeliveryForecast.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides