Class Degree.Builder

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
TypeDescription
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
NameDescription
valuesIterable<String>

The fieldsOfStudy to add.

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

The fieldsOfStudy to add.

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

The bytes of the fieldsOfStudy to add.

Returns
TypeDescription
Degree.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Degree.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Degree.Builder
Overrides

build()

public Degree build()
Returns
TypeDescription
Degree

buildPartial()

public Degree buildPartial()
Returns
TypeDescription
Degree

clear()

public Degree.Builder clear()
Returns
TypeDescription
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
TypeDescription
Degree.Builder

This builder for chaining.

clearDegreeType()

public Degree.Builder clearDegreeType()

ISCED degree type.

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

Returns
TypeDescription
Degree.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Degree.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Degree.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Degree.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Degree.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Degree other)

public Degree.Builder mergeFrom(Degree other)
Parameter
NameDescription
otherDegree
Returns
TypeDescription
Degree.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Degree.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Degree.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Degree.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Degree.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Degree.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The degreeName to set.

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

The bytes for degreeName to set.

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

The degreeType to set.

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

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

Returns
TypeDescription
Degree.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Degree.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The fieldsOfStudy to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Degree.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Degree.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Degree.Builder
Overrides