Package com.google.cloud.talent.v4
Class RequestMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.talent.v4.RequestMetadata
-
- All Implemented Interfaces:
RequestMetadataOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class RequestMetadata extends com.google.protobuf.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 typegoogle.cloud.talent.v4.RequestMetadata
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RequestMetadata.Builder
Meta information related to the job searcher or entity conducting the job search.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 com.google.protobuf.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`.com.google.protobuf.ByteString
getDomainBytes()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.com.google.protobuf.Parser<RequestMetadata>
getParserForType()
int
getSerializedSize()
String
getSessionId()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.com.google.protobuf.ByteString
getSessionIdBytes()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.String
getUserId()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.com.google.protobuf.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static RequestMetadata.Builder
newBuilder()
static RequestMetadata.Builder
newBuilder(RequestMetadata prototype)
RequestMetadata.Builder
newBuilderForType()
protected RequestMetadata.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static RequestMetadata
parseDelimitedFrom(InputStream input)
static RequestMetadata
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RequestMetadata
parseFrom(byte[] data)
static RequestMetadata
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RequestMetadata
parseFrom(com.google.protobuf.ByteString data)
static RequestMetadata
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RequestMetadata
parseFrom(com.google.protobuf.CodedInputStream input)
static RequestMetadata
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RequestMetadata
parseFrom(InputStream input)
static RequestMetadata
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RequestMetadata
parseFrom(ByteBuffer data)
static RequestMetadata
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<RequestMetadata>
parser()
RequestMetadata.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DOMAIN_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SESSION_ID_FIELD_NUMBER
public static final int SESSION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOW_MISSING_IDS_FIELD_NUMBER
public static final int ALLOW_MISSING_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEVICE_INFO_FIELD_NUMBER
public static final int DEVICE_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getDomain
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;
- Specified by:
getDomain
in interfaceRequestMetadataOrBuilder
- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.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;
- Specified by:
getDomainBytes
in interfaceRequestMetadataOrBuilder
- Returns:
- The bytes for domain.
-
getSessionId
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;
- Specified by:
getSessionId
in interfaceRequestMetadataOrBuilder
- Returns:
- The sessionId.
-
getSessionIdBytes
public com.google.protobuf.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;
- Specified by:
getSessionIdBytes
in interfaceRequestMetadataOrBuilder
- Returns:
- The bytes for sessionId.
-
getUserId
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;
- Specified by:
getUserId
in interfaceRequestMetadataOrBuilder
- Returns:
- The userId.
-
getUserIdBytes
public com.google.protobuf.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;
- Specified by:
getUserIdBytes
in interfaceRequestMetadataOrBuilder
- Returns:
- The bytes for userId.
-
getAllowMissingIds
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;
- Specified by:
getAllowMissingIds
in interfaceRequestMetadataOrBuilder
- Returns:
- The allowMissingIds.
-
hasDeviceInfo
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;
- Specified by:
hasDeviceInfo
in interfaceRequestMetadataOrBuilder
- Returns:
- Whether the deviceInfo field is set.
-
getDeviceInfo
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;
- Specified by:
getDeviceInfo
in interfaceRequestMetadataOrBuilder
- Returns:
- The deviceInfo.
-
getDeviceInfoOrBuilder
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;
- Specified by:
getDeviceInfoOrBuilder
in interfaceRequestMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RequestMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RequestMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RequestMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RequestMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RequestMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RequestMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RequestMetadata parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RequestMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RequestMetadata parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RequestMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RequestMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RequestMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RequestMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RequestMetadata.Builder newBuilder()
-
newBuilder
public static RequestMetadata.Builder newBuilder(RequestMetadata prototype)
-
toBuilder
public RequestMetadata.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RequestMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RequestMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RequestMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<RequestMetadata> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RequestMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-