Interface ListDeviceStatesResponseOrBuilder (2.53.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.iot.v1.DeviceStateOrBuilder>