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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CREATION_DATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DESTINATION_STATUSES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int GOOGLE_EXPIRATION_DATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ITEM_LEVEL_ISSUES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int LAST_UPDATE_DATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static ProductStatus getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ProductStatus.Builder newBuilder()
public static ProductStatus.Builder newBuilder(ProductStatus prototype)
public static ProductStatus parseDelimitedFrom(InputStream input)
public static ProductStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductStatus parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static ProductStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProductStatus parseFrom(ByteString data)
public static ProductStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProductStatus parseFrom(CodedInputStream input)
public static ProductStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductStatus parseFrom(InputStream input)
public static ProductStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProductStatus parseFrom(ByteBuffer data)
public static ProductStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ProductStatus> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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.
|
public TimestampOrBuilder getCreationDateOrBuilder()
Date on which the item has been created, in ISO
8601 format.
.google.protobuf.Timestamp creation_date = 5;
public ProductStatus getDefaultInstanceForType()
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
|
public int getDestinationStatusesCount()
The intended destinations for the product.
repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;
Returns |
Type |
Description |
int |
|
public List<ProductStatus.DestinationStatus> getDestinationStatusesList()
The intended destinations for the product.
repeated .google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus destination_statuses = 3;
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
|
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> |
|
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.
|
public TimestampOrBuilder getGoogleExpirationDateOrBuilder()
Date on which the item expires, in ISO
8601 format.
.google.protobuf.Timestamp google_expiration_date = 7;
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
|
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 |
|
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;
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
|
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> |
|
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.
|
public TimestampOrBuilder getLastUpdateDateOrBuilder()
Date on which the item has been last updated, in ISO
8601 format.
.google.protobuf.Timestamp last_update_date = 6;
public Parser<ProductStatus> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
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.
|
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ProductStatus.Builder newBuilderForType()
protected ProductStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public ProductStatus.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides