public final class Patent extends GeneratedMessageV3 implements PatentOrBuilder
Resource that represents the patent acquired by a candidate.
Protobuf type google.cloud.talent.v4beta1.Patent
Static Fields
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
INVENTORS_FIELD_NUMBER
public static final int INVENTORS_FIELD_NUMBER
Field Value
PATENT_DESCRIPTION_FIELD_NUMBER
public static final int PATENT_DESCRIPTION_FIELD_NUMBER
Field Value
PATENT_FILING_DATE_FIELD_NUMBER
public static final int PATENT_FILING_DATE_FIELD_NUMBER
Field Value
PATENT_NUMBER_FIELD_NUMBER
public static final int PATENT_NUMBER_FIELD_NUMBER
Field Value
PATENT_OFFICE_FIELD_NUMBER
public static final int PATENT_OFFICE_FIELD_NUMBER
Field Value
PATENT_STATUS_DATE_FIELD_NUMBER
public static final int PATENT_STATUS_DATE_FIELD_NUMBER
Field Value
PATENT_STATUS_FIELD_NUMBER
public static final int PATENT_STATUS_FIELD_NUMBER
Field Value
SKILLS_USED_FIELD_NUMBER
public static final int SKILLS_USED_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Patent getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Patent.Builder newBuilder()
Returns
newBuilder(Patent prototype)
public static Patent.Builder newBuilder(Patent prototype)
Parameter
Name | Description |
prototype | Patent
|
Returns
public static Patent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Patent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Patent parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Patent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Patent parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Patent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Patent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Patent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Patent parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Patent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Patent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Patent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Patent> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Patent getDefaultInstanceForType()
Returns
getDisplayName()
public String getDisplayName()
Name of the patent.
Number of characters allowed is 100.
string display_name = 1;
Returns
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Name of the patent.
Number of characters allowed is 100.
string display_name = 1;
Returns
Type | Description |
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
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
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
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
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
Type | Description |
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
getParserForType()
public Parser<Patent> getParserForType()
Returns
Overrides
getPatentDescription()
public String getPatentDescription()
The description of the patent.
Number of characters allowed is 100,000.
string patent_description = 8;
Returns
Type | Description |
String | The patentDescription.
|
getPatentDescriptionBytes()
public ByteString getPatentDescriptionBytes()
The description of the patent.
Number of characters allowed is 100,000.
string patent_description = 8;
Returns
Type | Description |
ByteString | The bytes for patentDescription.
|
getPatentFilingDate()
public Date getPatentFilingDate()
The date that the patent was filed.
.google.type.Date patent_filing_date = 5;
Returns
Type | Description |
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
Type | Description |
com.google.type.DateOrBuilder | |
getPatentNumber()
public String getPatentNumber()
The number of the patent.
Number of characters allowed is 100.
string patent_number = 7;
Returns
Type | Description |
String | The patentNumber.
|
getPatentNumberBytes()
public ByteString getPatentNumberBytes()
The number of the patent.
Number of characters allowed is 100.
string patent_number = 7;
Returns
Type | Description |
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
Type | Description |
String | The patentOffice.
|
getPatentOfficeBytes()
public ByteString getPatentOfficeBytes()
The name of the patent office.
Number of characters allowed is 100.
string patent_office = 6;
Returns
Type | Description |
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
Type | Description |
String | The patentStatus.
|
getPatentStatusBytes()
public ByteString getPatentStatusBytes()
The status of the patent.
Number of characters allowed is 100.
string patent_status = 3;
Returns
Type | Description |
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
Type | Description |
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
Type | Description |
com.google.type.DateOrBuilder | |
getSerializedSize()
public int getSerializedSize()
Returns
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
Returns
getSkillsUsedCount()
public int getSkillsUsedCount()
The skills used in this patent.
repeated .google.cloud.talent.v4beta1.Skill skills_used = 9;
Returns
getSkillsUsedList()
public List<Skill> getSkillsUsedList()
The skills used in this patent.
repeated .google.cloud.talent.v4beta1.Skill skills_used = 9;
Returns
getSkillsUsedOrBuilder(int index)
public SkillOrBuilder getSkillsUsedOrBuilder(int index)
The skills used in this patent.
repeated .google.cloud.talent.v4beta1.Skill skills_used = 9;
Parameter
Returns
getSkillsUsedOrBuilderList()
public List<? extends SkillOrBuilder> getSkillsUsedOrBuilderList()
The skills used in this patent.
repeated .google.cloud.talent.v4beta1.Skill skills_used = 9;
Returns
Type | Description |
List<? extends com.google.cloud.talent.v4beta1.SkillOrBuilder> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasPatentFilingDate()
public boolean hasPatentFilingDate()
The date that the patent was filed.
.google.type.Date patent_filing_date = 5;
Returns
Type | Description |
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
Type | Description |
boolean | Whether the patentStatusDate field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Patent.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Patent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Patent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions