Class NonProductPerformanceView (0.4.0)

public final class NonProductPerformanceView extends GeneratedMessageV3 implements NonProductPerformanceViewOrBuilder

Fields available for query in non_product_performance_view table.

Performance data on images and website links leading to your non-product website 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 Fields

CLICKS_FIELD_NUMBER

public static final int CLICKS_FIELD_NUMBER
Field Value
TypeDescription
int

CLICK_THROUGH_RATE_FIELD_NUMBER

public static final int CLICK_THROUGH_RATE_FIELD_NUMBER
Field Value
TypeDescription
int

DATE_FIELD_NUMBER

public static final int DATE_FIELD_NUMBER
Field Value
TypeDescription
int

IMPRESSIONS_FIELD_NUMBER

public static final int IMPRESSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

WEEK_FIELD_NUMBER

public static final int WEEK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NonProductPerformanceView getDefaultInstance()
Returns
TypeDescription
NonProductPerformanceView

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NonProductPerformanceView.Builder newBuilder()
Returns
TypeDescription
NonProductPerformanceView.Builder

newBuilder(NonProductPerformanceView prototype)

public static NonProductPerformanceView.Builder newBuilder(NonProductPerformanceView prototype)
Parameter
NameDescription
prototypeNonProductPerformanceView
Returns
TypeDescription
NonProductPerformanceView.Builder

parseDelimitedFrom(InputStream input)

public static NonProductPerformanceView parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NonProductPerformanceView
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NonProductPerformanceView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NonProductPerformanceView
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NonProductPerformanceView parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NonProductPerformanceView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NonProductPerformanceView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NonProductPerformanceView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NonProductPerformanceView parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NonProductPerformanceView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NonProductPerformanceView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NonProductPerformanceView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NonProductPerformanceView parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NonProductPerformanceView
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NonProductPerformanceView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NonProductPerformanceView
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NonProductPerformanceView parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NonProductPerformanceView
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NonProductPerformanceView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NonProductPerformanceView
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NonProductPerformanceView parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NonProductPerformanceView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NonProductPerformanceView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NonProductPerformanceView
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NonProductPerformanceView> parser()
Returns
TypeDescription
Parser<NonProductPerformanceView>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getClickThroughRate()

public double getClickThroughRate()

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

optional double click_through_rate = 5;

Returns
TypeDescription
double

The clickThroughRate.

getClicks()

public long getClicks()

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

optional int64 clicks = 3;

Returns
TypeDescription
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
TypeDescription
com.google.type.Date

The date.

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
TypeDescription
com.google.type.DateOrBuilder

getDefaultInstanceForType()

public NonProductPerformanceView getDefaultInstanceForType()
Returns
TypeDescription
NonProductPerformanceView

getImpressions()

public long getImpressions()

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

optional int64 impressions = 4;

Returns
TypeDescription
long

The impressions.

getParserForType()

public Parser<NonProductPerformanceView> getParserForType()
Returns
TypeDescription
Parser<NonProductPerformanceView>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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
TypeDescription
com.google.type.Date

The week.

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
TypeDescription
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 website links leading to your non-product website pages. Metric.

optional double click_through_rate = 5;

Returns
TypeDescription
boolean

Whether the clickThroughRate field is set.

hasClicks()

public boolean hasClicks()

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

optional int64 clicks = 3;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the date field is set.

hasImpressions()

public boolean hasImpressions()

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

optional int64 impressions = 4;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the week field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NonProductPerformanceView.Builder newBuilderForType()
Returns
TypeDescription
NonProductPerformanceView.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NonProductPerformanceView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NonProductPerformanceView.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NonProductPerformanceView.Builder toBuilder()
Returns
TypeDescription
NonProductPerformanceView.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException