public final class ProductCertification extends GeneratedMessage 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.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ProductCertification.Builder newBuilderForType()
protected ProductCertification.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public ProductCertification.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides