public static final class ListDeviceStatesResponse.Builder extends GeneratedMessage.Builder<ListDeviceStatesResponse.Builder> implements ListDeviceStatesResponseOrBuilder
Response for ListDeviceStates.
Protobuf type google.cloud.iot.v1.ListDeviceStatesResponse
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllDeviceStates(Iterable<? extends DeviceState> values)
public ListDeviceStatesResponse.Builder addAllDeviceStates(Iterable<? extends DeviceState> values)
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 |
values |
Iterable<? extends com.google.cloud.iot.v1.DeviceState>
|
addDeviceStates(DeviceState value)
public ListDeviceStatesResponse.Builder addDeviceStates(DeviceState value)
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;
addDeviceStates(DeviceState.Builder builderForValue)
public ListDeviceStatesResponse.Builder addDeviceStates(DeviceState.Builder builderForValue)
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;
addDeviceStates(int index, DeviceState value)
public ListDeviceStatesResponse.Builder addDeviceStates(int index, DeviceState value)
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;
addDeviceStates(int index, DeviceState.Builder builderForValue)
public ListDeviceStatesResponse.Builder addDeviceStates(int index, DeviceState.Builder builderForValue)
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;
addDeviceStatesBuilder()
public DeviceState.Builder addDeviceStatesBuilder()
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;
addDeviceStatesBuilder(int index)
public DeviceState.Builder addDeviceStatesBuilder(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
|
build()
public ListDeviceStatesResponse build()
buildPartial()
public ListDeviceStatesResponse buildPartial()
clear()
public ListDeviceStatesResponse.Builder clear()
Overrides
clearDeviceStates()
public ListDeviceStatesResponse.Builder clearDeviceStates()
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;
getDefaultInstanceForType()
public ListDeviceStatesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
| Name |
Description |
index |
int
|
getDeviceStatesBuilder(int index)
public DeviceState.Builder getDeviceStatesBuilder(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
|
getDeviceStatesBuilderList()
public List<DeviceState.Builder> getDeviceStatesBuilderList()
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;
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 |
| Type |
Description |
int |
|
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;
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 |
| Name |
Description |
index |
int
|
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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListDeviceStatesResponse other)
public ListDeviceStatesResponse.Builder mergeFrom(ListDeviceStatesResponse other)
public ListDeviceStatesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListDeviceStatesResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeDeviceStates(int index)
public ListDeviceStatesResponse.Builder removeDeviceStates(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
|
setDeviceStates(int index, DeviceState value)
public ListDeviceStatesResponse.Builder setDeviceStates(int index, DeviceState value)
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;
setDeviceStates(int index, DeviceState.Builder builderForValue)
public ListDeviceStatesResponse.Builder setDeviceStates(int index, DeviceState.Builder builderForValue)
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;