Class Patent.Builder (2.2.9)

public static final class Patent.Builder extends GeneratedMessageV3.Builder<Patent.Builder> implements PatentOrBuilder

Resource that represents the patent acquired by a candidate.

Protobuf type google.cloud.talent.v4beta1.Patent

Implements

PatentOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllInventors(Iterable<String> values)

public Patent.Builder addAllInventors(Iterable<String> values)

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

repeated string inventors = 2;

Parameter
Name Description
values Iterable<String>

The inventors to add.

Returns
Type Description
Patent.Builder

This builder for chaining.

addAllSkillsUsed(Iterable<? extends Skill> values)

public Patent.Builder addAllSkillsUsed(Iterable<? extends Skill> values)

The skills used in this patent.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.talent.v4beta1.Skill>
Returns
Type Description
Patent.Builder

addInventors(String value)

public Patent.Builder addInventors(String value)

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

repeated string inventors = 2;

Parameter
Name Description
value String

The inventors to add.

Returns
Type Description
Patent.Builder

This builder for chaining.

addInventorsBytes(ByteString value)

public Patent.Builder addInventorsBytes(ByteString value)

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

repeated string inventors = 2;

Parameter
Name Description
value ByteString

The bytes of the inventors to add.

Returns
Type Description
Patent.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSkillsUsed(Skill value)

public Patent.Builder addSkillsUsed(Skill value)

The skills used in this patent.

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

Parameter
Name Description
value Skill
Returns
Type Description
Patent.Builder

addSkillsUsed(Skill.Builder builderForValue)

public Patent.Builder addSkillsUsed(Skill.Builder builderForValue)

The skills used in this patent.

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

Parameter
Name Description
builderForValue Skill.Builder
Returns
Type Description
Patent.Builder

addSkillsUsed(int index, Skill value)

public Patent.Builder addSkillsUsed(int index, Skill value)

The skills used in this patent.

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

Parameters
Name Description
index int
value Skill
Returns
Type Description
Patent.Builder

addSkillsUsed(int index, Skill.Builder builderForValue)

public Patent.Builder addSkillsUsed(int index, Skill.Builder builderForValue)

The skills used in this patent.

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

Parameters
Name Description
index int
builderForValue Skill.Builder
Returns
Type Description
Patent.Builder

addSkillsUsedBuilder()

public Skill.Builder addSkillsUsedBuilder()

The skills used in this patent.

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

Returns
Type Description
Skill.Builder

addSkillsUsedBuilder(int index)

public Skill.Builder addSkillsUsedBuilder(int index)

The skills used in this patent.

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

Parameter
Name Description
index int
Returns
Type Description
Skill.Builder

build()

public Patent build()
Returns
Type Description
Patent

buildPartial()

public Patent buildPartial()
Returns
Type Description
Patent

clear()

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

clearDisplayName()

public Patent.Builder clearDisplayName()

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

string display_name = 1;

Returns
Type Description
Patent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearInventors()

public Patent.Builder clearInventors()

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

repeated string inventors = 2;

Returns
Type Description
Patent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPatentDescription()

public Patent.Builder clearPatentDescription()

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

string patent_description = 8;

Returns
Type Description
Patent.Builder

This builder for chaining.

clearPatentFilingDate()

public Patent.Builder clearPatentFilingDate()

The date that the patent was filed.

.google.type.Date patent_filing_date = 5;

Returns
Type Description
Patent.Builder

clearPatentNumber()

public Patent.Builder clearPatentNumber()

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

string patent_number = 7;

Returns
Type Description
Patent.Builder

This builder for chaining.

clearPatentOffice()

public Patent.Builder clearPatentOffice()

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

string patent_office = 6;

Returns
Type Description
Patent.Builder

This builder for chaining.

clearPatentStatus()

public Patent.Builder clearPatentStatus()

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

string patent_status = 3;

Returns
Type Description
Patent.Builder

This builder for chaining.

clearPatentStatusDate()

public Patent.Builder clearPatentStatusDate()

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

.google.type.Date patent_status_date = 4;

Returns
Type Description
Patent.Builder

clearSkillsUsed()

public Patent.Builder clearSkillsUsed()

The skills used in this patent.

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

Returns
Type Description
Patent.Builder

clone()

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

getDefaultInstanceForType()

public Patent getDefaultInstanceForType()
Returns
Type Description
Patent

getDescriptorForType()

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

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
Type Description
ProtocolStringList

A list containing the inventors.

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.

getPatentFilingDateBuilder()

public Date.Builder getPatentFilingDateBuilder()

The date that the patent was filed.

.google.type.Date patent_filing_date = 5;

Returns
Type Description
com.google.type.Date.Builder

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.

getPatentStatusDateBuilder()

public Date.Builder getPatentStatusDateBuilder()

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.Builder

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

getSkillsUsed(int index)

public Skill getSkillsUsed(int index)

The skills used in this patent.

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

Parameter
Name Description
index int
Returns
Type Description
Skill

getSkillsUsedBuilder(int index)

public Skill.Builder getSkillsUsedBuilder(int index)

The skills used in this patent.

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

Parameter
Name Description
index int
Returns
Type Description
Skill.Builder

getSkillsUsedBuilderList()

public List<Skill.Builder> getSkillsUsedBuilderList()

The skills used in this patent.

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

Returns
Type Description
List<Builder>

getSkillsUsedCount()

public int getSkillsUsedCount()

The skills used in this patent.

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

Returns
Type Description
int

getSkillsUsedList()

public List<Skill> getSkillsUsedList()

The skills used in this patent.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
SkillOrBuilder

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>

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Patent other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePatentFilingDate(Date value)

public Patent.Builder mergePatentFilingDate(Date value)

The date that the patent was filed.

.google.type.Date patent_filing_date = 5;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
Patent.Builder

mergePatentStatusDate(Date value)

public Patent.Builder mergePatentStatusDate(Date value)

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

.google.type.Date patent_status_date = 4;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
Patent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSkillsUsed(int index)

public Patent.Builder removeSkillsUsed(int index)

The skills used in this patent.

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

Parameter
Name Description
index int
Returns
Type Description
Patent.Builder

setDisplayName(String value)

public Patent.Builder setDisplayName(String value)

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

string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Patent.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Patent.Builder setDisplayNameBytes(ByteString value)

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

string display_name = 1;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Patent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setInventors(int index, String value)

public Patent.Builder setInventors(int index, String value)

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

repeated string inventors = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The inventors to set.

Returns
Type Description
Patent.Builder

This builder for chaining.

setPatentDescription(String value)

public Patent.Builder setPatentDescription(String value)

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

string patent_description = 8;

Parameter
Name Description
value String

The patentDescription to set.

Returns
Type Description
Patent.Builder

This builder for chaining.

setPatentDescriptionBytes(ByteString value)

public Patent.Builder setPatentDescriptionBytes(ByteString value)

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

string patent_description = 8;

Parameter
Name Description
value ByteString

The bytes for patentDescription to set.

Returns
Type Description
Patent.Builder

This builder for chaining.

setPatentFilingDate(Date value)

public Patent.Builder setPatentFilingDate(Date value)

The date that the patent was filed.

.google.type.Date patent_filing_date = 5;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
Patent.Builder

setPatentFilingDate(Date.Builder builderForValue)

public Patent.Builder setPatentFilingDate(Date.Builder builderForValue)

The date that the patent was filed.

.google.type.Date patent_filing_date = 5;

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
Patent.Builder

setPatentNumber(String value)

public Patent.Builder setPatentNumber(String value)

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

string patent_number = 7;

Parameter
Name Description
value String

The patentNumber to set.

Returns
Type Description
Patent.Builder

This builder for chaining.

setPatentNumberBytes(ByteString value)

public Patent.Builder setPatentNumberBytes(ByteString value)

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

string patent_number = 7;

Parameter
Name Description
value ByteString

The bytes for patentNumber to set.

Returns
Type Description
Patent.Builder

This builder for chaining.

setPatentOffice(String value)

public Patent.Builder setPatentOffice(String value)

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

string patent_office = 6;

Parameter
Name Description
value String

The patentOffice to set.

Returns
Type Description
Patent.Builder

This builder for chaining.

setPatentOfficeBytes(ByteString value)

public Patent.Builder setPatentOfficeBytes(ByteString value)

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

string patent_office = 6;

Parameter
Name Description
value ByteString

The bytes for patentOffice to set.

Returns
Type Description
Patent.Builder

This builder for chaining.

setPatentStatus(String value)

public Patent.Builder setPatentStatus(String value)

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

string patent_status = 3;

Parameter
Name Description
value String

The patentStatus to set.

Returns
Type Description
Patent.Builder

This builder for chaining.

setPatentStatusBytes(ByteString value)

public Patent.Builder setPatentStatusBytes(ByteString value)

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

string patent_status = 3;

Parameter
Name Description
value ByteString

The bytes for patentStatus to set.

Returns
Type Description
Patent.Builder

This builder for chaining.

setPatentStatusDate(Date value)

public Patent.Builder setPatentStatusDate(Date value)

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

.google.type.Date patent_status_date = 4;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
Patent.Builder

setPatentStatusDate(Date.Builder builderForValue)

public Patent.Builder setPatentStatusDate(Date.Builder builderForValue)

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

.google.type.Date patent_status_date = 4;

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
Patent.Builder

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

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

setSkillsUsed(int index, Skill value)

public Patent.Builder setSkillsUsed(int index, Skill value)

The skills used in this patent.

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

Parameters
Name Description
index int
value Skill
Returns
Type Description
Patent.Builder

setSkillsUsed(int index, Skill.Builder builderForValue)

public Patent.Builder setSkillsUsed(int index, Skill.Builder builderForValue)

The skills used in this patent.

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

Parameters
Name Description
index int
builderForValue Skill.Builder
Returns
Type Description
Patent.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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