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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeviceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DeviceInfo build()
buildPartial()
public DeviceInfo buildPartial()
clear()
public DeviceInfo.Builder clear()
Overrides
clearDeviceType()
public DeviceInfo.Builder clearDeviceType()
Type of the device.
.google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1;
clearField(Descriptors.FieldDescriptor field)
public DeviceInfo.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public DeviceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DeviceInfo.Builder clone()
Overrides
getDefaultInstanceForType()
public DeviceInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDeviceType()
public DeviceInfo.DeviceType getDeviceType()
Type of the device.
.google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1;
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 |
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DeviceInfo other)
public DeviceInfo.Builder mergeFrom(DeviceInfo other)
public DeviceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DeviceInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeviceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DeviceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeviceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DeviceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides