Class ForecastBreakdownTarget (0.62.0)

public final class ForecastBreakdownTarget extends GeneratedMessage implements ForecastBreakdownTargetOrBuilder

Specifies inventory targeted by a breakdown entry.

Protobuf type google.ads.admanager.v1.ForecastBreakdownTarget

Static Fields

CREATIVE_PLACEHOLDER_FIELD_NUMBER

public static final int CREATIVE_PLACEHOLDER_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

TARGETING_FIELD_NUMBER

public static final int TARGETING_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ForecastBreakdownTarget getDefaultInstance()
Returns
Type Description
ForecastBreakdownTarget

getDescriptor()

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

newBuilder()

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

newBuilder(ForecastBreakdownTarget prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCreativePlaceholder()

public CreativePlaceholder getCreativePlaceholder()

If specified, restrict the breakdown to only inventory matching this creative.

optional .google.ads.admanager.v1.CreativePlaceholder creative_placeholder = 3;

Returns
Type Description
CreativePlaceholder

The creativePlaceholder.

getCreativePlaceholderOrBuilder()

public CreativePlaceholderOrBuilder getCreativePlaceholderOrBuilder()

If specified, restrict the breakdown to only inventory matching this creative.

optional .google.ads.admanager.v1.CreativePlaceholder creative_placeholder = 3;

Returns
Type Description
CreativePlaceholderOrBuilder

getDefaultInstanceForType()

public ForecastBreakdownTarget getDefaultInstanceForType()
Returns
Type Description
ForecastBreakdownTarget

getDisplayName()

public String getDisplayName()

An optional name for this breakdown target, to be populated in the corresponding ForecastBreakdownEntry.displayName field.

optional string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

An optional name for this breakdown target, to be populated in the corresponding ForecastBreakdownEntry.displayName field.

optional string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargeting()

public Targeting getTargeting()

If specified, the targeting for this breakdown. Format: networks/{network_code}/targetings/{targeting}

optional .google.ads.admanager.v1.Targeting targeting = 2;

Returns
Type Description
Targeting

The targeting.

getTargetingOrBuilder()

public TargetingOrBuilder getTargetingOrBuilder()

If specified, the targeting for this breakdown. Format: networks/{network_code}/targetings/{targeting}

optional .google.ads.admanager.v1.Targeting targeting = 2;

Returns
Type Description
TargetingOrBuilder

hasCreativePlaceholder()

public boolean hasCreativePlaceholder()

If specified, restrict the breakdown to only inventory matching this creative.

optional .google.ads.admanager.v1.CreativePlaceholder creative_placeholder = 3;

Returns
Type Description
boolean

Whether the creativePlaceholder field is set.

hasDisplayName()

public boolean hasDisplayName()

An optional name for this breakdown target, to be populated in the corresponding ForecastBreakdownEntry.displayName field.

optional string display_name = 1;

Returns
Type Description
boolean

Whether the displayName field is set.

hasTargeting()

public boolean hasTargeting()

If specified, the targeting for this breakdown. Format: networks/{network_code}/targetings/{targeting}

optional .google.ads.admanager.v1.Targeting targeting = 2;

Returns
Type Description
boolean

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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