# Interface ProductCertificationOrBuilder (1.21.0)

1.21.0 (latest) 1.19.0 1.16.0 1.15.0 1.13.0 1.11.0 1.10.0 1.8.0 1.6.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.26.0 0.24.0 0.23.0 0.20.0 0.19.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface ProductCertificationOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getCertificationAuthority()

    public abstract CertificationAuthority getCertificationAuthority()

The certification authority.

`
optional .google.shopping.merchant.products.v1.CertificationAuthority certification_authority = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-products/latest/com.google.shopping.merchant.products.v1.CertificationAuthority` | The certificationAuthority. |

### getCertificationAuthorityValue()

    public abstract int getCertificationAuthorityValue()

The certification authority.

`
optional .google.shopping.merchant.products.v1.CertificationAuthority certification_authority = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for certificationAuthority. |

### getCertificationCode()

    public abstract String getCertificationCode()

The certification code.
Maximum length is 2000 characters.

`optional string certification_code = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The certificationCode. |

### getCertificationCodeBytes()

    public abstract ByteString getCertificationCodeBytes()

The certification code.
Maximum length is 2000 characters.

`optional string certification_code = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for certificationCode. |

### getCertificationName()

    public abstract CertificationName getCertificationName()

The name of the certification.

`optional .google.shopping.merchant.products.v1.CertificationName certification_name = 2;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-products/latest/com.google.shopping.merchant.products.v1.CertificationName` | The certificationName. |

### getCertificationNameValue()

    public abstract int getCertificationNameValue()

The name of the certification.

`optional .google.shopping.merchant.products.v1.CertificationName certification_name = 2;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for certificationName. |

### getCertificationValue()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The certificationValue. |

### getCertificationValueBytes()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for certificationValue. |

### hasCertificationAuthority()

    public abstract boolean hasCertificationAuthority()

The certification authority.

`
optional .google.shopping.merchant.products.v1.CertificationAuthority certification_authority = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the certificationAuthority field is set. |

### hasCertificationCode()

    public abstract boolean hasCertificationCode()

The certification code.
Maximum length is 2000 characters.

`optional string certification_code = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the certificationCode field is set. |

### hasCertificationName()

    public abstract boolean hasCertificationName()

The name of the certification.

`optional .google.shopping.merchant.products.v1.CertificationName certification_name = 2;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the certificationName field is set. |

### hasCertificationValue()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the certificationValue field is set. |