Class DeliveryForecastOptions (0.62.0)

public final class DeliveryForecastOptions extends GeneratedMessage implements DeliveryForecastOptionsOrBuilder

Forecasting options for line item delivery forecasts.

Protobuf type google.ads.admanager.v1.DeliveryForecastOptions

Static Fields

IGNORED_LINE_ITEMS_FIELD_NUMBER

public static final int IGNORED_LINE_ITEMS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeliveryForecastOptions getDefaultInstance()
Returns
Type Description
DeliveryForecastOptions

getDescriptor()

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

newBuilder()

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

newBuilder(DeliveryForecastOptions prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DeliveryForecastOptions getDefaultInstanceForType()
Returns
Type Description
DeliveryForecastOptions

getIgnoredLineItems(int index)

public String getIgnoredLineItems(int index)

Optional. The resource names of line items to be ignored while performing the delivery simulation. Format: networks/{network_code}/lineItems/{line_item_id}

repeated string ignored_line_items = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The ignoredLineItems at the given index.

getIgnoredLineItemsBytes(int index)

public ByteString getIgnoredLineItemsBytes(int index)

Optional. The resource names of line items to be ignored while performing the delivery simulation. Format: networks/{network_code}/lineItems/{line_item_id}

repeated string ignored_line_items = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the ignoredLineItems at the given index.

getIgnoredLineItemsCount()

public int getIgnoredLineItemsCount()

Optional. The resource names of line items to be ignored while performing the delivery simulation. Format: networks/{network_code}/lineItems/{line_item_id}

repeated string ignored_line_items = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of ignoredLineItems.

getIgnoredLineItemsList()

public ProtocolStringList getIgnoredLineItemsList()

Optional. The resource names of line items to be ignored while performing the delivery simulation. Format: networks/{network_code}/lineItems/{line_item_id}

repeated string ignored_line_items = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the ignoredLineItems.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 DeliveryForecastOptions.Builder newBuilderForType()
Returns
Type Description
DeliveryForecastOptions.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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