Class Certification.Builder (0.14.0)

public static final class Certification.Builder extends GeneratedMessageV3.Builder<Certification.Builder> implements CertificationOrBuilder

The certification for the product.

Protobuf type google.shopping.css.v1.Certification

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Certification.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Certification.Builder
Overrides

build()

public Certification build()
Returns
Type Description
Certification

buildPartial()

public Certification buildPartial()
Returns
Type Description
Certification

clear()

public Certification.Builder clear()
Returns
Type Description
Certification.Builder
Overrides

clearAuthority()

public Certification.Builder clearAuthority()

Name of the certification body.

string authority = 2;

Returns
Type Description
Certification.Builder

This builder for chaining.

clearCode()

public Certification.Builder clearCode()

A unique code to identify the certification.

string code = 3;

Returns
Type Description
Certification.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Certification.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Certification.Builder
Overrides

clearName()

public Certification.Builder clearName()

Name of the certification.

string name = 1;

Returns
Type Description
Certification.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Certification.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Certification.Builder
Overrides

clone()

public Certification.Builder clone()
Returns
Type Description
Certification.Builder
Overrides

getAuthority()

public String getAuthority()

Name of the certification body.

string authority = 2;

Returns
Type Description
String

The authority.

getAuthorityBytes()

public ByteString getAuthorityBytes()

Name of the certification body.

string authority = 2;

Returns
Type Description
ByteString

The bytes for authority.

getCode()

public String getCode()

A unique code to identify the certification.

string code = 3;

Returns
Type Description
String

The code.

getCodeBytes()

public ByteString getCodeBytes()

A unique code to identify the certification.

string code = 3;

Returns
Type Description
ByteString

The bytes for code.

getDefaultInstanceForType()

public Certification getDefaultInstanceForType()
Returns
Type Description
Certification

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Name of the certification.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the certification.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Certification.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Certification.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Certification.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Certification.Builder
Overrides

mergeFrom(Certification other)

public Certification.Builder mergeFrom(Certification other)
Parameter
Name Description
other Certification
Returns
Type Description
Certification.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Certification.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Certification.Builder
Overrides

setAuthority(String value)

public Certification.Builder setAuthority(String value)

Name of the certification body.

string authority = 2;

Parameter
Name Description
value String

The authority to set.

Returns
Type Description
Certification.Builder

This builder for chaining.

setAuthorityBytes(ByteString value)

public Certification.Builder setAuthorityBytes(ByteString value)

Name of the certification body.

string authority = 2;

Parameter
Name Description
value ByteString

The bytes for authority to set.

Returns
Type Description
Certification.Builder

This builder for chaining.

setCode(String value)

public Certification.Builder setCode(String value)

A unique code to identify the certification.

string code = 3;

Parameter
Name Description
value String

The code to set.

Returns
Type Description
Certification.Builder

This builder for chaining.

setCodeBytes(ByteString value)

public Certification.Builder setCodeBytes(ByteString value)

A unique code to identify the certification.

string code = 3;

Parameter
Name Description
value ByteString

The bytes for code to set.

Returns
Type Description
Certification.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Certification.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Certification.Builder
Overrides

setName(String value)

public Certification.Builder setName(String value)

Name of the certification.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Certification.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Certification.Builder setNameBytes(ByteString value)

Name of the certification.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Certification.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Certification.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Certification.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Certification.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Certification.Builder
Overrides