# Interface YoutubeProductPerformanceViewOrBuilder (1.21.0)

1.21.0 (latest) 1.19.0 1.16.0 1.15.0 1.13.0 1.11.0 1.10.0 1.8.0 1.6.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.46.0 0.44.0 0.43.0 0.40.0 0.39.0 0.38.0 0.36.0 0.35.0 0.34.0 0.33.0 0.32.0 0.31.0 0.30.0 0.29.0 0.28.0 0.27.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0

    public interface YoutubeProductPerformanceViewOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getClicks()

    public abstract long getClicks()

The number of product clicks.

`optional int64 clicks = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The clicks. |

### getCommissions()

    public abstract Price getCommissions()

The commissions amount (pending and paid).

`optional .google.shopping.type.Price commissions = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.shopping.type.Price` | The commissions. |

### getCommissionsOrBuilder()

    public abstract PriceOrBuilder getCommissionsOrBuilder()

The commissions amount (pending and paid).

`optional .google.shopping.type.Price commissions = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.shopping.type.PriceOrBuilder` |   |

### getDate()

    public abstract Date getDate()

Date in the merchant timezone to which metrics apply. Segment.

Condition on `date` is required in the `WHERE` clause.

`.google.type.Date date = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.type.Date` | The date. |

### getDateOrBuilder()

    public abstract DateOrBuilder getDateOrBuilder()

Date in the merchant timezone to which metrics apply. Segment.

Condition on `date` is required in the `WHERE` clause.

`.google.type.Date date = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.type.DateOrBuilder` |   |

### getDistinctCreatorCount()

    public abstract long getDistinctCreatorCount()

The number of distinct creator channels the product was shown on.

`optional int64 distinct_creator_count = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The distinctCreatorCount. |

### getDistinctVideoCount()

    public abstract long getDistinctVideoCount()

The number of distinct videos the product was shown on.

`optional int64 distinct_video_count = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The distinctVideoCount. |

### getGrossSales()

    public abstract Price getGrossSales()

The gross sales amount, before refunds.

`optional .google.shopping.type.Price gross_sales = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.shopping.type.Price` | The grossSales. |

### getGrossSalesOrBuilder()

    public abstract PriceOrBuilder getGrossSalesOrBuilder()

The gross sales amount, before refunds.

`optional .google.shopping.type.Price gross_sales = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.shopping.type.PriceOrBuilder` |   |

### getNetSales()

    public abstract Price getNetSales()

The net sales amount (includes both purchase and refunds).

`optional .google.shopping.type.Price net_sales = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.shopping.type.Price` | The netSales. |

### getNetSalesOrBuilder()

    public abstract PriceOrBuilder getNetSalesOrBuilder()

The net sales amount (includes both purchase and refunds).

`optional .google.shopping.type.Price net_sales = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.shopping.type.PriceOrBuilder` |   |

### getOfferId()

    public abstract String getOfferId()

The merchant-provided product id.

`optional string offer_id = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The offerId. |

### getOfferIdBytes()

    public abstract ByteString getOfferIdBytes()

The merchant-provided product id.

`optional string offer_id = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for offerId. |

### getOrders()

    public abstract long getOrders()

The number of orders.

`optional int64 orders = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The orders. |

### getTaggedCreatorCount()

    public abstract long getTaggedCreatorCount()

The number of distinct creators that tagged the product.

`optional int64 tagged_creator_count = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The taggedCreatorCount. |

### getTaggedVideoCount()

    public abstract long getTaggedVideoCount()

The number of distinct videos that tagged the product.

`optional int64 tagged_video_count = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The taggedVideoCount. |

### getTitle()

    public abstract String getTitle()

The product title.

`optional string title = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The title. |

### getTitleBytes()

    public abstract ByteString getTitleBytes()

The product title.

`optional string title = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for title. |

### getViews()

    public abstract long getViews()

The number of YouTube views.

`optional int64 views = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The views. |

### hasClicks()

    public abstract boolean hasClicks()

The number of product clicks.

`optional int64 clicks = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the clicks field is set. |

### hasCommissions()

    public abstract boolean hasCommissions()

The commissions amount (pending and paid).

`optional .google.shopping.type.Price commissions = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the commissions field is set. |

### hasDate()

    public abstract boolean hasDate()

Date in the merchant timezone to which metrics apply. Segment.

Condition on `date` is required in the `WHERE` clause.

`.google.type.Date date = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the date field is set. |

### hasDistinctCreatorCount()

    public abstract boolean hasDistinctCreatorCount()

The number of distinct creator channels the product was shown on.

`optional int64 distinct_creator_count = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the distinctCreatorCount field is set. |

### hasDistinctVideoCount()

    public abstract boolean hasDistinctVideoCount()

The number of distinct videos the product was shown on.

`optional int64 distinct_video_count = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the distinctVideoCount field is set. |

### hasGrossSales()

    public abstract boolean hasGrossSales()

The gross sales amount, before refunds.

`optional .google.shopping.type.Price gross_sales = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the grossSales field is set. |

### hasNetSales()

    public abstract boolean hasNetSales()

The net sales amount (includes both purchase and refunds).

`optional .google.shopping.type.Price net_sales = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the netSales field is set. |

### hasOfferId()

    public abstract boolean hasOfferId()

The merchant-provided product id.

`optional string offer_id = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the offerId field is set. |

### hasOrders()

    public abstract boolean hasOrders()

The number of orders.

`optional int64 orders = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the orders field is set. |

### hasTaggedCreatorCount()

    public abstract boolean hasTaggedCreatorCount()

The number of distinct creators that tagged the product.

`optional int64 tagged_creator_count = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the taggedCreatorCount field is set. |

### hasTaggedVideoCount()

    public abstract boolean hasTaggedVideoCount()

The number of distinct videos that tagged the product.

`optional int64 tagged_video_count = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the taggedVideoCount field is set. |

### hasTitle()

    public abstract boolean hasTitle()

The product title.

`optional string title = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the title field is set. |

### hasViews()

    public abstract boolean hasViews()

The number of YouTube views.

`optional int64 views = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the views field is set. |