Class ForecastBreakdownOptions (0.62.0)

public final class ForecastBreakdownOptions extends GeneratedMessage implements ForecastBreakdownOptionsOrBuilder

Configuration of forecast breakdown.

Protobuf type google.ads.admanager.v1.ForecastBreakdownOptions

Static Fields

TARGETS_FIELD_NUMBER

public static final int TARGETS_FIELD_NUMBER
Field Value
Type Description
int

TIME_WINDOWS_FIELD_NUMBER

public static final int TIME_WINDOWS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ForecastBreakdownOptions getDefaultInstance()
Returns
Type Description
ForecastBreakdownOptions

getDescriptor()

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

newBuilder()

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

newBuilder(ForecastBreakdownOptions prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ForecastBreakdownOptions getDefaultInstanceForType()
Returns
Type Description
ForecastBreakdownOptions

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargets(int index)

public ForecastBreakdownTarget getTargets(int index)

Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.

repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ForecastBreakdownTarget

getTargetsCount()

public int getTargetsCount()

Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.

repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTargetsList()

public List<ForecastBreakdownTarget> getTargetsList()

Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.

repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ForecastBreakdownTarget>

getTargetsOrBuilder(int index)

public ForecastBreakdownTargetOrBuilder getTargetsOrBuilder(int index)

Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.

repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ForecastBreakdownTargetOrBuilder

getTargetsOrBuilderList()

public List<? extends ForecastBreakdownTargetOrBuilder> getTargetsOrBuilderList()

Optional. For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted LineItem is assumed.

repeated .google.ads.admanager.v1.ForecastBreakdownTarget targets = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.ForecastBreakdownTargetOrBuilder>

getTimeWindows(int index)

public Timestamp getTimeWindows(int index)

Optional. The boundaries of time windows to configure time breakdown.

By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.

Also, the time boundaries are required to be in the same time zone, in strictly ascending order.

repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Timestamp

getTimeWindowsCount()

public int getTimeWindowsCount()

Optional. The boundaries of time windows to configure time breakdown.

By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.

Also, the time boundaries are required to be in the same time zone, in strictly ascending order.

repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTimeWindowsList()

public List<Timestamp> getTimeWindowsList()

Optional. The boundaries of time windows to configure time breakdown.

By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.

Also, the time boundaries are required to be in the same time zone, in strictly ascending order.

repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Timestamp>

getTimeWindowsOrBuilder(int index)

public TimestampOrBuilder getTimeWindowsOrBuilder(int index)

Optional. The boundaries of time windows to configure time breakdown.

By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.

Also, the time boundaries are required to be in the same time zone, in strictly ascending order.

repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TimestampOrBuilder

getTimeWindowsOrBuilderList()

public List<? extends TimestampOrBuilder> getTimeWindowsOrBuilderList()

Optional. The boundaries of time windows to configure time breakdown.

By default, the time window of the forecasted LineItem is assumed if none are explicitly specified in this field. But if set, at least two DateTimes are needed to define the boundaries of minimally one time window.

Also, the time boundaries are required to be in the same time zone, in strictly ascending order.

repeated .google.protobuf.Timestamp time_windows = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.protobuf.TimestampOrBuilder>

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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