public static final class RequestMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder> implements RequestMetadataOrBuilder
Input only. 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.v4beta1.RequestMetadata| Modifier and Type | Method and Description |
|---|---|
RequestMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RequestMetadata |
build() |
RequestMetadata |
buildPartial() |
RequestMetadata.Builder |
clear() |
RequestMetadata.Builder |
clearAllowMissingIds()
Optional.
|
RequestMetadata.Builder |
clearDeviceInfo()
Optional.
|
RequestMetadata.Builder |
clearDomain()
Required if
[allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
is unset or `false`.
|
RequestMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RequestMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RequestMetadata.Builder |
clearSessionId()
Required if
[allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
is unset or `false`.
|
RequestMetadata.Builder |
clearUserId()
Required if
[allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
is unset or `false`.
|
RequestMetadata.Builder |
clone() |
boolean |
getAllowMissingIds()
Optional.
|
RequestMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DeviceInfo |
getDeviceInfo()
Optional.
|
DeviceInfo.Builder |
getDeviceInfoBuilder()
Optional.
|
DeviceInfoOrBuilder |
getDeviceInfoOrBuilder()
Optional.
|
String |
getDomain()
Required if
[allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
is unset or `false`.
|
com.google.protobuf.ByteString |
getDomainBytes()
Required if
[allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
is unset or `false`.
|
String |
getSessionId()
Required if
[allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
is unset or `false`.
|
com.google.protobuf.ByteString |
getSessionIdBytes()
Required if
[allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
is unset or `false`.
|
String |
getUserId()
Required if
[allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
is unset or `false`.
|
com.google.protobuf.ByteString |
getUserIdBytes()
Required if
[allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
is unset or `false`.
|
boolean |
hasDeviceInfo()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RequestMetadata.Builder |
mergeDeviceInfo(DeviceInfo value)
Optional.
|
RequestMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RequestMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
RequestMetadata.Builder |
mergeFrom(RequestMetadata other) |
RequestMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RequestMetadata.Builder |
setAllowMissingIds(boolean value)
Optional.
|
RequestMetadata.Builder |
setDeviceInfo(DeviceInfo.Builder builderForValue)
Optional.
|
RequestMetadata.Builder |
setDeviceInfo(DeviceInfo value)
Optional.
|
RequestMetadata.Builder |
setDomain(String value)
Required if
[allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
is unset or `false`.
|
RequestMetadata.Builder |
setDomainBytes(com.google.protobuf.ByteString value)
Required if
[allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
is unset or `false`.
|
RequestMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RequestMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RequestMetadata.Builder |
setSessionId(String value)
Required if
[allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
is unset or `false`.
|
RequestMetadata.Builder |
setSessionIdBytes(com.google.protobuf.ByteString value)
Required if
[allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
is unset or `false`.
|
RequestMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RequestMetadata.Builder |
setUserId(String value)
Required if
[allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
is unset or `false`.
|
RequestMetadata.Builder |
setUserIdBytes(com.google.protobuf.ByteString value)
Required if
[allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids]
is unset or `false`.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>public RequestMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>public RequestMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RequestMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RequestMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RequestMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>public RequestMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>public RequestMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>public RequestMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>public RequestMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>public RequestMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>public RequestMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RequestMetadata.Builder>public RequestMetadata.Builder mergeFrom(RequestMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>public RequestMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RequestMetadata.Builder>IOExceptionpublic String getDomain()
Required if [allow_missing_ids][google.cloud.talent.v4beta1.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 RequestMetadataOrBuilderpublic com.google.protobuf.ByteString getDomainBytes()
Required if [allow_missing_ids][google.cloud.talent.v4beta1.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 RequestMetadataOrBuilderpublic RequestMetadata.Builder setDomain(String value)
Required if [allow_missing_ids][google.cloud.talent.v4beta1.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 clearDomain()
Required if [allow_missing_ids][google.cloud.talent.v4beta1.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(com.google.protobuf.ByteString value)
Required if [allow_missing_ids][google.cloud.talent.v4beta1.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 String getSessionId()
Required if [allow_missing_ids][google.cloud.talent.v4beta1.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 RequestMetadataOrBuilderpublic com.google.protobuf.ByteString getSessionIdBytes()
Required if [allow_missing_ids][google.cloud.talent.v4beta1.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 RequestMetadataOrBuilderpublic RequestMetadata.Builder setSessionId(String value)
Required if [allow_missing_ids][google.cloud.talent.v4beta1.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 clearSessionId()
Required if [allow_missing_ids][google.cloud.talent.v4beta1.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(com.google.protobuf.ByteString value)
Required if [allow_missing_ids][google.cloud.talent.v4beta1.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 String getUserId()
Required if [allow_missing_ids][google.cloud.talent.v4beta1.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 RequestMetadataOrBuilderpublic com.google.protobuf.ByteString getUserIdBytes()
Required if [allow_missing_ids][google.cloud.talent.v4beta1.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 RequestMetadataOrBuilderpublic RequestMetadata.Builder setUserId(String value)
Required if [allow_missing_ids][google.cloud.talent.v4beta1.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 clearUserId()
Required if [allow_missing_ids][google.cloud.talent.v4beta1.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(com.google.protobuf.ByteString value)
Required if [allow_missing_ids][google.cloud.talent.v4beta1.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 boolean getAllowMissingIds()
Optional. If set to `true`, [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] are optional. Only set when any of these fields isn't available for some reason. It is highly recommended not to set this field and provide accurate [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] for the best service experience.
bool allow_missing_ids = 4;getAllowMissingIds in interface RequestMetadataOrBuilderpublic RequestMetadata.Builder setAllowMissingIds(boolean value)
Optional. If set to `true`, [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] are optional. Only set when any of these fields isn't available for some reason. It is highly recommended not to set this field and provide accurate [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] for the best service experience.
bool allow_missing_ids = 4;public RequestMetadata.Builder clearAllowMissingIds()
Optional. If set to `true`, [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] are optional. Only set when any of these fields isn't available for some reason. It is highly recommended not to set this field and provide accurate [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] for the best service experience.
bool allow_missing_ids = 4;public boolean hasDeviceInfo()
Optional. The type of device used by the job seeker at the time of the call to the service.
.google.cloud.talent.v4beta1.DeviceInfo device_info = 5;hasDeviceInfo in interface RequestMetadataOrBuilderpublic DeviceInfo getDeviceInfo()
Optional. The type of device used by the job seeker at the time of the call to the service.
.google.cloud.talent.v4beta1.DeviceInfo device_info = 5;getDeviceInfo in interface RequestMetadataOrBuilderpublic RequestMetadata.Builder setDeviceInfo(DeviceInfo value)
Optional. The type of device used by the job seeker at the time of the call to the service.
.google.cloud.talent.v4beta1.DeviceInfo device_info = 5;public RequestMetadata.Builder setDeviceInfo(DeviceInfo.Builder builderForValue)
Optional. The type of device used by the job seeker at the time of the call to the service.
.google.cloud.talent.v4beta1.DeviceInfo device_info = 5;public RequestMetadata.Builder mergeDeviceInfo(DeviceInfo value)
Optional. The type of device used by the job seeker at the time of the call to the service.
.google.cloud.talent.v4beta1.DeviceInfo device_info = 5;public RequestMetadata.Builder clearDeviceInfo()
Optional. The type of device used by the job seeker at the time of the call to the service.
.google.cloud.talent.v4beta1.DeviceInfo device_info = 5;public DeviceInfo.Builder getDeviceInfoBuilder()
Optional. The type of device used by the job seeker at the time of the call to the service.
.google.cloud.talent.v4beta1.DeviceInfo device_info = 5;public DeviceInfoOrBuilder getDeviceInfoOrBuilder()
Optional. The type of device used by the job seeker at the time of the call to the service.
.google.cloud.talent.v4beta1.DeviceInfo device_info = 5;getDeviceInfoOrBuilder in interface RequestMetadataOrBuilderpublic final RequestMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>public final RequestMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>Copyright © 2019 Google LLC. All rights reserved.