public final class ListDeviceStatesResponse extends GeneratedMessageV3 implements ListDeviceStatesResponseOrBuilder
Response for ListDeviceStates
.
Protobuf type google.cloud.iot.v1.ListDeviceStatesResponse
Static Fields
DEVICE_STATES_FIELD_NUMBER
public static final int DEVICE_STATES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListDeviceStatesResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListDeviceStatesResponse.Builder newBuilder()
Returns
newBuilder(ListDeviceStatesResponse prototype)
public static ListDeviceStatesResponse.Builder newBuilder(ListDeviceStatesResponse prototype)
Parameter
Returns
public static ListDeviceStatesResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListDeviceStatesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListDeviceStatesResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListDeviceStatesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListDeviceStatesResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListDeviceStatesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListDeviceStatesResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListDeviceStatesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListDeviceStatesResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListDeviceStatesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListDeviceStatesResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListDeviceStatesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListDeviceStatesResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListDeviceStatesResponse getDefaultInstanceForType()
Returns
getDeviceStates(int index)
public 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
Returns
getDeviceStatesCount()
public 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
getDeviceStatesList()
public 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
getDeviceStatesOrBuilder(int index)
public 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
Returns
getDeviceStatesOrBuilderList()
public 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> | |
getParserForType()
public Parser<ListDeviceStatesResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ListDeviceStatesResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListDeviceStatesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListDeviceStatesResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions