Interface Invoice.CampaignSummaryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Invoice.CampaignSummary,Invoice.CampaignSummary.Builder
- Enclosing class:
- Invoice
public static interface Invoice.CampaignSummaryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongOutput only.Output only.com.google.protobuf.ByteStringOutput only.longOutput only.Output only.intOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCampaignDescription
boolean hasCampaignDescription()Output only. The description of the campaign. This is generally the same as the campaign name, but may differ.
optional string campaign_description = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the campaignDescription field is set.
-
getCampaignDescription
String getCampaignDescription()Output only. The description of the campaign. This is generally the same as the campaign name, but may differ.
optional string campaign_description = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The campaignDescription.
-
getCampaignDescriptionBytes
com.google.protobuf.ByteString getCampaignDescriptionBytes()Output only. The description of the campaign. This is generally the same as the campaign name, but may differ.
optional string campaign_description = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for campaignDescription.
-
hasQuantity
boolean hasQuantity()Output only. The quantity served for the given unit of measure.
optional int64 quantity = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the quantity field is set.
-
getQuantity
long getQuantity()Output only. The quantity served for the given unit of measure.
optional int64 quantity = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The quantity.
-
hasUnitOfMeasure
boolean hasUnitOfMeasure()Output only. The unit of measure for the quantity served.
optional .google.ads.googleads.v23.enums.UnitOfMeasureEnum.UnitOfMeasure unit_of_measure = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the unitOfMeasure field is set.
-
getUnitOfMeasureValue
int getUnitOfMeasureValue()Output only. The unit of measure for the quantity served.
optional .google.ads.googleads.v23.enums.UnitOfMeasureEnum.UnitOfMeasure unit_of_measure = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for unitOfMeasure.
-
getUnitOfMeasure
UnitOfMeasureEnum.UnitOfMeasure getUnitOfMeasure()Output only. The unit of measure for the quantity served.
optional .google.ads.googleads.v23.enums.UnitOfMeasureEnum.UnitOfMeasure unit_of_measure = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The unitOfMeasure.
-
hasAmountMicros
boolean hasAmountMicros()Output only. The amount attributable to this campaign for the given unit of measure during the service period, in micros. The currency code for this amount is the same as the Invoice.currency_code.
optional int64 amount_micros = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the amountMicros field is set.
-
getAmountMicros
long getAmountMicros()Output only. The amount attributable to this campaign for the given unit of measure during the service period, in micros. The currency code for this amount is the same as the Invoice.currency_code.
optional int64 amount_micros = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The amountMicros.
-