Class CompetitiveVisibilityTopMerchantView.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CompetitiveVisibilityTopMerchantView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CompetitiveVisibilityTopMerchantView.Builder
Overrides

build()

public CompetitiveVisibilityTopMerchantView build()
Returns
TypeDescription
CompetitiveVisibilityTopMerchantView

buildPartial()

public CompetitiveVisibilityTopMerchantView buildPartial()
Returns
TypeDescription
CompetitiveVisibilityTopMerchantView

clear()

public CompetitiveVisibilityTopMerchantView.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CompetitiveVisibilityTopMerchantView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CompetitiveVisibilityTopMerchantView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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 traffic_source = 6;

Returns
TypeDescription
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

clone()

public CompetitiveVisibilityTopMerchantView.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.type.DateOrBuilder

getDefaultInstanceForType()

public CompetitiveVisibilityTopMerchantView getDefaultInstanceForType()
Returns
TypeDescription
CompetitiveVisibilityTopMerchantView

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for reportCountryCode.

getTrafficSource()

public TrafficSource getTrafficSource()

Traffic source of impressions.

Required in the SELECT clause.

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

Returns
TypeDescription
TrafficSource

The trafficSource.

getTrafficSourceValue()

public int getTrafficSourceValue()

Traffic source of impressions.

Required in the SELECT clause.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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 traffic_source = 6;

Returns
TypeDescription
boolean

Whether the trafficSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
CompetitiveVisibilityTopMerchantView.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompetitiveVisibilityTopMerchantView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CompetitiveVisibilityTopMerchantView.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CompetitiveVisibilityTopMerchantView.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CompetitiveVisibilityTopMerchantView.Builder
Overrides

mergeFrom(CompetitiveVisibilityTopMerchantView other)

public CompetitiveVisibilityTopMerchantView.Builder mergeFrom(CompetitiveVisibilityTopMerchantView other)
Parameter
NameDescription
otherCompetitiveVisibilityTopMerchantView
Returns
TypeDescription
CompetitiveVisibilityTopMerchantView.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompetitiveVisibilityTopMerchantView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuedouble

The adsOrganicRatio to set.

Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Date.Builder
Returns
TypeDescription
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
NameDescription
valueString

The domain to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for domain to set.

Returns
TypeDescription
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CompetitiveVisibilityTopMerchantView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuedouble

The higherPositionRate to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The isYourDomain to set.

Returns
TypeDescription
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
NameDescription
valuedouble

The pageOverlapRate to set.

Returns
TypeDescription
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
NameDescription
valuelong

The rank to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The reportCategoryId to set.

Returns
TypeDescription
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
NameDescription
valueString

The reportCountryCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for reportCountryCode to set.

Returns
TypeDescription
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

setTrafficSource(TrafficSource value)

public CompetitiveVisibilityTopMerchantView.Builder setTrafficSource(TrafficSource value)

Traffic source of impressions.

Required in the SELECT clause.

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

Parameter
NameDescription
valueTrafficSource

The trafficSource to set.

Returns
TypeDescription
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 traffic_source = 6;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
CompetitiveVisibilityTopMerchantView.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CompetitiveVisibilityTopMerchantView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CompetitiveVisibilityTopMerchantView.Builder
Overrides