Class ForecastBreakdown (0.62.0)

public final class ForecastBreakdown extends GeneratedMessage implements ForecastBreakdownOrBuilder

Represents the breakdown entries for a list of targetings and creatives.

Protobuf type google.ads.admanager.v1.ForecastBreakdown

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

NAMED_ENTRIES_FIELD_NUMBER

public static final int NAMED_ENTRIES_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ForecastBreakdown getDefaultInstance()
Returns
Type Description
ForecastBreakdown

getDescriptor()

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

newBuilder()

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

newBuilder(ForecastBreakdown prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ForecastBreakdown getDefaultInstanceForType()
Returns
Type Description
ForecastBreakdown

getEndTime()

public Timestamp getEndTime()

The end time of the represented breakdown.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The end time of the represented breakdown.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getNamedEntries(int index)

public ForecastBreakdownEntry getNamedEntries(int index)

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Parameter
Name Description
index int
Returns
Type Description
ForecastBreakdownEntry

getNamedEntriesCount()

public int getNamedEntriesCount()

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Returns
Type Description
int

getNamedEntriesList()

public List<ForecastBreakdownEntry> getNamedEntriesList()

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Returns
Type Description
List<ForecastBreakdownEntry>

getNamedEntriesOrBuilder(int index)

public ForecastBreakdownEntryOrBuilder getNamedEntriesOrBuilder(int index)

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

Parameter
Name Description
index int
Returns
Type Description
ForecastBreakdownEntryOrBuilder

getNamedEntriesOrBuilderList()

public List<? extends ForecastBreakdownEntryOrBuilder> getNamedEntriesOrBuilderList()

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

repeated .google.ads.admanager.v1.ForecastBreakdownEntry named_entries = 3;

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

The starting time of the represented breakdown.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The starting time of the represented breakdown.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

The end time of the represented breakdown.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

The starting time of the represented breakdown.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime 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 ForecastBreakdown.Builder newBuilderForType()
Returns
Type Description
ForecastBreakdown.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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