Class Certification.Builder (0.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Certification.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Certification.Builder
Overrides

build()

public Certification build()
Returns
TypeDescription
Certification

buildPartial()

public Certification buildPartial()
Returns
TypeDescription
Certification

clear()

public Certification.Builder clear()
Returns
TypeDescription
Certification.Builder
Overrides

clearAuthority()

public Certification.Builder clearAuthority()

Name of the certification body.

string authority = 2;

Returns
TypeDescription
Certification.Builder

This builder for chaining.

clearCode()

public Certification.Builder clearCode()

A unique code to identify the certification.

string code = 3;

Returns
TypeDescription
Certification.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Certification.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Certification.Builder
Overrides

clearName()

public Certification.Builder clearName()

Name of the certification.

string name = 1;

Returns
TypeDescription
Certification.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Certification.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Certification.Builder
Overrides

clone()

public Certification.Builder clone()
Returns
TypeDescription
Certification.Builder
Overrides

getAuthority()

public String getAuthority()

Name of the certification body.

string authority = 2;

Returns
TypeDescription
String

The authority.

getAuthorityBytes()

public ByteString getAuthorityBytes()

Name of the certification body.

string authority = 2;

Returns
TypeDescription
ByteString

The bytes for authority.

getCode()

public String getCode()

A unique code to identify the certification.

string code = 3;

Returns
TypeDescription
String

The code.

getCodeBytes()

public ByteString getCodeBytes()

A unique code to identify the certification.

string code = 3;

Returns
TypeDescription
ByteString

The bytes for code.

getDefaultInstanceForType()

public Certification getDefaultInstanceForType()
Returns
TypeDescription
Certification

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the certification.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the certification.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Certification.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certification.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Certification.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Certification.Builder
Overrides

mergeFrom(Certification other)

public Certification.Builder mergeFrom(Certification other)
Parameter
NameDescription
otherCertification
Returns
TypeDescription
Certification.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Certification.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Certification.Builder
Overrides

setAuthority(String value)

public Certification.Builder setAuthority(String value)

Name of the certification body.

string authority = 2;

Parameter
NameDescription
valueString

The authority to set.

Returns
TypeDescription
Certification.Builder

This builder for chaining.

setAuthorityBytes(ByteString value)

public Certification.Builder setAuthorityBytes(ByteString value)

Name of the certification body.

string authority = 2;

Parameter
NameDescription
valueByteString

The bytes for authority to set.

Returns
TypeDescription
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
NameDescription
valueString

The code to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for code to set.

Returns
TypeDescription
Certification.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Certification.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Certification.Builder
Overrides

setName(String value)

public Certification.Builder setName(String value)

Name of the certification.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Certification.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Certification.Builder setNameBytes(ByteString value)

Name of the certification.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Certification.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Certification.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Certification.Builder
Overrides