CompensationInfo

google.cloud.talent.v4beta1. CompensationInfo

Represents a CompensationInfo.

Constructor

new CompensationInfo(propertiesopt)

Constructs a new CompensationInfo.

Parameters:
Name Type Attributes Description
properties google.cloud.talent.v4beta1.ICompensationInfo <optional>

Properties to set

Implements:
  • ICompensationInfo

Classes

CompensationEntry
CompensationRange

Members

annualizedBaseCompensationRange

CompensationInfo annualizedBaseCompensationRange.

annualizedTotalCompensationRange

CompensationInfo annualizedTotalCompensationRange.

entries

CompensationInfo entries.

CompensationType

CompensationType enum.

Properties:
Name Type Description
COMPENSATION_TYPE_UNSPECIFIED number

COMPENSATION_TYPE_UNSPECIFIED value

BASE number

BASE value

BONUS number

BONUS value

SIGNING_BONUS number

SIGNING_BONUS value

EQUITY number

EQUITY value

PROFIT_SHARING number

PROFIT_SHARING value

COMMISSIONS number

COMMISSIONS value

TIPS number

TIPS value

OTHER_COMPENSATION_TYPE number

OTHER_COMPENSATION_TYPE value

CompensationUnit

CompensationUnit enum.

Properties:
Name Type Description
COMPENSATION_UNIT_UNSPECIFIED number

COMPENSATION_UNIT_UNSPECIFIED value

HOURLY number

HOURLY value

DAILY number

DAILY value

WEEKLY number

WEEKLY value

MONTHLY number

MONTHLY value

YEARLY number

YEARLY value

ONE_TIME number

ONE_TIME value

OTHER_COMPENSATION_UNIT number

OTHER_COMPENSATION_UNIT value

Methods

toJSON() → {Object.<string, *>}

Converts this CompensationInfo to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) create(propertiesopt) → {google.cloud.talent.v4beta1.CompensationInfo}

Creates a new CompensationInfo instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.talent.v4beta1.ICompensationInfo <optional>

Properties to set

Returns:
Type Description
google.cloud.talent.v4beta1.CompensationInfo

CompensationInfo instance

(static) decode(reader, lengthopt) → {google.cloud.talent.v4beta1.CompensationInfo}

Decodes a CompensationInfo message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Returns:
Type Description
google.cloud.talent.v4beta1.CompensationInfo

CompensationInfo

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.cloud.talent.v4beta1.CompensationInfo}

Decodes a CompensationInfo message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Returns:
Type Description
google.cloud.talent.v4beta1.CompensationInfo

CompensationInfo

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified CompensationInfo message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.talent.v4beta1.ICompensationInfo

CompensationInfo message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified CompensationInfo message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.talent.v4beta1.ICompensationInfo

CompensationInfo message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) fromObject(object) → {google.cloud.talent.v4beta1.CompensationInfo}

Creates a CompensationInfo message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.cloud.talent.v4beta1.CompensationInfo

CompensationInfo

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for CompensationInfo

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a CompensationInfo message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.cloud.talent.v4beta1.CompensationInfo

CompensationInfo

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) verify(message) → {string|null}

Verifies a CompensationInfo message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

Returns:
Type Description
string | null

null if valid, otherwise the reason why it is not