Class DeviceInfo.Builder (2.56.0)

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

Implements

DeviceInfoOrBuilder

Static 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
Overrides

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
Overrides

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
Overrides

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
Overrides

clone()

public DeviceInfo.Builder clone()
Returns
Type Description
DeviceInfo.Builder
Overrides

getDefaultInstanceForType()

public DeviceInfo getDefaultInstanceForType()
Returns
Type Description
DeviceInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeviceInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeviceInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeviceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeviceInfo.Builder
Overrides

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
Overrides

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeviceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeviceInfo.Builder
Overrides