public final class ForecastingLineItem extends GeneratedMessage implements ForecastingLineItemOrBuilderA LineItem or [ProposalLineItem][] to be forecasted along with an optional override advertiser.
Protobuf type google.ads.admanager.v1.ForecastingLineItem
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ForecastingLineItemImplements
ForecastingLineItemOrBuilderStatic Fields
ADVERTISER_FIELD_NUMBER
public static final int ADVERTISER_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LINE_ITEM_FIELD_NUMBER
public static final int LINE_ITEM_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ForecastingLineItem getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ForecastingLineItem.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem.Builder |
|
newBuilder(ForecastingLineItem prototype)
public static ForecastingLineItem.Builder newBuilder(ForecastingLineItem prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ForecastingLineItem |
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem.Builder |
|
parseDelimitedFrom(InputStream input)
public static ForecastingLineItem parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ForecastingLineItem parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ForecastingLineItem parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ForecastingLineItem parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ForecastingLineItem parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ForecastingLineItem parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ForecastingLineItem parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ForecastingLineItem parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ForecastingLineItem parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ForecastingLineItem parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ForecastingLineItem parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ForecastingLineItem parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ForecastingLineItem> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ForecastingLineItem> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAdvertiser()
public String getAdvertiser() Optional. The resource name of the advertiser
Company for the prospective line item.
Format: networks/{network_code}/companies/{company_id}
string advertiser = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The advertiser. |
getAdvertiserBytes()
public ByteString getAdvertiserBytes() Optional. The resource name of the advertiser
Company for the prospective line item.
Format: networks/{network_code}/companies/{company_id}
string advertiser = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for advertiser. |
getDefaultInstanceForType()
public ForecastingLineItem getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem |
|
getLineItem()
public LineItem getLineItem()Optional. The LineItem to be forecasted.
.google.ads.admanager.v1.LineItem line_item = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
LineItem |
The lineItem. |
getLineItemEntryCase()
public ForecastingLineItem.LineItemEntryCase getLineItemEntryCase()| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem.LineItemEntryCase |
|
getLineItemOrBuilder()
public LineItemOrBuilder getLineItemOrBuilder()Optional. The LineItem to be forecasted.
.google.ads.admanager.v1.LineItem line_item = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
LineItemOrBuilder |
|
getParserForType()
public Parser<ForecastingLineItem> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ForecastingLineItem> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasLineItem()
public boolean hasLineItem()Optional. The LineItem to be forecasted.
.google.ads.admanager.v1.LineItem line_item = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lineItem field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ForecastingLineItem.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ForecastingLineItem.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem.Builder |
|
toBuilder()
public ForecastingLineItem.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ForecastingLineItem.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|