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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeviceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DeviceInfo build()
Returns
buildPartial()
public DeviceInfo buildPartial()
Returns
clear()
public DeviceInfo.Builder clear()
Returns
Overrides
clearDeviceType()
public DeviceInfo.Builder clearDeviceType()
Type of the device.
.google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public DeviceInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public DeviceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DeviceInfo.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DeviceInfo getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDeviceType()
public DeviceInfo.DeviceType getDeviceType()
Type of the device.
.google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1;
Returns
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()
A device-specific ID. The ID must be a unique identifier that
distinguishes the device from other devices.
string id = 2;
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DeviceInfo other)
public DeviceInfo.Builder mergeFrom(DeviceInfo other)
Parameter
Returns
public DeviceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DeviceInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeviceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public DeviceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeviceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DeviceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides