Class Patent (2.2.9)

public final class Patent extends GeneratedMessageV3 implements PatentOrBuilder

Resource that represents the patent acquired by a candidate.

Protobuf type google.cloud.talent.v4beta1.Patent

Implements

PatentOrBuilder

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

INVENTORS_FIELD_NUMBER

public static final int INVENTORS_FIELD_NUMBER
Field Value
TypeDescription
int

PATENT_DESCRIPTION_FIELD_NUMBER

public static final int PATENT_DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

PATENT_FILING_DATE_FIELD_NUMBER

public static final int PATENT_FILING_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

PATENT_NUMBER_FIELD_NUMBER

public static final int PATENT_NUMBER_FIELD_NUMBER
Field Value
TypeDescription
int

PATENT_OFFICE_FIELD_NUMBER

public static final int PATENT_OFFICE_FIELD_NUMBER
Field Value
TypeDescription
int

PATENT_STATUS_DATE_FIELD_NUMBER

public static final int PATENT_STATUS_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

PATENT_STATUS_FIELD_NUMBER

public static final int PATENT_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

SKILLS_USED_FIELD_NUMBER

public static final int SKILLS_USED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Patent getDefaultInstance()
Returns
TypeDescription
Patent

getDescriptor()

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

newBuilder()

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

newBuilder(Patent prototype)

public static Patent.Builder newBuilder(Patent prototype)
Parameter
NameDescription
prototypePatent
Returns
TypeDescription
Patent.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Patent getDefaultInstanceForType()
Returns
TypeDescription
Patent

getDisplayName()

public String getDisplayName()

Name of the patent. Number of characters allowed is 100.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of the patent. Number of characters allowed is 100.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getInventors(int index)

public String getInventors(int index)

A list of inventors' names. Number of characters allowed for each is 100.

repeated string inventors = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The inventors at the given index.

getInventorsBytes(int index)

public ByteString getInventorsBytes(int index)

A list of inventors' names. Number of characters allowed for each is 100.

repeated string inventors = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the inventors at the given index.

getInventorsCount()

public int getInventorsCount()

A list of inventors' names. Number of characters allowed for each is 100.

repeated string inventors = 2;

Returns
TypeDescription
int

The count of inventors.

getInventorsList()

public ProtocolStringList getInventorsList()

A list of inventors' names. Number of characters allowed for each is 100.

repeated string inventors = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the inventors.

getParserForType()

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

getPatentDescription()

public String getPatentDescription()

The description of the patent. Number of characters allowed is 100,000.

string patent_description = 8;

Returns
TypeDescription
String

The patentDescription.

getPatentDescriptionBytes()

public ByteString getPatentDescriptionBytes()

The description of the patent. Number of characters allowed is 100,000.

string patent_description = 8;

Returns
TypeDescription
ByteString

The bytes for patentDescription.

getPatentFilingDate()

public Date getPatentFilingDate()

The date that the patent was filed.

.google.type.Date patent_filing_date = 5;

Returns
TypeDescription
com.google.type.Date

The patentFilingDate.

getPatentFilingDateOrBuilder()

public DateOrBuilder getPatentFilingDateOrBuilder()

The date that the patent was filed.

.google.type.Date patent_filing_date = 5;

Returns
TypeDescription
com.google.type.DateOrBuilder

getPatentNumber()

public String getPatentNumber()

The number of the patent. Number of characters allowed is 100.

string patent_number = 7;

Returns
TypeDescription
String

The patentNumber.

getPatentNumberBytes()

public ByteString getPatentNumberBytes()

The number of the patent. Number of characters allowed is 100.

string patent_number = 7;

Returns
TypeDescription
ByteString

The bytes for patentNumber.

getPatentOffice()

public String getPatentOffice()

The name of the patent office. Number of characters allowed is 100.

string patent_office = 6;

Returns
TypeDescription
String

The patentOffice.

getPatentOfficeBytes()

public ByteString getPatentOfficeBytes()

The name of the patent office. Number of characters allowed is 100.

string patent_office = 6;

Returns
TypeDescription
ByteString

The bytes for patentOffice.

getPatentStatus()

public String getPatentStatus()

The status of the patent. Number of characters allowed is 100.

string patent_status = 3;

Returns
TypeDescription
String

The patentStatus.

getPatentStatusBytes()

public ByteString getPatentStatusBytes()

The status of the patent. Number of characters allowed is 100.

string patent_status = 3;

Returns
TypeDescription
ByteString

The bytes for patentStatus.

getPatentStatusDate()

public Date getPatentStatusDate()

The date the last time the status of the patent was checked.

.google.type.Date patent_status_date = 4;

Returns
TypeDescription
com.google.type.Date

The patentStatusDate.

getPatentStatusDateOrBuilder()

public DateOrBuilder getPatentStatusDateOrBuilder()

The date the last time the status of the patent was checked.

.google.type.Date patent_status_date = 4;

Returns
TypeDescription
com.google.type.DateOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSkillsUsed(int index)

public Skill getSkillsUsed(int index)

The skills used in this patent.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
Skill

getSkillsUsedCount()

public int getSkillsUsedCount()

The skills used in this patent.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 9;

Returns
TypeDescription
int

getSkillsUsedList()

public List<Skill> getSkillsUsedList()

The skills used in this patent.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 9;

Returns
TypeDescription
List<Skill>

getSkillsUsedOrBuilder(int index)

public SkillOrBuilder getSkillsUsedOrBuilder(int index)

The skills used in this patent.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
SkillOrBuilder

getSkillsUsedOrBuilderList()

public List<? extends SkillOrBuilder> getSkillsUsedOrBuilderList()

The skills used in this patent.

repeated .google.cloud.talent.v4beta1.Skill skills_used = 9;

Returns
TypeDescription
List<? extends com.google.cloud.talent.v4beta1.SkillOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasPatentFilingDate()

public boolean hasPatentFilingDate()

The date that the patent was filed.

.google.type.Date patent_filing_date = 5;

Returns
TypeDescription
boolean

Whether the patentFilingDate field is set.

hasPatentStatusDate()

public boolean hasPatentStatusDate()

The date the last time the status of the patent was checked.

.google.type.Date patent_status_date = 4;

Returns
TypeDescription
boolean

Whether the patentStatusDate field is set.

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 Patent.Builder newBuilderForType()
Returns
TypeDescription
Patent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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