- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 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 DeviceInfo.Builder extends GeneratedMessageV3.Builder<DeviceInfo.Builder> implements DeviceInfoOrBuilder
Device information collected from the job seeker, candidate, or other entity conducting the job search. Providing this information improves the quality of the search results across devices.
Protobuf type google.cloud.talent.v4.DeviceInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeviceInfo.BuilderImplements
DeviceInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeviceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
build()
public DeviceInfo build()
Returns | |
---|---|
Type | Description |
DeviceInfo |
buildPartial()
public DeviceInfo buildPartial()
Returns | |
---|---|
Type | Description |
DeviceInfo |
clear()
public DeviceInfo.Builder clear()
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
clearDeviceType()
public DeviceInfo.Builder clearDeviceType()
Type of the device.
.google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1;
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DeviceInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
clearId()
public DeviceInfo.Builder clearId()
A device-specific ID. The ID must be a unique identifier that distinguishes the device from other devices.
string id = 2;
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeviceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
clone()
public DeviceInfo.Builder clone()
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
getDefaultInstanceForType()
public DeviceInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DeviceInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDeviceType()
public DeviceInfo.DeviceType getDeviceType()
Type of the device.
.google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1;
Returns | |
---|---|
Type | Description |
DeviceInfo.DeviceType |
The deviceType. |
getDeviceTypeValue()
public int getDeviceTypeValue()
Type of the device.
.google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for deviceType. |
getId()
public String getId()
A device-specific ID. The ID must be a unique identifier that distinguishes the device from other devices.
string id = 2;
Returns | |
---|---|
Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()
A device-specific ID. The ID must be a unique identifier that distinguishes the device from other devices.
string id = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for id. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DeviceInfo other)
public DeviceInfo.Builder mergeFrom(DeviceInfo other)
Parameter | |
---|---|
Name | Description |
other |
DeviceInfo |
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeviceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DeviceInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeviceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
setDeviceType(DeviceInfo.DeviceType value)
public DeviceInfo.Builder setDeviceType(DeviceInfo.DeviceType value)
Type of the device.
.google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1;
Parameter | |
---|---|
Name | Description |
value |
DeviceInfo.DeviceType The deviceType to set. |
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
This builder for chaining. |
setDeviceTypeValue(int value)
public DeviceInfo.Builder setDeviceTypeValue(int value)
Type of the device.
.google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for deviceType to set. |
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DeviceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
setId(String value)
public DeviceInfo.Builder setId(String value)
A device-specific ID. The ID must be a unique identifier that distinguishes the device from other devices.
string id = 2;
Parameter | |
---|---|
Name | Description |
value |
String The id to set. |
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public DeviceInfo.Builder setIdBytes(ByteString value)
A device-specific ID. The ID must be a unique identifier that distinguishes the device from other devices.
string id = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeviceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeviceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DeviceInfo.Builder |