Class CompetitiveVisibilityTopMerchantView.Builder (0.23.0)

public static final class CompetitiveVisibilityTopMerchantView.Builder extends GeneratedMessageV3.Builder<CompetitiveVisibilityTopMerchantView.Builder> implements CompetitiveVisibilityTopMerchantViewOrBuilder

Fields available for query in competitive_visibility_top_merchant_view table.

Competitive visibility report with business with highest visibility.

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CompetitiveVisibilityTopMerchantView build()
Returns
Type Description
CompetitiveVisibilityTopMerchantView

buildPartial()

public CompetitiveVisibilityTopMerchantView buildPartial()
Returns
Type Description
CompetitiveVisibilityTopMerchantView

clear()

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

clearAdsOrganicRatio()

public CompetitiveVisibilityTopMerchantView.Builder clearAdsOrganicRatio()

Ads / organic ratio shows how often the domain receives impressions from Shopping ads compared to organic traffic. The number is rounded and bucketed.

Cannot be filtered on in the 'WHERE' clause.

optional double ads_organic_ratio = 8;

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

clearDate()

public CompetitiveVisibilityTopMerchantView.Builder clearDate()

Date of this row.

Cannot be selected in the SELECT clause. A condition on date is required in the WHERE clause.

.google.type.Date date = 1;

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

clearDomain()

public CompetitiveVisibilityTopMerchantView.Builder clearDomain()

Domain of your competitor or your domain, if 'is_your_domain' is true.

Required in the SELECT clause. Cannot be filtered on in the 'WHERE' clause.

optional string domain = 2;

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearHigherPositionRate()

public CompetitiveVisibilityTopMerchantView.Builder clearHigherPositionRate()

Higher position rate shows how often a competitor’s offer got placed in a higher position on the page than your offer.

Cannot be filtered on in the 'WHERE' clause.

optional double higher_position_rate = 10;

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

clearIsYourDomain()

public CompetitiveVisibilityTopMerchantView.Builder clearIsYourDomain()

True if this row contains data for your domain.

Cannot be filtered on in the 'WHERE' clause.

optional bool is_your_domain = 3;

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageOverlapRate()

public CompetitiveVisibilityTopMerchantView.Builder clearPageOverlapRate()

Page overlap rate shows how frequently competing retailers’ offers are shown together with your offers on the same page.

Cannot be filtered on in the 'WHERE' clause.

optional double page_overlap_rate = 9;

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

clearRank()

public CompetitiveVisibilityTopMerchantView.Builder clearRank()

Position of the domain in the top merchants ranking for the selected keys (date, report_category_id, report_country_code, traffic_source) based on impressions. 1 is the highest.

Cannot be filtered on in the 'WHERE' clause.

optional int64 rank = 7;

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

clearReportCategoryId()

public CompetitiveVisibilityTopMerchantView.Builder clearReportCategoryId()

Google product category ID to calculate the report for, represented in Google's product taxonomy.

Required in the SELECT clause. A condition on report_category_id is required in the WHERE clause.

optional int64 report_category_id = 5;

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

clearReportCountryCode()

public CompetitiveVisibilityTopMerchantView.Builder clearReportCountryCode()

Country where impressions appeared.

Required in the SELECT clause. A condition on report_country_code is required in the WHERE clause.

optional string report_country_code = 4;

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

clearTrafficSource()

public CompetitiveVisibilityTopMerchantView.Builder clearTrafficSource()

Traffic source of impressions.

Required in the SELECT clause.

optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

clone()

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

getAdsOrganicRatio()

public double getAdsOrganicRatio()

Ads / organic ratio shows how often the domain receives impressions from Shopping ads compared to organic traffic. The number is rounded and bucketed.

Cannot be filtered on in the 'WHERE' clause.

optional double ads_organic_ratio = 8;

Returns
Type Description
double

The adsOrganicRatio.

getDate()

public Date getDate()

Date of this row.

Cannot be selected in the SELECT clause. A 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 of this row.

Cannot be selected in the SELECT clause. A 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 of this row.

Cannot be selected in the SELECT clause. A condition on date is required in the WHERE clause.

.google.type.Date date = 1;

Returns
Type Description
com.google.type.DateOrBuilder

getDefaultInstanceForType()

public CompetitiveVisibilityTopMerchantView getDefaultInstanceForType()
Returns
Type Description
CompetitiveVisibilityTopMerchantView

getDescriptorForType()

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

getDomain()

public String getDomain()

Domain of your competitor or your domain, if 'is_your_domain' is true.

Required in the SELECT clause. Cannot be filtered on in the 'WHERE' clause.

optional string domain = 2;

Returns
Type Description
String

The domain.

getDomainBytes()

public ByteString getDomainBytes()

Domain of your competitor or your domain, if 'is_your_domain' is true.

Required in the SELECT clause. Cannot be filtered on in the 'WHERE' clause.

optional string domain = 2;

Returns
Type Description
ByteString

The bytes for domain.

getHigherPositionRate()

public double getHigherPositionRate()

Higher position rate shows how often a competitor’s offer got placed in a higher position on the page than your offer.

Cannot be filtered on in the 'WHERE' clause.

optional double higher_position_rate = 10;

Returns
Type Description
double

The higherPositionRate.

getIsYourDomain()

public boolean getIsYourDomain()

True if this row contains data for your domain.

Cannot be filtered on in the 'WHERE' clause.

optional bool is_your_domain = 3;

Returns
Type Description
boolean

The isYourDomain.

getPageOverlapRate()

public double getPageOverlapRate()

Page overlap rate shows how frequently competing retailers’ offers are shown together with your offers on the same page.

Cannot be filtered on in the 'WHERE' clause.

optional double page_overlap_rate = 9;

Returns
Type Description
double

The pageOverlapRate.

getRank()

public long getRank()

Position of the domain in the top merchants ranking for the selected keys (date, report_category_id, report_country_code, traffic_source) based on impressions. 1 is the highest.

Cannot be filtered on in the 'WHERE' clause.

optional int64 rank = 7;

Returns
Type Description
long

The rank.

getReportCategoryId()

public long getReportCategoryId()

Google product category ID to calculate the report for, represented in Google's product taxonomy.

Required in the SELECT clause. A condition on report_category_id is required in the WHERE clause.

optional int64 report_category_id = 5;

Returns
Type Description
long

The reportCategoryId.

getReportCountryCode()

public String getReportCountryCode()

Country where impressions appeared.

Required in the SELECT clause. A condition on report_country_code is required in the WHERE clause.

optional string report_country_code = 4;

Returns
Type Description
String

The reportCountryCode.

getReportCountryCodeBytes()

public ByteString getReportCountryCodeBytes()

Country where impressions appeared.

Required in the SELECT clause. A condition on report_country_code is required in the WHERE clause.

optional string report_country_code = 4;

Returns
Type Description
ByteString

The bytes for reportCountryCode.

getTrafficSource()

public TrafficSource.TrafficSourceEnum getTrafficSource()

Traffic source of impressions.

Required in the SELECT clause.

optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;

Returns
Type Description
TrafficSource.TrafficSourceEnum

The trafficSource.

getTrafficSourceValue()

public int getTrafficSourceValue()

Traffic source of impressions.

Required in the SELECT clause.

optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;

Returns
Type Description
int

The enum numeric value on the wire for trafficSource.

hasAdsOrganicRatio()

public boolean hasAdsOrganicRatio()

Ads / organic ratio shows how often the domain receives impressions from Shopping ads compared to organic traffic. The number is rounded and bucketed.

Cannot be filtered on in the 'WHERE' clause.

optional double ads_organic_ratio = 8;

Returns
Type Description
boolean

Whether the adsOrganicRatio field is set.

hasDate()

public boolean hasDate()

Date of this row.

Cannot be selected in the SELECT clause. A condition on date is required in the WHERE clause.

.google.type.Date date = 1;

Returns
Type Description
boolean

Whether the date field is set.

hasDomain()

public boolean hasDomain()

Domain of your competitor or your domain, if 'is_your_domain' is true.

Required in the SELECT clause. Cannot be filtered on in the 'WHERE' clause.

optional string domain = 2;

Returns
Type Description
boolean

Whether the domain field is set.

hasHigherPositionRate()

public boolean hasHigherPositionRate()

Higher position rate shows how often a competitor’s offer got placed in a higher position on the page than your offer.

Cannot be filtered on in the 'WHERE' clause.

optional double higher_position_rate = 10;

Returns
Type Description
boolean

Whether the higherPositionRate field is set.

hasIsYourDomain()

public boolean hasIsYourDomain()

True if this row contains data for your domain.

Cannot be filtered on in the 'WHERE' clause.

optional bool is_your_domain = 3;

Returns
Type Description
boolean

Whether the isYourDomain field is set.

hasPageOverlapRate()

public boolean hasPageOverlapRate()

Page overlap rate shows how frequently competing retailers’ offers are shown together with your offers on the same page.

Cannot be filtered on in the 'WHERE' clause.

optional double page_overlap_rate = 9;

Returns
Type Description
boolean

Whether the pageOverlapRate field is set.

hasRank()

public boolean hasRank()

Position of the domain in the top merchants ranking for the selected keys (date, report_category_id, report_country_code, traffic_source) based on impressions. 1 is the highest.

Cannot be filtered on in the 'WHERE' clause.

optional int64 rank = 7;

Returns
Type Description
boolean

Whether the rank field is set.

hasReportCategoryId()

public boolean hasReportCategoryId()

Google product category ID to calculate the report for, represented in Google's product taxonomy.

Required in the SELECT clause. A condition on report_category_id is required in the WHERE clause.

optional int64 report_category_id = 5;

Returns
Type Description
boolean

Whether the reportCategoryId field is set.

hasReportCountryCode()

public boolean hasReportCountryCode()

Country where impressions appeared.

Required in the SELECT clause. A condition on report_country_code is required in the WHERE clause.

optional string report_country_code = 4;

Returns
Type Description
boolean

Whether the reportCountryCode field is set.

hasTrafficSource()

public boolean hasTrafficSource()

Traffic source of impressions.

Required in the SELECT clause.

optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;

Returns
Type Description
boolean

Whether the trafficSource 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 CompetitiveVisibilityTopMerchantView.Builder mergeDate(Date value)

Date of this row.

Cannot be selected in the SELECT clause. A 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
CompetitiveVisibilityTopMerchantView.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(CompetitiveVisibilityTopMerchantView other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAdsOrganicRatio(double value)

public CompetitiveVisibilityTopMerchantView.Builder setAdsOrganicRatio(double value)

Ads / organic ratio shows how often the domain receives impressions from Shopping ads compared to organic traffic. The number is rounded and bucketed.

Cannot be filtered on in the 'WHERE' clause.

optional double ads_organic_ratio = 8;

Parameter
Name Description
value double

The adsOrganicRatio to set.

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

setDate(Date value)

public CompetitiveVisibilityTopMerchantView.Builder setDate(Date value)

Date of this row.

Cannot be selected in the SELECT clause. A 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
CompetitiveVisibilityTopMerchantView.Builder

setDate(Date.Builder builderForValue)

public CompetitiveVisibilityTopMerchantView.Builder setDate(Date.Builder builderForValue)

Date of this row.

Cannot be selected in the SELECT clause. A 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
CompetitiveVisibilityTopMerchantView.Builder

setDomain(String value)

public CompetitiveVisibilityTopMerchantView.Builder setDomain(String value)

Domain of your competitor or your domain, if 'is_your_domain' is true.

Required in the SELECT clause. Cannot be filtered on in the 'WHERE' clause.

optional string domain = 2;

Parameter
Name Description
value String

The domain to set.

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

setDomainBytes(ByteString value)

public CompetitiveVisibilityTopMerchantView.Builder setDomainBytes(ByteString value)

Domain of your competitor or your domain, if 'is_your_domain' is true.

Required in the SELECT clause. Cannot be filtered on in the 'WHERE' clause.

optional string domain = 2;

Parameter
Name Description
value ByteString

The bytes for domain to set.

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setHigherPositionRate(double value)

public CompetitiveVisibilityTopMerchantView.Builder setHigherPositionRate(double value)

Higher position rate shows how often a competitor’s offer got placed in a higher position on the page than your offer.

Cannot be filtered on in the 'WHERE' clause.

optional double higher_position_rate = 10;

Parameter
Name Description
value double

The higherPositionRate to set.

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

setIsYourDomain(boolean value)

public CompetitiveVisibilityTopMerchantView.Builder setIsYourDomain(boolean value)

True if this row contains data for your domain.

Cannot be filtered on in the 'WHERE' clause.

optional bool is_your_domain = 3;

Parameter
Name Description
value boolean

The isYourDomain to set.

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

setPageOverlapRate(double value)

public CompetitiveVisibilityTopMerchantView.Builder setPageOverlapRate(double value)

Page overlap rate shows how frequently competing retailers’ offers are shown together with your offers on the same page.

Cannot be filtered on in the 'WHERE' clause.

optional double page_overlap_rate = 9;

Parameter
Name Description
value double

The pageOverlapRate to set.

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

setRank(long value)

public CompetitiveVisibilityTopMerchantView.Builder setRank(long value)

Position of the domain in the top merchants ranking for the selected keys (date, report_category_id, report_country_code, traffic_source) based on impressions. 1 is the highest.

Cannot be filtered on in the 'WHERE' clause.

optional int64 rank = 7;

Parameter
Name Description
value long

The rank to set.

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

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

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

setReportCategoryId(long value)

public CompetitiveVisibilityTopMerchantView.Builder setReportCategoryId(long value)

Google product category ID to calculate the report for, represented in Google's product taxonomy.

Required in the SELECT clause. A condition on report_category_id is required in the WHERE clause.

optional int64 report_category_id = 5;

Parameter
Name Description
value long

The reportCategoryId to set.

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

setReportCountryCode(String value)

public CompetitiveVisibilityTopMerchantView.Builder setReportCountryCode(String value)

Country where impressions appeared.

Required in the SELECT clause. A condition on report_country_code is required in the WHERE clause.

optional string report_country_code = 4;

Parameter
Name Description
value String

The reportCountryCode to set.

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

setReportCountryCodeBytes(ByteString value)

public CompetitiveVisibilityTopMerchantView.Builder setReportCountryCodeBytes(ByteString value)

Country where impressions appeared.

Required in the SELECT clause. A condition on report_country_code is required in the WHERE clause.

optional string report_country_code = 4;

Parameter
Name Description
value ByteString

The bytes for reportCountryCode to set.

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

setTrafficSource(TrafficSource.TrafficSourceEnum value)

public CompetitiveVisibilityTopMerchantView.Builder setTrafficSource(TrafficSource.TrafficSourceEnum value)

Traffic source of impressions.

Required in the SELECT clause.

optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;

Parameter
Name Description
value TrafficSource.TrafficSourceEnum

The trafficSource to set.

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

setTrafficSourceValue(int value)

public CompetitiveVisibilityTopMerchantView.Builder setTrafficSourceValue(int value)

Traffic source of impressions.

Required in the SELECT clause.

optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;

Parameter
Name Description
value int

The enum numeric value on the wire for trafficSource to set.

Returns
Type Description
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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