public static final class ListDeviceStatesResponse.Builder extends GeneratedMessageV3.Builder<ListDeviceStatesResponse.Builder> implements ListDeviceStatesResponseOrBuilder
Response for ListDeviceStates
.
Protobuf type google.cloud.iot.v1.ListDeviceStatesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDeviceStatesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
clearField(Descriptors.FieldDescriptor field)
public ListDeviceStatesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDeviceStatesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListDeviceStatesResponse.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDeviceStatesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListDeviceStatesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDeviceStatesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDeviceStatesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides