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
TypeDescription
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
NameDescription
valuesIterable<String>

The inventors to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.talent.v4beta1.Skill>
Returns
TypeDescription
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
NameDescription
valueString

The inventors to add.

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

The bytes of the inventors to add.

Returns
TypeDescription
Patent.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Patent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSkill
Returns
TypeDescription
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
NameDescription
builderForValueSkill.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSkill
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSkill.Builder
Returns
TypeDescription
Patent.Builder

addSkillsUsedBuilder()

public Skill.Builder addSkillsUsedBuilder()

The skills used in this patent.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Skill.Builder

build()

public Patent build()
Returns
TypeDescription
Patent

buildPartial()

public Patent buildPartial()
Returns
TypeDescription
Patent

clear()

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

clearDisplayName()

public Patent.Builder clearDisplayName()

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

string display_name = 1;

Returns
TypeDescription
Patent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Patent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Patent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Patent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Patent.Builder

clearPatentNumber()

public Patent.Builder clearPatentNumber()

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

string patent_number = 7;

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

clearSkillsUsed()

public Patent.Builder clearSkillsUsed()

The skills used in this patent.

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

Returns
TypeDescription
Patent.Builder

clone()

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

getDefaultInstanceForType()

public Patent getDefaultInstanceForType()
Returns
TypeDescription
Patent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

getPatentFilingDateBuilder()

public Date.Builder getPatentFilingDateBuilder()

The date that the patent was filed.

.google.type.Date patent_filing_date = 5;

Returns
TypeDescription
com.google.type.Date.Builder

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.

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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Skill.Builder

getSkillsUsedBuilderList()

public List<Skill.Builder> getSkillsUsedBuilderList()

The skills used in this patent.

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

Returns
TypeDescription
List<Builder>

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>

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Patent other)

public Patent.Builder mergeFrom(Patent other)
Parameter
NameDescription
otherPatent
Returns
TypeDescription
Patent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Patent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
Patent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Patent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

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

The bytes for displayName to set.

Returns
TypeDescription
Patent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Patent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The inventors to set.

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

The patentDescription to set.

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

The bytes for patentDescription to set.

Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Date.Builder
Returns
TypeDescription
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
NameDescription
valueString

The patentNumber to set.

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

The bytes for patentNumber to set.

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

The patentOffice to set.

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

The bytes for patentOffice to set.

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

The patentStatus to set.

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

The bytes for patentStatus to set.

Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Date.Builder
Returns
TypeDescription
Patent.Builder

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

public Patent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSkill
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSkill.Builder
Returns
TypeDescription
Patent.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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