public final class RequestMetadata extends GeneratedMessageV3 implements RequestMetadataOrBuilder
Meta information related to the job searcher or entity conducting the job search. This information is used to improve the performance of the service.Protobuf type
google.cloud.talent.v4.RequestMetadata
Modifier and Type | Class and Description |
---|---|
static class |
RequestMetadata.Builder
Meta information related to the job searcher or entity
conducting the job search.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
ALLOW_MISSING_IDS_FIELD_NUMBER |
static int |
DEVICE_INFO_FIELD_NUMBER |
static int |
DOMAIN_FIELD_NUMBER |
static int |
SESSION_ID_FIELD_NUMBER |
static int |
USER_ID_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
boolean |
getAllowMissingIds()
Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
available for some reason.
|
static RequestMetadata |
getDefaultInstance() |
RequestMetadata |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
DeviceInfo |
getDeviceInfo()
The type of device used by the job seeker at the time of the call to the
service.
|
DeviceInfoOrBuilder |
getDeviceInfoOrBuilder()
The type of device used by the job seeker at the time of the call to the
service.
|
String |
getDomain()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
|
ByteString |
getDomainBytes()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
|
Parser<RequestMetadata> |
getParserForType() |
int |
getSerializedSize() |
String |
getSessionId()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
|
ByteString |
getSessionIdBytes()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
|
UnknownFieldSet |
getUnknownFields() |
String |
getUserId()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
|
ByteString |
getUserIdBytes()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
|
boolean |
hasDeviceInfo()
The type of device used by the job seeker at the time of the call to the
service.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RequestMetadata.Builder |
newBuilder() |
static RequestMetadata.Builder |
newBuilder(RequestMetadata prototype) |
RequestMetadata.Builder |
newBuilderForType() |
protected RequestMetadata.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static RequestMetadata |
parseDelimitedFrom(InputStream input) |
static RequestMetadata |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static RequestMetadata |
parseFrom(byte[] data) |
static RequestMetadata |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static RequestMetadata |
parseFrom(ByteBuffer data) |
static RequestMetadata |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static RequestMetadata |
parseFrom(ByteString data) |
static RequestMetadata |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static RequestMetadata |
parseFrom(CodedInputStream input) |
static RequestMetadata |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static RequestMetadata |
parseFrom(InputStream input) |
static RequestMetadata |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<RequestMetadata> |
parser() |
RequestMetadata.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int DOMAIN_FIELD_NUMBER
public static final int SESSION_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER
public static final int ALLOW_MISSING_IDS_FIELD_NUMBER
public static final int DEVICE_INFO_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getDomain()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`. The client-defined scope or source of the service call, which typically is the domain on which the service has been implemented and is currently being run. For example, if the service is being run by client <em>Foo, Inc.</em>, on job board www.foo.com and career site www.bar.com, then this field is set to "foo.com" for use on the job board, and "bar.com" for use on the career site. Note that any improvements to the model for a particular tenant site rely on this field being set correctly to a unique domain. The maximum number of allowed characters is 255.
string domain = 1;
getDomain
in interface RequestMetadataOrBuilder
public ByteString getDomainBytes()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`. The client-defined scope or source of the service call, which typically is the domain on which the service has been implemented and is currently being run. For example, if the service is being run by client <em>Foo, Inc.</em>, on job board www.foo.com and career site www.bar.com, then this field is set to "foo.com" for use on the job board, and "bar.com" for use on the career site. Note that any improvements to the model for a particular tenant site rely on this field being set correctly to a unique domain. The maximum number of allowed characters is 255.
string domain = 1;
getDomainBytes
in interface RequestMetadataOrBuilder
public String getSessionId()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`. A unique session identification string. A session is defined as the duration of an end user's interaction with the service over a certain period. Obfuscate this field for privacy concerns before providing it to the service. Note that any improvements to the model for a particular tenant site rely on this field being set correctly to a unique session ID. The maximum number of allowed characters is 255.
string session_id = 2;
getSessionId
in interface RequestMetadataOrBuilder
public ByteString getSessionIdBytes()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`. A unique session identification string. A session is defined as the duration of an end user's interaction with the service over a certain period. Obfuscate this field for privacy concerns before providing it to the service. Note that any improvements to the model for a particular tenant site rely on this field being set correctly to a unique session ID. The maximum number of allowed characters is 255.
string session_id = 2;
getSessionIdBytes
in interface RequestMetadataOrBuilder
public String getUserId()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`. A unique user identification string, as determined by the client. To have the strongest positive impact on search quality make sure the client-level is unique. Obfuscate this field for privacy concerns before providing it to the service. Note that any improvements to the model for a particular tenant site rely on this field being set correctly to a unique user ID. The maximum number of allowed characters is 255.
string user_id = 3;
getUserId
in interface RequestMetadataOrBuilder
public ByteString getUserIdBytes()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`. A unique user identification string, as determined by the client. To have the strongest positive impact on search quality make sure the client-level is unique. Obfuscate this field for privacy concerns before providing it to the service. Note that any improvements to the model for a particular tenant site rely on this field being set correctly to a unique user ID. The maximum number of allowed characters is 255.
string user_id = 3;
getUserIdBytes
in interface RequestMetadataOrBuilder
public boolean getAllowMissingIds()
Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't available for some reason. It is highly recommended not to set this field and provide accurate [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] for the best service experience.
bool allow_missing_ids = 4;
getAllowMissingIds
in interface RequestMetadataOrBuilder
public boolean hasDeviceInfo()
The type of device used by the job seeker at the time of the call to the service.
.google.cloud.talent.v4.DeviceInfo device_info = 5;
hasDeviceInfo
in interface RequestMetadataOrBuilder
public DeviceInfo getDeviceInfo()
The type of device used by the job seeker at the time of the call to the service.
.google.cloud.talent.v4.DeviceInfo device_info = 5;
getDeviceInfo
in interface RequestMetadataOrBuilder
public DeviceInfoOrBuilder getDeviceInfoOrBuilder()
The type of device used by the job seeker at the time of the call to the service.
.google.cloud.talent.v4.DeviceInfo device_info = 5;
getDeviceInfoOrBuilder
in interface RequestMetadataOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static RequestMetadata parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RequestMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RequestMetadata parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RequestMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RequestMetadata parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RequestMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RequestMetadata parseFrom(InputStream input) throws IOException
IOException
public static RequestMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RequestMetadata parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RequestMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RequestMetadata parseFrom(CodedInputStream input) throws IOException
IOException
public static RequestMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public RequestMetadata.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static RequestMetadata.Builder newBuilder()
public static RequestMetadata.Builder newBuilder(RequestMetadata prototype)
public RequestMetadata.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected RequestMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static RequestMetadata getDefaultInstance()
public static Parser<RequestMetadata> parser()
public Parser<RequestMetadata> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public RequestMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.