Class DeliveryIndicator (0.54.0)

public final class DeliveryIndicator extends GeneratedMessage implements DeliveryIndicatorOrBuilder

Indicates the delivery performance of the LineItem.

Protobuf type google.ads.admanager.v1.DeliveryIndicator

Static Fields

ACTUAL_DELIVERY_PERCENTAGE_FIELD_NUMBER

public static final int ACTUAL_DELIVERY_PERCENTAGE_FIELD_NUMBER
Field Value
Type Description
int

EXPECTED_DELIVERY_PERCENTAGE_FIELD_NUMBER

public static final int EXPECTED_DELIVERY_PERCENTAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeliveryIndicator getDefaultInstance()
Returns
Type Description
DeliveryIndicator

getDescriptor()

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

newBuilder()

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

newBuilder(DeliveryIndicator prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getActualDeliveryPercentage()

public double getActualDeliveryPercentage()

Output only. The actual delivery percentage of the LineItem.

optional double actual_delivery_percentage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The actualDeliveryPercentage.

getDefaultInstanceForType()

public DeliveryIndicator getDefaultInstanceForType()
Returns
Type Description
DeliveryIndicator

getExpectedDeliveryPercentage()

public double getExpectedDeliveryPercentage()

Output only. The expected delivery percentage of the LineItem.

optional double expected_delivery_percentage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The expectedDeliveryPercentage.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasActualDeliveryPercentage()

public boolean hasActualDeliveryPercentage()

Output only. The actual delivery percentage of the LineItem.

optional double actual_delivery_percentage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the actualDeliveryPercentage field is set.

hasExpectedDeliveryPercentage()

public boolean hasExpectedDeliveryPercentage()

Output only. The expected delivery percentage of the LineItem.

optional double expected_delivery_percentage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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