Interface ProductStatusChangeMessageOrBuilder (0.10.0)

public interface ProductStatusChangeMessageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccount()

public abstract String getAccount()

The target account that owns the entity that changed. Format : accounts/{merchant_id}

optional string account = 1;

Returns
Type Description
String

The account.

getAccountBytes()

public abstract ByteString getAccountBytes()

The target account that owns the entity that changed. Format : accounts/{merchant_id}

optional string account = 1;

Returns
Type Description
ByteString

The bytes for account.

getAttribute()

public abstract Attribute getAttribute()

The attribute in the resource that changed, in this case it will be always Status.

optional .google.shopping.merchant.notifications.v1beta.Attribute attribute = 4;

Returns
Type Description
Attribute

The attribute.

getAttributeValue()

public abstract int getAttributeValue()

The attribute in the resource that changed, in this case it will be always Status.

optional .google.shopping.merchant.notifications.v1beta.Attribute attribute = 4;

Returns
Type Description
int

The enum numeric value on the wire for attribute.

getChanges(int index)

public abstract ProductChange getChanges(int index)

A message to describe the change that happened to the product

repeated .google.shopping.merchant.notifications.v1beta.ProductChange changes = 5;

Parameter
Name Description
index int
Returns
Type Description
ProductChange

getChangesCount()

public abstract int getChangesCount()

A message to describe the change that happened to the product

repeated .google.shopping.merchant.notifications.v1beta.ProductChange changes = 5;

Returns
Type Description
int

getChangesList()

public abstract List<ProductChange> getChangesList()

A message to describe the change that happened to the product

repeated .google.shopping.merchant.notifications.v1beta.ProductChange changes = 5;

Returns
Type Description
List<ProductChange>

getChangesOrBuilder(int index)

public abstract ProductChangeOrBuilder getChangesOrBuilder(int index)

A message to describe the change that happened to the product

repeated .google.shopping.merchant.notifications.v1beta.ProductChange changes = 5;

Parameter
Name Description
index int
Returns
Type Description
ProductChangeOrBuilder

getChangesOrBuilderList()

public abstract List<? extends ProductChangeOrBuilder> getChangesOrBuilderList()

A message to describe the change that happened to the product

repeated .google.shopping.merchant.notifications.v1beta.ProductChange changes = 5;

Returns
Type Description
List<? extends com.google.shopping.merchant.notifications.v1beta.ProductChangeOrBuilder>

getManagingAccount()

public abstract String getManagingAccount()

The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : accounts/{service_provider_id}

optional string managing_account = 2;

Returns
Type Description
String

The managingAccount.

getManagingAccountBytes()

public abstract ByteString getManagingAccountBytes()

The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : accounts/{service_provider_id}

optional string managing_account = 2;

Returns
Type Description
ByteString

The bytes for managingAccount.

getResource()

public abstract String getResource()

The product name. Format: {product.name=accounts/{account}/products/{product}}

optional string resource = 7;

Returns
Type Description
String

The resource.

getResourceBytes()

public abstract ByteString getResourceBytes()

The product name. Format: {product.name=accounts/{account}/products/{product}}

optional string resource = 7;

Returns
Type Description
ByteString

The bytes for resource.

getResourceId()

public abstract String getResourceId()

The product id.

optional string resource_id = 6;

Returns
Type Description
String

The resourceId.

getResourceIdBytes()

public abstract ByteString getResourceIdBytes()

The product id.

optional string resource_id = 6;

Returns
Type Description
ByteString

The bytes for resourceId.

getResourceType()

public abstract Resource getResourceType()

The resource that changed, in this case it will always be Product.

optional .google.shopping.merchant.notifications.v1beta.Resource resource_type = 3;

Returns
Type Description
Resource

The resourceType.

getResourceTypeValue()

public abstract int getResourceTypeValue()

The resource that changed, in this case it will always be Product.

optional .google.shopping.merchant.notifications.v1beta.Resource resource_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for resourceType.

hasAccount()

public abstract boolean hasAccount()

The target account that owns the entity that changed. Format : accounts/{merchant_id}

optional string account = 1;

Returns
Type Description
boolean

Whether the account field is set.

hasAttribute()

public abstract boolean hasAttribute()

The attribute in the resource that changed, in this case it will be always Status.

optional .google.shopping.merchant.notifications.v1beta.Attribute attribute = 4;

Returns
Type Description
boolean

Whether the attribute field is set.

hasManagingAccount()

public abstract boolean hasManagingAccount()

The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : accounts/{service_provider_id}

optional string managing_account = 2;

Returns
Type Description
boolean

Whether the managingAccount field is set.

hasResource()

public abstract boolean hasResource()

The product name. Format: {product.name=accounts/{account}/products/{product}}

optional string resource = 7;

Returns
Type Description
boolean

Whether the resource field is set.

hasResourceId()

public abstract boolean hasResourceId()

The product id.

optional string resource_id = 6;

Returns
Type Description
boolean

Whether the resourceId field is set.

hasResourceType()

public abstract boolean hasResourceType()

The resource that changed, in this case it will always be Product.

optional .google.shopping.merchant.notifications.v1beta.Resource resource_type = 3;

Returns
Type Description
boolean

Whether the resourceType field is set.