Class Degree

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
TypeDescription
int

DEGREE_TYPE_FIELD_NUMBER

public static final int DEGREE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

FIELDS_OF_STUDY_FIELD_NUMBER

public static final int FIELDS_OF_STUDY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Degree getDefaultInstance()
Returns
TypeDescription
Degree

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Degree.Builder newBuilder()
Returns
TypeDescription
Degree.Builder

newBuilder(Degree prototype)

public static Degree.Builder newBuilder(Degree prototype)
Parameter
NameDescription
prototypeDegree
Returns
TypeDescription
Degree.Builder

parseDelimitedFrom(InputStream input)

public static Degree parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Degree
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Degree parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Degree
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Degree parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Degree
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Degree parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Degree
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Degree parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Degree
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Degree parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Degree
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Degree parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Degree
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Degree parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Degree
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Degree parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Degree
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Degree parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Degree
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Degree parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Degree
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Degree parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Degree
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Degree> parser()
Returns
TypeDescription
Parser<Degree>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Degree getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for degreeName.

getDegreeType()

public DegreeType getDegreeType()

ISCED degree type.

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

Returns
TypeDescription
DegreeType

The degreeType.

getDegreeTypeValue()

public int getDegreeTypeValue()

ISCED degree type.

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

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

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the fieldsOfStudy.

getParserForType()

public Parser<Degree> getParserForType()
Returns
TypeDescription
Parser<Degree>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Degree.Builder newBuilderForType()
Returns
TypeDescription
Degree.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Degree.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Degree.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Degree.Builder toBuilder()
Returns
TypeDescription
Degree.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException