- 2.49.0 (latest)
- 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 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RequestMetadata.BuilderImplements
RequestMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RequestMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
build()
public RequestMetadata build()
Returns | |
---|---|
Type | Description |
RequestMetadata |
buildPartial()
public RequestMetadata buildPartial()
Returns | |
---|---|
Type | Description |
RequestMetadata |
clear()
public RequestMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
clearAllowMissingIds()
public RequestMetadata.Builder clearAllowMissingIds()
Only set when any of domain, session_id and user_id isn't available for some reason. It is highly recommended not to set this field and provide accurate domain, session_id and user_id for the best service experience.
bool allow_missing_ids = 4;
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder | This builder for chaining. |
clearDeviceInfo()
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;
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
clearDomain()
public RequestMetadata.Builder clearDomain()
Required if
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;
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RequestMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RequestMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
clearSessionId()
public RequestMetadata.Builder clearSessionId()
Required if
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;
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder | This builder for chaining. |
clearUserId()
public RequestMetadata.Builder clearUserId()
Required if
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;
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder | This builder for chaining. |
clone()
public RequestMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
getAllowMissingIds()
public boolean getAllowMissingIds()
Only set when any of domain, session_id and user_id isn't available for some reason. It is highly recommended not to set this field and provide accurate domain, session_id and user_id for the best service experience.
bool allow_missing_ids = 4;
Returns | |
---|---|
Type | Description |
boolean | The allowMissingIds. |
getDefaultInstanceForType()
public RequestMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RequestMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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;
Returns | |
---|---|
Type | Description |
DeviceInfo | The deviceInfo. |
getDeviceInfoBuilder()
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;
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
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;
Returns | |
---|---|
Type | Description |
DeviceInfoOrBuilder |
getDomain()
public String getDomain()
Required if
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;
Returns | |
---|---|
Type | Description |
String | The domain. |
getDomainBytes()
public ByteString getDomainBytes()
Required if
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for domain. |
getSessionId()
public String getSessionId()
Required if
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;
Returns | |
---|---|
Type | Description |
String | The sessionId. |
getSessionIdBytes()
public ByteString getSessionIdBytes()
Required if
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for sessionId. |
getUserId()
public String getUserId()
Required if
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;
Returns | |
---|---|
Type | Description |
String | The userId. |
getUserIdBytes()
public ByteString getUserIdBytes()
Required if
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for userId. |
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the deviceInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDeviceInfo(DeviceInfo value)
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;
Parameter | |
---|---|
Name | Description |
value | DeviceInfo |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
mergeFrom(RequestMetadata other)
public RequestMetadata.Builder mergeFrom(RequestMetadata other)
Parameter | |
---|---|
Name | Description |
other | RequestMetadata |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RequestMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RequestMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RequestMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
setAllowMissingIds(boolean value)
public RequestMetadata.Builder setAllowMissingIds(boolean value)
Only set when any of domain, session_id and user_id isn't available for some reason. It is highly recommended not to set this field and provide accurate domain, session_id and user_id for the best service experience.
bool allow_missing_ids = 4;
Parameter | |
---|---|
Name | Description |
value | boolean The allowMissingIds to set. |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder | This builder for chaining. |
setDeviceInfo(DeviceInfo value)
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;
Parameter | |
---|---|
Name | Description |
value | DeviceInfo |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
setDeviceInfo(DeviceInfo.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | DeviceInfo.Builder |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
setDomain(String value)
public RequestMetadata.Builder setDomain(String value)
Required if
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;
Parameter | |
---|---|
Name | Description |
value | String The domain to set. |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder | This builder for chaining. |
setDomainBytes(ByteString value)
public RequestMetadata.Builder setDomainBytes(ByteString value)
Required if
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for domain to set. |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RequestMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RequestMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
setSessionId(String value)
public RequestMetadata.Builder setSessionId(String value)
Required if
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;
Parameter | |
---|---|
Name | Description |
value | String The sessionId to set. |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder | This builder for chaining. |
setSessionIdBytes(ByteString value)
public RequestMetadata.Builder setSessionIdBytes(ByteString value)
Required if
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for sessionId to set. |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RequestMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder |
setUserId(String value)
public RequestMetadata.Builder setUserId(String value)
Required if
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;
Parameter | |
---|---|
Name | Description |
value | String The userId to set. |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder | This builder for chaining. |
setUserIdBytes(ByteString value)
public RequestMetadata.Builder setUserIdBytes(ByteString value)
Required if
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for userId to set. |
Returns | |
---|---|
Type | Description |
RequestMetadata.Builder | This builder for chaining. |