Class ProductCertification (1.0.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public final class ProductCertification extends GeneratedMessageV3 implements ProductCertificationOrBuilder
Product
certification ,
initially introduced for EU energy efficiency labeling compliance using the
EU EPREL database.
Protobuf type google.shopping.merchant.products.v1.ProductCertification
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 CERTIFICATION_AUTHORITY_FIELD_NUMBER
Field Value
Type
Description
int
public static final int CERTIFICATION_CODE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int CERTIFICATION_NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int CERTIFICATION_VALUE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static ProductCertification getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ProductCertification . Builder newBuilder ()
public static ProductCertification . Builder newBuilder ( ProductCertification prototype )
public static ProductCertification parseDelimitedFrom ( InputStream input )
public static ProductCertification parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ProductCertification parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static ProductCertification parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ProductCertification parseFrom ( ByteString data )
public static ProductCertification parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ProductCertification parseFrom ( CodedInputStream input )
public static ProductCertification parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ProductCertification parseFrom ( InputStream input )
public static ProductCertification parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ProductCertification parseFrom ( ByteBuffer data )
public static ProductCertification parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ProductCertification> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public CertificationAuthority getCertificationAuthority ()
The certification authority.
optional .google.shopping.merchant.products.v1.CertificationAuthority certification_authority = 1;
public int getCertificationAuthorityValue ()
The certification authority.
optional .google.shopping.merchant.products.v1.CertificationAuthority certification_authority = 1;
Returns
Type
Description
int
The enum numeric value on the wire for certificationAuthority.
public String getCertificationCode ()
The certification code.
Maximum length is 2000 characters.
optional string certification_code = 3;
Returns
Type
Description
String
The certificationCode.
public ByteString getCertificationCodeBytes ()
The certification code.
Maximum length is 2000 characters.
optional string certification_code = 3;
Returns
Type
Description
ByteString
The bytes for certificationCode.
public CertificationName getCertificationName ()
The name of the certification.
optional .google.shopping.merchant.products.v1.CertificationName certification_name = 2;
public int getCertificationNameValue ()
The name of the certification.
optional .google.shopping.merchant.products.v1.CertificationName certification_name = 2;
Returns
Type
Description
int
The enum numeric value on the wire for certificationName.
public String getCertificationValue ()
The certification value (also known as class, level or grade), for
example "A+", "C", "gold". Maximum length is 2000 characters.
optional string certification_value = 4;
Returns
Type
Description
String
The certificationValue.
public ByteString getCertificationValueBytes ()
The certification value (also known as class, level or grade), for
example "A+", "C", "gold". Maximum length is 2000 characters.
optional string certification_value = 4;
Returns
Type
Description
ByteString
The bytes for certificationValue.
public ProductCertification getDefaultInstanceForType ()
public Parser<ProductCertification> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public boolean hasCertificationAuthority ()
The certification authority.
optional .google.shopping.merchant.products.v1.CertificationAuthority certification_authority = 1;
Returns
Type
Description
boolean
Whether the certificationAuthority field is set.
public boolean hasCertificationCode ()
The certification code.
Maximum length is 2000 characters.
optional string certification_code = 3;
Returns
Type
Description
boolean
Whether the certificationCode field is set.
public boolean hasCertificationName ()
The name of the certification.
optional .google.shopping.merchant.products.v1.CertificationName certification_name = 2;
Returns
Type
Description
boolean
Whether the certificationName field is set.
public boolean hasCertificationValue ()
The certification value (also known as class, level or grade), for
example "A+", "C", "gold". Maximum length is 2000 characters.
optional string certification_value = 4;
Returns
Type
Description
boolean
Whether the certificationValue field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ProductCertification . Builder newBuilderForType ()
protected ProductCertification . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public ProductCertification . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,[]]