- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.6
- 2.2.9
public static final class SearchJobsRequest.CustomRankingInfo.Builder extends GeneratedMessageV3.Builder<SearchJobsRequest.CustomRankingInfo.Builder> implements SearchJobsRequest.CustomRankingInfoOrBuilder
Custom ranking information for SearchJobsRequest.
Protobuf type google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SearchJobsRequest.CustomRankingInfo.BuilderImplements
SearchJobsRequest.CustomRankingInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchJobsRequest.CustomRankingInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
build()
public SearchJobsRequest.CustomRankingInfo build()
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo |
buildPartial()
public SearchJobsRequest.CustomRankingInfo buildPartial()
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo |
clear()
public SearchJobsRequest.CustomRankingInfo.Builder clear()
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public SearchJobsRequest.CustomRankingInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
clearImportanceLevel()
public SearchJobsRequest.CustomRankingInfo.Builder clearImportanceLevel()
Required. Controls over how important the score of CustomRankingInfo.ranking_expression gets applied to job's final ranking position.
An error is thrown if not specified.
.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchJobsRequest.CustomRankingInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
clearRankingExpression()
public SearchJobsRequest.CustomRankingInfo.Builder clearRankingExpression()
Required. Controls over how job documents get ranked on top of existing relevance score (determined by API algorithm). A combination of the ranking expression and relevance score is used to determine job's final ranking position.
The syntax for this expression is a subset of Google SQL syntax.
Supported operators are: +, -, *, /, where the left and right side of the operator is either a numeric Job.custom_attributes key, integer/double value or an expression that can be evaluated to a number.
Parenthesis are supported to adjust calculation precedence. The expression must be < 200 characters in length.
The expression is considered invalid for a job if the expression references custom attributes that are not populated on the job or if the expression results in a divide by zero. If an expression is invalid for a job, that job is demoted to the end of the results.
Sample ranking expression (year + 25) * 0.25 - (freshness / 0.5)
string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
This builder for chaining. |
clone()
public SearchJobsRequest.CustomRankingInfo.Builder clone()
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
getDefaultInstanceForType()
public SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getImportanceLevel()
public SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel()
Required. Controls over how important the score of CustomRankingInfo.ranking_expression gets applied to job's final ranking position.
An error is thrown if not specified.
.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.ImportanceLevel |
The importanceLevel. |
getImportanceLevelValue()
public int getImportanceLevelValue()
Required. Controls over how important the score of CustomRankingInfo.ranking_expression gets applied to job's final ranking position.
An error is thrown if not specified.
.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for importanceLevel. |
getRankingExpression()
public String getRankingExpression()
Required. Controls over how job documents get ranked on top of existing relevance score (determined by API algorithm). A combination of the ranking expression and relevance score is used to determine job's final ranking position.
The syntax for this expression is a subset of Google SQL syntax.
Supported operators are: +, -, *, /, where the left and right side of the operator is either a numeric Job.custom_attributes key, integer/double value or an expression that can be evaluated to a number.
Parenthesis are supported to adjust calculation precedence. The expression must be < 200 characters in length.
The expression is considered invalid for a job if the expression references custom attributes that are not populated on the job or if the expression results in a divide by zero. If an expression is invalid for a job, that job is demoted to the end of the results.
Sample ranking expression (year + 25) * 0.25 - (freshness / 0.5)
string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The rankingExpression. |
getRankingExpressionBytes()
public ByteString getRankingExpressionBytes()
Required. Controls over how job documents get ranked on top of existing relevance score (determined by API algorithm). A combination of the ranking expression and relevance score is used to determine job's final ranking position.
The syntax for this expression is a subset of Google SQL syntax.
Supported operators are: +, -, *, /, where the left and right side of the operator is either a numeric Job.custom_attributes key, integer/double value or an expression that can be evaluated to a number.
Parenthesis are supported to adjust calculation precedence. The expression must be < 200 characters in length.
The expression is considered invalid for a job if the expression references custom attributes that are not populated on the job or if the expression results in a divide by zero. If an expression is invalid for a job, that job is demoted to the end of the results.
Sample ranking expression (year + 25) * 0.25 - (freshness / 0.5)
string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for rankingExpression. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SearchJobsRequest.CustomRankingInfo other)
public SearchJobsRequest.CustomRankingInfo.Builder mergeFrom(SearchJobsRequest.CustomRankingInfo other)
Parameter | |
---|---|
Name | Description |
other |
SearchJobsRequest.CustomRankingInfo |
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchJobsRequest.CustomRankingInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SearchJobsRequest.CustomRankingInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchJobsRequest.CustomRankingInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SearchJobsRequest.CustomRankingInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
setImportanceLevel(SearchJobsRequest.CustomRankingInfo.ImportanceLevel value)
public SearchJobsRequest.CustomRankingInfo.Builder setImportanceLevel(SearchJobsRequest.CustomRankingInfo.ImportanceLevel value)
Required. Controls over how important the score of CustomRankingInfo.ranking_expression gets applied to job's final ranking position.
An error is thrown if not specified.
.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
SearchJobsRequest.CustomRankingInfo.ImportanceLevel The importanceLevel to set. |
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
This builder for chaining. |
setImportanceLevelValue(int value)
public SearchJobsRequest.CustomRankingInfo.Builder setImportanceLevelValue(int value)
Required. Controls over how important the score of CustomRankingInfo.ranking_expression gets applied to job's final ranking position.
An error is thrown if not specified.
.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for importanceLevel to set. |
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
This builder for chaining. |
setRankingExpression(String value)
public SearchJobsRequest.CustomRankingInfo.Builder setRankingExpression(String value)
Required. Controls over how job documents get ranked on top of existing relevance score (determined by API algorithm). A combination of the ranking expression and relevance score is used to determine job's final ranking position.
The syntax for this expression is a subset of Google SQL syntax.
Supported operators are: +, -, *, /, where the left and right side of the operator is either a numeric Job.custom_attributes key, integer/double value or an expression that can be evaluated to a number.
Parenthesis are supported to adjust calculation precedence. The expression must be < 200 characters in length.
The expression is considered invalid for a job if the expression references custom attributes that are not populated on the job or if the expression results in a divide by zero. If an expression is invalid for a job, that job is demoted to the end of the results.
Sample ranking expression (year + 25) * 0.25 - (freshness / 0.5)
string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The rankingExpression to set. |
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
This builder for chaining. |
setRankingExpressionBytes(ByteString value)
public SearchJobsRequest.CustomRankingInfo.Builder setRankingExpressionBytes(ByteString value)
Required. Controls over how job documents get ranked on top of existing relevance score (determined by API algorithm). A combination of the ranking expression and relevance score is used to determine job's final ranking position.
The syntax for this expression is a subset of Google SQL syntax.
Supported operators are: +, -, *, /, where the left and right side of the operator is either a numeric Job.custom_attributes key, integer/double value or an expression that can be evaluated to a number.
Parenthesis are supported to adjust calculation precedence. The expression must be < 200 characters in length.
The expression is considered invalid for a job if the expression references custom attributes that are not populated on the job or if the expression results in a divide by zero. If an expression is invalid for a job, that job is demoted to the end of the results.
Sample ranking expression (year + 25) * 0.25 - (freshness / 0.5)
string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for rankingExpression to set. |
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchJobsRequest.CustomRankingInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchJobsRequest.CustomRankingInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |