Class NonProductPerformanceView.Builder (0.20.0)

public static final class NonProductPerformanceView.Builder extends GeneratedMessageV3.Builder<NonProductPerformanceView.Builder> implements NonProductPerformanceViewOrBuilder

Fields available for query in non_product_performance_view table.

Performance data on images and online store links leading to your non-product pages. This includes performance metrics (for example, clicks) and dimensions according to which performance metrics are segmented (for example, date).

Segment fields cannot be selected in queries without also selecting at least one metric field.

Values are only set for fields requested explicitly in the request's search query.

Protobuf type google.shopping.merchant.reports.v1beta.NonProductPerformanceView

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NonProductPerformanceView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NonProductPerformanceView.Builder
Overrides

build()

public NonProductPerformanceView build()
Returns
Type Description
NonProductPerformanceView

buildPartial()

public NonProductPerformanceView buildPartial()
Returns
Type Description
NonProductPerformanceView

clear()

public NonProductPerformanceView.Builder clear()
Returns
Type Description
NonProductPerformanceView.Builder
Overrides

clearClickThroughRate()

public NonProductPerformanceView.Builder clearClickThroughRate()

Click-through rate - the number of clicks (clicks) divided by the number of impressions (impressions) of images and online store links leading to your non-product pages. Metric.

optional double click_through_rate = 5;

Returns
Type Description
NonProductPerformanceView.Builder

This builder for chaining.

clearClicks()

public NonProductPerformanceView.Builder clearClicks()

Number of clicks on images and online store links leading to your non-product pages. Metric.

optional int64 clicks = 3;

Returns
Type Description
NonProductPerformanceView.Builder

This builder for chaining.

clearDate()

public NonProductPerformanceView.Builder clearDate()

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
NonProductPerformanceView.Builder

clearField(Descriptors.FieldDescriptor field)

public NonProductPerformanceView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NonProductPerformanceView.Builder
Overrides

clearImpressions()

public NonProductPerformanceView.Builder clearImpressions()

Number of times images and online store links leading to your non-product pages were shown. Metric.

optional int64 impressions = 4;

Returns
Type Description
NonProductPerformanceView.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NonProductPerformanceView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NonProductPerformanceView.Builder
Overrides

clearWeek()

public NonProductPerformanceView.Builder clearWeek()

First day of the week (Monday) of the metrics date in the merchant timezone. Segment.

.google.type.Date week = 2;

Returns
Type Description
NonProductPerformanceView.Builder

clone()

public NonProductPerformanceView.Builder clone()
Returns
Type Description
NonProductPerformanceView.Builder
Overrides

getClickThroughRate()

public double getClickThroughRate()

Click-through rate - the number of clicks (clicks) divided by the number of impressions (impressions) of images and online store links leading to your non-product pages. Metric.

optional double click_through_rate = 5;

Returns
Type Description
double

The clickThroughRate.

getClicks()

public long getClicks()

Number of clicks on images and online store links leading to your non-product pages. Metric.

optional int64 clicks = 3;

Returns
Type Description
long

The clicks.

getDate()

public 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.

getDateBuilder()

public Date.Builder getDateBuilder()

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.Builder

getDateOrBuilder()

public 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

getDefaultInstanceForType()

public NonProductPerformanceView getDefaultInstanceForType()
Returns
Type Description
NonProductPerformanceView

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getImpressions()

public long getImpressions()

Number of times images and online store links leading to your non-product pages were shown. Metric.

optional int64 impressions = 4;

Returns
Type Description
long

The impressions.

getWeek()

public Date getWeek()

First day of the week (Monday) of the metrics date in the merchant timezone. Segment.

.google.type.Date week = 2;

Returns
Type Description
com.google.type.Date

The week.

getWeekBuilder()

public Date.Builder getWeekBuilder()

First day of the week (Monday) of the metrics date in the merchant timezone. Segment.

.google.type.Date week = 2;

Returns
Type Description
com.google.type.Date.Builder

getWeekOrBuilder()

public DateOrBuilder getWeekOrBuilder()

First day of the week (Monday) of the metrics date in the merchant timezone. Segment.

.google.type.Date week = 2;

Returns
Type Description
com.google.type.DateOrBuilder

hasClickThroughRate()

public boolean hasClickThroughRate()

Click-through rate - the number of clicks (clicks) divided by the number of impressions (impressions) of images and online store links leading to your non-product pages. Metric.

optional double click_through_rate = 5;

Returns
Type Description
boolean

Whether the clickThroughRate field is set.

hasClicks()

public boolean hasClicks()

Number of clicks on images and online store links leading to your non-product pages. Metric.

optional int64 clicks = 3;

Returns
Type Description
boolean

Whether the clicks field is set.

hasDate()

public 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
boolean

Whether the date field is set.

hasImpressions()

public boolean hasImpressions()

Number of times images and online store links leading to your non-product pages were shown. Metric.

optional int64 impressions = 4;

Returns
Type Description
boolean

Whether the impressions field is set.

hasWeek()

public boolean hasWeek()

First day of the week (Monday) of the metrics date in the merchant timezone. Segment.

.google.type.Date week = 2;

Returns
Type Description
boolean

Whether the week field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDate(Date value)

public NonProductPerformanceView.Builder mergeDate(Date value)

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

Condition on date is required in the WHERE clause.

.google.type.Date date = 1;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
NonProductPerformanceView.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NonProductPerformanceView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NonProductPerformanceView.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NonProductPerformanceView.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NonProductPerformanceView.Builder
Overrides

mergeFrom(NonProductPerformanceView other)

public NonProductPerformanceView.Builder mergeFrom(NonProductPerformanceView other)
Parameter
Name Description
other NonProductPerformanceView
Returns
Type Description
NonProductPerformanceView.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NonProductPerformanceView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NonProductPerformanceView.Builder
Overrides

mergeWeek(Date value)

public NonProductPerformanceView.Builder mergeWeek(Date value)

First day of the week (Monday) of the metrics date in the merchant timezone. Segment.

.google.type.Date week = 2;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
NonProductPerformanceView.Builder

setClickThroughRate(double value)

public NonProductPerformanceView.Builder setClickThroughRate(double value)

Click-through rate - the number of clicks (clicks) divided by the number of impressions (impressions) of images and online store links leading to your non-product pages. Metric.

optional double click_through_rate = 5;

Parameter
Name Description
value double

The clickThroughRate to set.

Returns
Type Description
NonProductPerformanceView.Builder

This builder for chaining.

setClicks(long value)

public NonProductPerformanceView.Builder setClicks(long value)

Number of clicks on images and online store links leading to your non-product pages. Metric.

optional int64 clicks = 3;

Parameter
Name Description
value long

The clicks to set.

Returns
Type Description
NonProductPerformanceView.Builder

This builder for chaining.

setDate(Date value)

public NonProductPerformanceView.Builder setDate(Date value)

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

Condition on date is required in the WHERE clause.

.google.type.Date date = 1;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
NonProductPerformanceView.Builder

setDate(Date.Builder builderForValue)

public NonProductPerformanceView.Builder setDate(Date.Builder builderForValue)

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

Condition on date is required in the WHERE clause.

.google.type.Date date = 1;

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
NonProductPerformanceView.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NonProductPerformanceView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NonProductPerformanceView.Builder
Overrides

setImpressions(long value)

public NonProductPerformanceView.Builder setImpressions(long value)

Number of times images and online store links leading to your non-product pages were shown. Metric.

optional int64 impressions = 4;

Parameter
Name Description
value long

The impressions to set.

Returns
Type Description
NonProductPerformanceView.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NonProductPerformanceView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NonProductPerformanceView.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NonProductPerformanceView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NonProductPerformanceView.Builder
Overrides

setWeek(Date value)

public NonProductPerformanceView.Builder setWeek(Date value)

First day of the week (Monday) of the metrics date in the merchant timezone. Segment.

.google.type.Date week = 2;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
NonProductPerformanceView.Builder

setWeek(Date.Builder builderForValue)

public NonProductPerformanceView.Builder setWeek(Date.Builder builderForValue)

First day of the week (Monday) of the metrics date in the merchant timezone. Segment.

.google.type.Date week = 2;

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
NonProductPerformanceView.Builder