Class CompetitiveVisibilityTopMerchantView (0.13.0)

public final class CompetitiveVisibilityTopMerchantView extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CompetitiveVisibilityTopMerchantView

Static Fields

ADS_ORGANIC_RATIO_FIELD_NUMBER

public static final int ADS_ORGANIC_RATIO_FIELD_NUMBER
Field Value
TypeDescription
int

DATE_FIELD_NUMBER

public static final int DATE_FIELD_NUMBER
Field Value
TypeDescription
int

DOMAIN_FIELD_NUMBER

public static final int DOMAIN_FIELD_NUMBER
Field Value
TypeDescription
int

HIGHER_POSITION_RATE_FIELD_NUMBER

public static final int HIGHER_POSITION_RATE_FIELD_NUMBER
Field Value
TypeDescription
int

IS_YOUR_DOMAIN_FIELD_NUMBER

public static final int IS_YOUR_DOMAIN_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_OVERLAP_RATE_FIELD_NUMBER

public static final int PAGE_OVERLAP_RATE_FIELD_NUMBER
Field Value
TypeDescription
int

RANK_FIELD_NUMBER

public static final int RANK_FIELD_NUMBER
Field Value
TypeDescription
int

REPORT_CATEGORY_ID_FIELD_NUMBER

public static final int REPORT_CATEGORY_ID_FIELD_NUMBER
Field Value
TypeDescription
int

REPORT_COUNTRY_CODE_FIELD_NUMBER

public static final int REPORT_COUNTRY_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

TRAFFIC_SOURCE_FIELD_NUMBER

public static final int TRAFFIC_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CompetitiveVisibilityTopMerchantView getDefaultInstance()
Returns
TypeDescription
CompetitiveVisibilityTopMerchantView

getDescriptor()

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

newBuilder()

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

newBuilder(CompetitiveVisibilityTopMerchantView prototype)

public static CompetitiveVisibilityTopMerchantView.Builder newBuilder(CompetitiveVisibilityTopMerchantView prototype)
Parameter
NameDescription
prototypeCompetitiveVisibilityTopMerchantView
Returns
TypeDescription
CompetitiveVisibilityTopMerchantView.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

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.

getParserForType()

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

Returns
TypeDescription
boolean

Whether the trafficSource 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 CompetitiveVisibilityTopMerchantView.Builder newBuilderForType()
Returns
TypeDescription
CompetitiveVisibilityTopMerchantView.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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