Class SkillFilter.Builder (2.2.9)

public static final class SkillFilter.Builder extends GeneratedMessageV3.Builder<SkillFilter.Builder> implements SkillFilterOrBuilder

Skill filter of the search.

Protobuf type google.cloud.talent.v4beta1.SkillFilter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SkillFilter build()
Returns
TypeDescription
SkillFilter

buildPartial()

public SkillFilter buildPartial()
Returns
TypeDescription
SkillFilter

clear()

public SkillFilter.Builder clear()
Returns
TypeDescription
SkillFilter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SkillFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SkillFilter.Builder
Overrides

clearNegated()

public SkillFilter.Builder clearNegated()

Whether to apply negation to the filter so profiles matching the filter are excluded.

bool negated = 2;

Returns
TypeDescription
SkillFilter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSkill()

public SkillFilter.Builder clearSkill()

Required. The skill name. For example, "java", "j2ee", and so on.

string skill = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SkillFilter.Builder

This builder for chaining.

clone()

public SkillFilter.Builder clone()
Returns
TypeDescription
SkillFilter.Builder
Overrides

getDefaultInstanceForType()

public SkillFilter getDefaultInstanceForType()
Returns
TypeDescription
SkillFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNegated()

public boolean getNegated()

Whether to apply negation to the filter so profiles matching the filter are excluded.

bool negated = 2;

Returns
TypeDescription
boolean

The negated.

getSkill()

public String getSkill()

Required. The skill name. For example, "java", "j2ee", and so on.

string skill = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The skill.

getSkillBytes()

public ByteString getSkillBytes()

Required. The skill name. For example, "java", "j2ee", and so on.

string skill = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for skill.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SkillFilter other)

public SkillFilter.Builder mergeFrom(SkillFilter other)
Parameter
NameDescription
otherSkillFilter
Returns
TypeDescription
SkillFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SkillFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SkillFilter.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setNegated(boolean value)

public SkillFilter.Builder setNegated(boolean value)

Whether to apply negation to the filter so profiles matching the filter are excluded.

bool negated = 2;

Parameter
NameDescription
valueboolean

The negated to set.

Returns
TypeDescription
SkillFilter.Builder

This builder for chaining.

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

public SkillFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SkillFilter.Builder
Overrides

setSkill(String value)

public SkillFilter.Builder setSkill(String value)

Required. The skill name. For example, "java", "j2ee", and so on.

string skill = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The skill to set.

Returns
TypeDescription
SkillFilter.Builder

This builder for chaining.

setSkillBytes(ByteString value)

public SkillFilter.Builder setSkillBytes(ByteString value)

Required. The skill name. For example, "java", "j2ee", and so on.

string skill = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for skill to set.

Returns
TypeDescription
SkillFilter.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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