Class Degree.Builder (2.2.9)

public static final class Degree.Builder extends GeneratedMessageV3.Builder<Degree.Builder> implements DegreeOrBuilder

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

Protobuf type google.cloud.talent.v4beta1.Degree

Implements

DegreeOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllFieldsOfStudy(Iterable<String> values)

public Degree.Builder addAllFieldsOfStudy(Iterable<String> values)

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
values Iterable<String>

The fieldsOfStudy to add.

Returns
Type Description
Degree.Builder

This builder for chaining.

addFieldsOfStudy(String value)

public Degree.Builder addFieldsOfStudy(String value)

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
value String

The fieldsOfStudy to add.

Returns
Type Description
Degree.Builder

This builder for chaining.

addFieldsOfStudyBytes(ByteString value)

public Degree.Builder addFieldsOfStudyBytes(ByteString value)

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
value ByteString

The bytes of the fieldsOfStudy to add.

Returns
Type Description
Degree.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Degree.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Degree.Builder
Overrides

build()

public Degree build()
Returns
Type Description
Degree

buildPartial()

public Degree buildPartial()
Returns
Type Description
Degree

clear()

public Degree.Builder clear()
Returns
Type Description
Degree.Builder
Overrides

clearDegreeName()

public Degree.Builder clearDegreeName()

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
Degree.Builder

This builder for chaining.

clearDegreeType()

public Degree.Builder clearDegreeType()

ISCED degree type.

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

Returns
Type Description
Degree.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Degree.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Degree.Builder
Overrides

clearFieldsOfStudy()

public Degree.Builder clearFieldsOfStudy()

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
Degree.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Degree.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Degree.Builder
Overrides

clone()

public Degree.Builder clone()
Returns
Type Description
Degree.Builder
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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Degree other)

public Degree.Builder mergeFrom(Degree other)
Parameter
Name Description
other Degree
Returns
Type Description
Degree.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Degree.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Degree.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public Degree.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Degree.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Degree.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Degree.Builder
Overrides

setDegreeName(String value)

public Degree.Builder setDegreeName(String value)

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

string degree_name = 2;

Parameter
Name Description
value String

The degreeName to set.

Returns
Type Description
Degree.Builder

This builder for chaining.

setDegreeNameBytes(ByteString value)

public Degree.Builder setDegreeNameBytes(ByteString value)

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

string degree_name = 2;

Parameter
Name Description
value ByteString

The bytes for degreeName to set.

Returns
Type Description
Degree.Builder

This builder for chaining.

setDegreeType(DegreeType value)

public Degree.Builder setDegreeType(DegreeType value)

ISCED degree type.

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

Parameter
Name Description
value DegreeType

The degreeType to set.

Returns
Type Description
Degree.Builder

This builder for chaining.

setDegreeTypeValue(int value)

public Degree.Builder setDegreeTypeValue(int value)

ISCED degree type.

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

Parameter
Name Description
value int

The enum numeric value on the wire for degreeType to set.

Returns
Type Description
Degree.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Degree.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Degree.Builder
Overrides

setFieldsOfStudy(int index, String value)

public Degree.Builder setFieldsOfStudy(int index, String value)

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

repeated string fields_of_study = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The fieldsOfStudy to set.

Returns
Type Description
Degree.Builder

This builder for chaining.

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

public Degree.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Degree.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Degree.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Degree.Builder
Overrides