Class DeviceInfo (2.8.0)

public final class DeviceInfo extends GeneratedMessageV3 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 Fields

DEVICE_TYPE_FIELD_NUMBER

public static final int DEVICE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeviceInfo getDefaultInstance()
Returns
TypeDescription
DeviceInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DeviceInfo.Builder newBuilder()
Returns
TypeDescription
DeviceInfo.Builder

newBuilder(DeviceInfo prototype)

public static DeviceInfo.Builder newBuilder(DeviceInfo prototype)
Parameter
NameDescription
prototypeDeviceInfo
Returns
TypeDescription
DeviceInfo.Builder

parseDelimitedFrom(InputStream input)

public static DeviceInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeviceInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeviceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeviceInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DeviceInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DeviceInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeviceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeviceInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeviceInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DeviceInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeviceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeviceInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeviceInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DeviceInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeviceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeviceInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DeviceInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeviceInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeviceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeviceInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DeviceInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DeviceInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeviceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeviceInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DeviceInfo> parser()
Returns
TypeDescription
Parser<DeviceInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DeviceInfo getDefaultInstanceForType()
Returns
TypeDescription
DeviceInfo

getDeviceType()

public DeviceInfo.DeviceType getDeviceType()

Type of the device.

.google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1;

Returns
TypeDescription
DeviceInfo.DeviceType

The deviceType.

getDeviceTypeValue()

public int getDeviceTypeValue()

Type of the device.

.google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for id.

getParserForType()

public Parser<DeviceInfo> getParserForType()
Returns
TypeDescription
Parser<DeviceInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DeviceInfo.Builder newBuilderForType()
Returns
TypeDescription
DeviceInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DeviceInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DeviceInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DeviceInfo.Builder toBuilder()
Returns
TypeDescription
DeviceInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException