Class ProductStatus (0.7.0)

public final class ProductStatus extends GeneratedMessageV3 implements ProductStatusOrBuilder

The status of a product, data validation issues, that is, information about a product computed asynchronously.

Protobuf type google.shopping.merchant.products.v1beta.ProductStatus

Static Fields

CREATION_DATE_FIELD_NUMBER

public static final int CREATION_DATE_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_STATUSES_FIELD_NUMBER

public static final int DESTINATION_STATUSES_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_EXPIRATION_DATE_FIELD_NUMBER

public static final int GOOGLE_EXPIRATION_DATE_FIELD_NUMBER
Field Value
Type Description
int

ITEM_LEVEL_ISSUES_FIELD_NUMBER

public static final int ITEM_LEVEL_ISSUES_FIELD_NUMBER
Field Value
Type Description
int

LAST_UPDATE_DATE_FIELD_NUMBER

public static final int LAST_UPDATE_DATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProductStatus getDefaultInstance()
Returns
Type Description
ProductStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ProductStatus.Builder newBuilder()
Returns
Type Description
ProductStatus.Builder

newBuilder(ProductStatus prototype)

public static ProductStatus.Builder newBuilder(ProductStatus prototype)
Parameter
Name Description
prototype ProductStatus
Returns
Type Description
ProductStatus.Builder

parseDelimitedFrom(InputStream input)

public static ProductStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProductStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProductStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProductStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProductStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProductStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProductStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProductStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProductStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProductStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProductStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProductStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProductStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProductStatus> parser()
Returns
Type Description
Parser<ProductStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCreationDate()

public Timestamp getCreationDate()

Date on which the item has been created, in ISO 8601 format.

.google.protobuf.Timestamp creation_date = 5;

Returns
Type Description
Timestamp

The creationDate.

getCreationDateOrBuilder()

public TimestampOrBuilder getCreationDateOrBuilder()

Date on which the item has been created, in ISO 8601 format.

.google.protobuf.Timestamp creation_date = 5;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ProductStatus getDefaultInstanceForType()
Returns
Type Description
ProductStatus

getDestinationStatuses(int index)

public ProductStatus.DestinationStatus getDestinationStatuses(int index)

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Parameter
Name Description
index int
Returns
Type Description
ProductStatus.DestinationStatus

getDestinationStatusesCount()

public int getDestinationStatusesCount()

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Returns
Type Description
int

getDestinationStatusesList()

public List<ProductStatus.DestinationStatus> getDestinationStatusesList()

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Returns
Type Description
List<DestinationStatus>

getDestinationStatusesOrBuilder(int index)

public ProductStatus.DestinationStatusOrBuilder getDestinationStatusesOrBuilder(int index)

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Parameter
Name Description
index int
Returns
Type Description
ProductStatus.DestinationStatusOrBuilder

getDestinationStatusesOrBuilderList()

public List<? extends ProductStatus.DestinationStatusOrBuilder> getDestinationStatusesOrBuilderList()

The intended destinations for the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatusOrBuilder>

getGoogleExpirationDate()

public Timestamp getGoogleExpirationDate()

Date on which the item expires, in ISO 8601 format.

.google.protobuf.Timestamp google_expiration_date = 7;

Returns
Type Description
Timestamp

The googleExpirationDate.

getGoogleExpirationDateOrBuilder()

public TimestampOrBuilder getGoogleExpirationDateOrBuilder()

Date on which the item expires, in ISO 8601 format.

.google.protobuf.Timestamp google_expiration_date = 7;

Returns
Type Description
TimestampOrBuilder

getItemLevelIssues(int index)

public ProductStatus.ItemLevelIssue getItemLevelIssues(int index)

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

Parameter
Name Description
index int
Returns
Type Description
ProductStatus.ItemLevelIssue

getItemLevelIssuesCount()

public int getItemLevelIssuesCount()

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

Returns
Type Description
int

getItemLevelIssuesList()

public List<ProductStatus.ItemLevelIssue> getItemLevelIssuesList()

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

Returns
Type Description
List<ItemLevelIssue>

getItemLevelIssuesOrBuilder(int index)

public ProductStatus.ItemLevelIssueOrBuilder getItemLevelIssuesOrBuilder(int index)

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

Parameter
Name Description
index int
Returns
Type Description
ProductStatus.ItemLevelIssueOrBuilder

getItemLevelIssuesOrBuilderList()

public List<? extends ProductStatus.ItemLevelIssueOrBuilder> getItemLevelIssuesOrBuilderList()

A list of all issues associated with the product.

repeated .google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue item_level_issues = 4;

Returns
Type Description
List<? extends com.google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssueOrBuilder>

getLastUpdateDate()

public Timestamp getLastUpdateDate()

Date on which the item has been last updated, in ISO 8601 format.

.google.protobuf.Timestamp last_update_date = 6;

Returns
Type Description
Timestamp

The lastUpdateDate.

getLastUpdateDateOrBuilder()

public TimestampOrBuilder getLastUpdateDateOrBuilder()

Date on which the item has been last updated, in ISO 8601 format.

.google.protobuf.Timestamp last_update_date = 6;

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<ProductStatus> getParserForType()
Returns
Type Description
Parser<ProductStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCreationDate()

public boolean hasCreationDate()

Date on which the item has been created, in ISO 8601 format.

.google.protobuf.Timestamp creation_date = 5;

Returns
Type Description
boolean

Whether the creationDate field is set.

hasGoogleExpirationDate()

public boolean hasGoogleExpirationDate()

Date on which the item expires, in ISO 8601 format.

.google.protobuf.Timestamp google_expiration_date = 7;

Returns
Type Description
boolean

Whether the googleExpirationDate field is set.

hasLastUpdateDate()

public boolean hasLastUpdateDate()

Date on which the item has been last updated, in ISO 8601 format.

.google.protobuf.Timestamp last_update_date = 6;

Returns
Type Description
boolean

Whether the lastUpdateDate field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProductStatus.Builder newBuilderForType()
Returns
Type Description
ProductStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProductStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProductStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ProductStatus.Builder toBuilder()
Returns
Type Description
ProductStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException