Represents a Patent.
Package
@google-cloud/talent!Constructors
(constructor)(properties)
constructor(properties?: google.cloud.talent.v4beta1.IPatent);
Constructs a new Patent.
Name | Description |
properties |
IPatent
Properties to set |
Properties
displayName
public displayName: string;
Patent displayName.
Type | Description |
string |
inventors
public inventors: string[];
Patent inventors.
Type | Description |
string[] |
patentDescription
public patentDescription: string;
Patent patentDescription.
Type | Description |
string |
patentFilingDate
public patentFilingDate?: (google.type.IDate|null);
Patent patentFilingDate.
Type | Description |
(google.type.IDate|null) |
patentNumber
public patentNumber: string;
Patent patentNumber.
Type | Description |
string |
patentOffice
public patentOffice: string;
Patent patentOffice.
Type | Description |
string |
patentStatus
public patentStatus: string;
Patent patentStatus.
Type | Description |
string |
patentStatusDate
public patentStatusDate?: (google.type.IDate|null);
Patent patentStatusDate.
Type | Description |
(google.type.IDate|null) |
skillsUsed
public skillsUsed: google.cloud.talent.v4beta1.ISkill[];
Patent skillsUsed.
Type | Description |
google.cloud.talent.v4beta1.ISkill[] |
Methods
create(properties)
public static create(properties?: google.cloud.talent.v4beta1.IPatent): google.cloud.talent.v4beta1.Patent;
Creates a new Patent instance using the specified properties.
Name | Description |
properties |
IPatent
Properties to set |
Type | Description |
google.cloud.talent.v4beta1.Patent | Patent instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.talent.v4beta1.Patent;
Decodes a Patent message from the specified reader or buffer.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Type | Description |
google.cloud.talent.v4beta1.Patent | Patent |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.talent.v4beta1.Patent;
Decodes a Patent message from the specified reader or buffer, length delimited.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
google.cloud.talent.v4beta1.Patent | Patent |
encode(message, writer)
public static encode(message: google.cloud.talent.v4beta1.IPatent, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified Patent message. Does not implicitly messages.
Name | Description |
message |
IPatent
Patent message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.talent.v4beta1.IPatent, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified Patent message, length delimited. Does not implicitly messages.
Name | Description |
message |
IPatent
Patent message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.talent.v4beta1.Patent;
Creates a Patent message from a plain object. Also converts values to their respective internal types.
Name | Description |
object |
{ [k: string]: any }
Plain object |
Type | Description |
google.cloud.talent.v4beta1.Patent | Patent |
toJSON()
public toJSON(): { [k: string]: any };
Converts this Patent to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.talent.v4beta1.Patent, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from a Patent message. Also converts values to other types if specified.
Name | Description |
message |
google.cloud.talent.v4beta1.Patent
Patent |
options |
$protobuf.IConversionOptions
Conversion options |
Type | Description |
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies a Patent message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|