Interface ProductStatusChangeMessageOrBuilder (0.23.0)

public interface ProductStatusChangeMessageOrBuilder extends 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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The resource.

getResourceBytes()

public abstract ByteString getResourceBytes()

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

optional string resource = 7;

Returns
TypeDescription
ByteString

The bytes for resource.

getResourceId()

public abstract String getResourceId()

The product id.

optional string resource_id = 6;

Returns
TypeDescription
String

The resourceId.

getResourceIdBytes()

public abstract ByteString getResourceIdBytes()

The product id.

optional string resource_id = 6;

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

Whether the resource field is set.

hasResourceId()

public abstract boolean hasResourceId()

The product id.

optional string resource_id = 6;

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

Whether the resourceType field is set.