Class Degree (2.2.9)

public final class Degree extends GeneratedMessageV3 implements DegreeOrBuilder

Resource that represents a degree pursuing or acquired by a candidate.

Protobuf type google.cloud.talent.v4beta1.Degree

Implements

DegreeOrBuilder

Static Fields

DEGREE_NAME_FIELD_NUMBER

public static final int DEGREE_NAME_FIELD_NUMBER
Field Value
Type Description
int

DEGREE_TYPE_FIELD_NUMBER

public static final int DEGREE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

FIELDS_OF_STUDY_FIELD_NUMBER

public static final int FIELDS_OF_STUDY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Degree getDefaultInstance()
Returns
Type Description
Degree

getDescriptor()

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

newBuilder()

public static Degree.Builder newBuilder()
Returns
Type Description
Degree.Builder

newBuilder(Degree prototype)

public static Degree.Builder newBuilder(Degree prototype)
Parameter
Name Description
prototype Degree
Returns
Type Description
Degree.Builder

parseDelimitedFrom(InputStream input)

public static Degree parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Degree
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Degree parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Degree
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Degree parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Degree
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Degree parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Degree
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Degree parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Degree
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Degree parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Degree
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Degree parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Degree
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Degree parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Degree
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Degree parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Degree
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Degree parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Degree
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Degree parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Degree
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Degree parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Degree
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Degree> parser()
Returns
Type Description
Parser<Degree>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Degree getDefaultInstanceForType()
Returns
Type Description
Degree

getDegreeName()

public String getDegreeName()

Full Degree name. For example, "B.S.", "Master of Arts", and so on. Number of characters allowed is 100.

string degree_name = 2;

Returns
Type Description
String

The degreeName.

getDegreeNameBytes()

public ByteString getDegreeNameBytes()

Full Degree name. For example, "B.S.", "Master of Arts", and so on. Number of characters allowed is 100.

string degree_name = 2;

Returns
Type Description
ByteString

The bytes for degreeName.

getDegreeType()

public DegreeType getDegreeType()

ISCED degree type.

.google.cloud.talent.v4beta1.DegreeType degree_type = 1;

Returns
Type Description
DegreeType

The degreeType.

getDegreeTypeValue()

public int getDegreeTypeValue()

ISCED degree type.

.google.cloud.talent.v4beta1.DegreeType degree_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for degreeType.

getFieldsOfStudy(int index)

public String getFieldsOfStudy(int index)

Fields of study for the degree. For example, "Computer science", "engineering". Number of characters allowed is 100.

repeated string fields_of_study = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The fieldsOfStudy at the given index.

getFieldsOfStudyBytes(int index)

public ByteString getFieldsOfStudyBytes(int index)

Fields of study for the degree. For example, "Computer science", "engineering". Number of characters allowed is 100.

repeated string fields_of_study = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the fieldsOfStudy at the given index.

getFieldsOfStudyCount()

public int getFieldsOfStudyCount()

Fields of study for the degree. For example, "Computer science", "engineering". Number of characters allowed is 100.

repeated string fields_of_study = 3;

Returns
Type Description
int

The count of fieldsOfStudy.

getFieldsOfStudyList()

public ProtocolStringList getFieldsOfStudyList()

Fields of study for the degree. For example, "Computer science", "engineering". Number of characters allowed is 100.

repeated string fields_of_study = 3;

Returns
Type Description
ProtocolStringList

A list containing the fieldsOfStudy.

getParserForType()

public Parser<Degree> getParserForType()
Returns
Type Description
Parser<Degree>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Degree.Builder newBuilderForType()
Returns
Type Description
Degree.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Degree.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Degree.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Degree.Builder toBuilder()
Returns
Type Description
Degree.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException