public final class Certification extends GeneratedMessageV3 implements CertificationOrBuilder
Product
certification,
initially introduced for EU energy efficiency labeling compliance using the
EU EPREL database.
Protobuf type google.shopping.merchant.products.v1beta.Certification
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 Certification getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Certification.Builder newBuilder()
public static Certification.Builder newBuilder(Certification prototype)
public static Certification parseDelimitedFrom(InputStream input)
public static Certification parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Certification parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static Certification parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Certification parseFrom(ByteString data)
public static Certification parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Certification parseFrom(CodedInputStream input)
public static Certification parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Certification parseFrom(InputStream input)
public static Certification parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Certification parseFrom(ByteBuffer data)
public static Certification parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Certification> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public String getCertificationAuthority()
The certification authority, for example "European_Commission".
Maximum length is 2000 characters.
optional string certification_authority = 1;
Returns |
Type |
Description |
String |
The certificationAuthority.
|
public ByteString getCertificationAuthorityBytes()
The certification authority, for example "European_Commission".
Maximum length is 2000 characters.
optional string certification_authority = 1;
Returns |
Type |
Description |
ByteString |
The bytes 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 String getCertificationName()
The name of the certification, for example "EPREL".
Maximum length is 2000 characters.
optional string certification_name = 2;
Returns |
Type |
Description |
String |
The certificationName.
|
public ByteString getCertificationNameBytes()
The name of the certification, for example "EPREL".
Maximum length is 2000 characters.
optional string certification_name = 2;
Returns |
Type |
Description |
ByteString |
The bytes 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 Certification getDefaultInstanceForType()
public Parser<Certification> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public boolean hasCertificationAuthority()
The certification authority, for example "European_Commission".
Maximum length is 2000 characters.
optional string 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, for example "EPREL".
Maximum length is 2000 characters.
optional string 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 Certification.Builder newBuilderForType()
protected Certification.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public Certification.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides