- 2.55.0 (latest)
- 2.54.0
- 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 extends GeneratedMessageV3 implements SearchJobsRequest.CustomRankingInfoOrBuilder
Custom ranking information for SearchJobsRequest.
Protobuf type google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SearchJobsRequest.CustomRankingInfoImplements
SearchJobsRequest.CustomRankingInfoOrBuilderStatic Fields
IMPORTANCE_LEVEL_FIELD_NUMBER
public static final int IMPORTANCE_LEVEL_FIELD_NUMBER
Type | Description |
int |
RANKING_EXPRESSION_FIELD_NUMBER
public static final int RANKING_EXPRESSION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static SearchJobsRequest.CustomRankingInfo getDefaultInstance()
Type | Description |
SearchJobsRequest.CustomRankingInfo |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static SearchJobsRequest.CustomRankingInfo.Builder newBuilder()
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
newBuilder(SearchJobsRequest.CustomRankingInfo prototype)
public static SearchJobsRequest.CustomRankingInfo.Builder newBuilder(SearchJobsRequest.CustomRankingInfo prototype)
Name | Description |
prototype | SearchJobsRequest.CustomRankingInfo |
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
parseDelimitedFrom(InputStream input)
public static SearchJobsRequest.CustomRankingInfo parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
SearchJobsRequest.CustomRankingInfo |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchJobsRequest.CustomRankingInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SearchJobsRequest.CustomRankingInfo |
Type | Description |
IOException |
parseFrom(byte[] data)
public static SearchJobsRequest.CustomRankingInfo parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
SearchJobsRequest.CustomRankingInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchJobsRequest.CustomRankingInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SearchJobsRequest.CustomRankingInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static SearchJobsRequest.CustomRankingInfo parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
SearchJobsRequest.CustomRankingInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchJobsRequest.CustomRankingInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SearchJobsRequest.CustomRankingInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static SearchJobsRequest.CustomRankingInfo parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
SearchJobsRequest.CustomRankingInfo |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchJobsRequest.CustomRankingInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SearchJobsRequest.CustomRankingInfo |
Type | Description |
IOException |
parseFrom(InputStream input)
public static SearchJobsRequest.CustomRankingInfo parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
SearchJobsRequest.CustomRankingInfo |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchJobsRequest.CustomRankingInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SearchJobsRequest.CustomRankingInfo |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static SearchJobsRequest.CustomRankingInfo parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
SearchJobsRequest.CustomRankingInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchJobsRequest.CustomRankingInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SearchJobsRequest.CustomRankingInfo |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<SearchJobsRequest.CustomRankingInfo> parser()
Type | Description |
Parser<CustomRankingInfo> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType()
Type | Description |
SearchJobsRequest.CustomRankingInfo |
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.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED];
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.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The enum numeric value on the wire for importanceLevel. |
getParserForType()
public Parser<SearchJobsRequest.CustomRankingInfo> getParserForType()
Type | Description |
Parser<CustomRankingInfo> |
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 < 100 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];
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 < 100 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];
Type | Description |
ByteString | The bytes for rankingExpression. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public SearchJobsRequest.CustomRankingInfo.Builder newBuilderForType()
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchJobsRequest.CustomRankingInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public SearchJobsRequest.CustomRankingInfo.Builder toBuilder()
Type | Description |
SearchJobsRequest.CustomRankingInfo.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |