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
Static Fields
DEGREE_NAME_FIELD_NUMBER
public static final int DEGREE_NAME_FIELD_NUMBER
Field Value
DEGREE_TYPE_FIELD_NUMBER
public static final int DEGREE_TYPE_FIELD_NUMBER
Field Value
FIELDS_OF_STUDY_FIELD_NUMBER
public static final int FIELDS_OF_STUDY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Degree getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Degree.Builder newBuilder()
Returns
newBuilder(Degree prototype)
public static Degree.Builder newBuilder(Degree prototype)
Parameter
Name | Description |
prototype | Degree
|
Returns
public static Degree parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Degree parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Degree parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Degree parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Degree parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Degree parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Degree parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Degree parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Degree parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Degree parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Degree parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Degree parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Degree> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Degree getDefaultInstanceForType()
Returns
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
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
getParserForType()
public Parser<Degree> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Degree.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Degree.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Degree.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions