Interface StatusUpdateOrBuilder (0.2.0)

public interface StatusUpdateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsProperties(String key)

public abstract boolean containsProperties(String key)

A map of properties with information about this device.

map<string, string> properties = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getFeatures()

public abstract String getFeatures()

A comma-separated list of "features" that this device supports.

string features = 3;

Returns
Type Description
String

The features.

getFeaturesBytes()

public abstract ByteString getFeaturesBytes()

A comma-separated list of "features" that this device supports.

string features = 3;

Returns
Type Description
ByteString

The bytes for features.

getProperties() (deprecated)

public abstract Map<String,String> getProperties()

Use #getPropertiesMap() instead.

Returns
Type Description
Map<String,String>

getPropertiesCount()

public abstract int getPropertiesCount()

A map of properties with information about this device.

map<string, string> properties = 2;

Returns
Type Description
int

getPropertiesMap()

public abstract Map<String,String> getPropertiesMap()

A map of properties with information about this device.

map<string, string> properties = 2;

Returns
Type Description
Map<String,String>

getPropertiesOrDefault(String key, String defaultValue)

public abstract String getPropertiesOrDefault(String key, String defaultValue)

A map of properties with information about this device.

map<string, string> properties = 2;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getPropertiesOrThrow(String key)

public abstract String getPropertiesOrThrow(String key)

A map of properties with information about this device.

map<string, string> properties = 2;

Parameter
Name Description
key String
Returns
Type Description
String

getState()

public abstract StatusUpdate.DeviceState getState()

The device's state

.google.cloud.devicestreaming.v1.StatusUpdate.DeviceState state = 1;

Returns
Type Description
StatusUpdate.DeviceState

The state.

getStateValue()

public abstract int getStateValue()

The device's state

.google.cloud.devicestreaming.v1.StatusUpdate.DeviceState state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.