Interface ProductChangeOrBuilder (0.14.0)

public interface ProductChangeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNewValue()

public abstract String getNewValue()

The new value of the changed resource or attribute.

optional string new_value = 2;

Returns
Type Description
String

The newValue.

getNewValueBytes()

public abstract ByteString getNewValueBytes()

The new value of the changed resource or attribute.

optional string new_value = 2;

Returns
Type Description
ByteString

The bytes for newValue.

getOldValue()

public abstract String getOldValue()

The old value of the changed resource or attribute.

optional string old_value = 1;

Returns
Type Description
String

The oldValue.

getOldValueBytes()

public abstract ByteString getOldValueBytes()

The old value of the changed resource or attribute.

optional string old_value = 1;

Returns
Type Description
ByteString

The bytes for oldValue.

getRegionCode()

public abstract String getRegionCode()

Countries that have the change (if applicable)

optional string region_code = 3;

Returns
Type Description
String

The regionCode.

getRegionCodeBytes()

public abstract ByteString getRegionCodeBytes()

Countries that have the change (if applicable)

optional string region_code = 3;

Returns
Type Description
ByteString

The bytes for regionCode.

getReportingContext()

public abstract ReportingContext.ReportingContextEnum getReportingContext()

Reporting contexts that have the change (if applicable)

optional .google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 4;

Returns
Type Description
com.google.shopping.type.ReportingContext.ReportingContextEnum

The reportingContext.

getReportingContextValue()

public abstract int getReportingContextValue()

Reporting contexts that have the change (if applicable)

optional .google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 4;

Returns
Type Description
int

The enum numeric value on the wire for reportingContext.

hasNewValue()

public abstract boolean hasNewValue()

The new value of the changed resource or attribute.

optional string new_value = 2;

Returns
Type Description
boolean

Whether the newValue field is set.

hasOldValue()

public abstract boolean hasOldValue()

The old value of the changed resource or attribute.

optional string old_value = 1;

Returns
Type Description
boolean

Whether the oldValue field is set.

hasRegionCode()

public abstract boolean hasRegionCode()

Countries that have the change (if applicable)

optional string region_code = 3;

Returns
Type Description
boolean

Whether the regionCode field is set.

hasReportingContext()

public abstract boolean hasReportingContext()

Reporting contexts that have the change (if applicable)

optional .google.shopping.type.ReportingContext.ReportingContextEnum reporting_context = 4;

Returns
Type Description
boolean

Whether the reportingContext field is set.