Class Certification (0.4.0)

public final class Certification extends GeneratedMessageV3 implements CertificationOrBuilder

The certification for the product.

Protobuf type google.shopping.css.v1.Certification

Static Fields

AUTHORITY_FIELD_NUMBER

public static final int AUTHORITY_FIELD_NUMBER
Field Value
TypeDescription
int

CODE_FIELD_NUMBER

public static final int CODE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Certification getDefaultInstance()
Returns
TypeDescription
Certification

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Certification.Builder newBuilder()
Returns
TypeDescription
Certification.Builder

newBuilder(Certification prototype)

public static Certification.Builder newBuilder(Certification prototype)
Parameter
NameDescription
prototypeCertification
Returns
TypeDescription
Certification.Builder

parseDelimitedFrom(InputStream input)

public static Certification parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Certification
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Certification parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certification
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Certification parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Certification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Certification parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Certification parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Certification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Certification parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Certification parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Certification
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Certification parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certification
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Certification parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Certification
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Certification parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certification
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Certification parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Certification
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Certification parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certification
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Certification> parser()
Returns
TypeDescription
Parser<Certification>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

public Parser<Certification> getParserForType()
Returns
TypeDescription
Parser<Certification>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Certification.Builder newBuilderForType()
Returns
TypeDescription
Certification.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Certification.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Certification.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Certification.Builder toBuilder()
Returns
TypeDescription
Certification.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException