public static final class RequestMetadata.Builder extends GeneratedMessageV3.Builder<RequestMetadata.Builder> 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 | Method and Description |
---|---|
RequestMetadata.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
RequestMetadata |
build() |
RequestMetadata |
buildPartial() |
RequestMetadata.Builder |
clear() |
RequestMetadata.Builder |
clearAllowMissingIds()
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.
|
RequestMetadata.Builder |
clearDeviceInfo()
The type of device used by the job seeker at the time of the call to the
service.
|
RequestMetadata.Builder |
clearDomain()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
|
RequestMetadata.Builder |
clearField(Descriptors.FieldDescriptor field) |
RequestMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
RequestMetadata.Builder |
clearSessionId()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
|
RequestMetadata.Builder |
clearUserId()
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
|
RequestMetadata.Builder |
clone() |
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.
|
RequestMetadata |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
DeviceInfo |
getDeviceInfo()
The type of device used by the job seeker at the time of the call to the
service.
|
DeviceInfo.Builder |
getDeviceInfoBuilder()
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`.
|
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`.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RequestMetadata.Builder |
mergeDeviceInfo(DeviceInfo value)
The type of device used by the job seeker at the time of the call to the
service.
|
RequestMetadata.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
RequestMetadata.Builder |
mergeFrom(Message other) |
RequestMetadata.Builder |
mergeFrom(RequestMetadata other) |
RequestMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
RequestMetadata.Builder |
setAllowMissingIds(boolean value)
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.
|
RequestMetadata.Builder |
setDeviceInfo(DeviceInfo.Builder builderForValue)
The type of device used by the job seeker at the time of the call to the
service.
|
RequestMetadata.Builder |
setDeviceInfo(DeviceInfo value)
The type of device used by the job seeker at the time of the call to the
service.
|
RequestMetadata.Builder |
setDomain(String value)
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
|
RequestMetadata.Builder |
setDomainBytes(ByteString value)
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
|
RequestMetadata.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
RequestMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
RequestMetadata.Builder |
setSessionId(String value)
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
|
RequestMetadata.Builder |
setSessionIdBytes(ByteString value)
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
|
RequestMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
RequestMetadata.Builder |
setUserId(String value)
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
|
RequestMetadata.Builder |
setUserIdBytes(ByteString value)
Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<RequestMetadata.Builder>
public RequestMetadata.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<RequestMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<RequestMetadata.Builder>
public RequestMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public RequestMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public RequestMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public RequestMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<RequestMetadata.Builder>
public RequestMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<RequestMetadata.Builder>
public RequestMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<RequestMetadata.Builder>
public RequestMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<RequestMetadata.Builder>
public RequestMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<RequestMetadata.Builder>
public RequestMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<RequestMetadata.Builder>
public RequestMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<RequestMetadata.Builder>
public RequestMetadata.Builder mergeFrom(RequestMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<RequestMetadata.Builder>
public RequestMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<RequestMetadata.Builder>
IOException
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 RequestMetadata.Builder setDomain(String value)
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;
value
- The domain to set.public RequestMetadata.Builder clearDomain()
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;
public RequestMetadata.Builder setDomainBytes(ByteString value)
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;
value
- The bytes for domain to set.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 RequestMetadata.Builder setSessionId(String value)
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;
value
- The sessionId to set.public RequestMetadata.Builder clearSessionId()
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;
public RequestMetadata.Builder setSessionIdBytes(ByteString value)
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;
value
- The bytes for sessionId to set.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 RequestMetadata.Builder setUserId(String value)
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;
value
- The userId to set.public RequestMetadata.Builder clearUserId()
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;
public RequestMetadata.Builder setUserIdBytes(ByteString value)
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;
value
- The bytes for userId to set.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 RequestMetadata.Builder setAllowMissingIds(boolean value)
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;
value
- The allowMissingIds to set.public RequestMetadata.Builder clearAllowMissingIds()
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;
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 RequestMetadata.Builder setDeviceInfo(DeviceInfo value)
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;
public RequestMetadata.Builder setDeviceInfo(DeviceInfo.Builder builderForValue)
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;
public RequestMetadata.Builder mergeDeviceInfo(DeviceInfo value)
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;
public RequestMetadata.Builder clearDeviceInfo()
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;
public DeviceInfo.Builder getDeviceInfoBuilder()
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;
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 RequestMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<RequestMetadata.Builder>
public final RequestMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<RequestMetadata.Builder>
Copyright © 2022 Google LLC. All rights reserved.