Interface ListDeviceStatesResponseOrBuilder (2.2.0)

public interface ListDeviceStatesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeviceStates(int index)

public abstract DeviceState getDeviceStates(int index)

The last few device states. States are listed in descending order of server update time, starting from the most recent one.

repeated .google.cloud.iot.v1.DeviceState device_states = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DeviceState

getDeviceStatesCount()

public abstract int getDeviceStatesCount()

The last few device states. States are listed in descending order of server update time, starting from the most recent one.

repeated .google.cloud.iot.v1.DeviceState device_states = 1;

Returns
TypeDescription
int

getDeviceStatesList()

public abstract List<DeviceState> getDeviceStatesList()

The last few device states. States are listed in descending order of server update time, starting from the most recent one.

repeated .google.cloud.iot.v1.DeviceState device_states = 1;

Returns
TypeDescription
List<DeviceState>

getDeviceStatesOrBuilder(int index)

public abstract DeviceStateOrBuilder getDeviceStatesOrBuilder(int index)

The last few device states. States are listed in descending order of server update time, starting from the most recent one.

repeated .google.cloud.iot.v1.DeviceState device_states = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DeviceStateOrBuilder

getDeviceStatesOrBuilderList()

public abstract List<? extends DeviceStateOrBuilder> getDeviceStatesOrBuilderList()

The last few device states. States are listed in descending order of server update time, starting from the most recent one.

repeated .google.cloud.iot.v1.DeviceState device_states = 1;

Returns
TypeDescription
List<? extends com.google.cloud.iot.v1.DeviceStateOrBuilder>