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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
DEVICE_TYPE_FIELD_NUMBER
public static final int DEVICE_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static DeviceInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DeviceInfo.Builder newBuilder()
newBuilder(DeviceInfo prototype)
public static DeviceInfo.Builder newBuilder(DeviceInfo prototype)
public static DeviceInfo parseDelimitedFrom(InputStream input)
public static DeviceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DeviceInfo parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DeviceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DeviceInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeviceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeviceInfo parseFrom(CodedInputStream input)
public static DeviceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DeviceInfo parseFrom(InputStream input)
public static DeviceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DeviceInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DeviceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DeviceInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public DeviceInfo getDefaultInstanceForType()
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;
getParserForType()
public Parser<DeviceInfo> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DeviceInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DeviceInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DeviceInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides