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.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()
Returns
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>
|
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
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;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDeviceStatesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListDeviceStatesResponse build()
Returns
buildPartial()
public ListDeviceStatesResponse buildPartial()
Returns
clear()
public ListDeviceStatesResponse.Builder clear()
Returns
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListDeviceStatesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDeviceStatesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListDeviceStatesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListDeviceStatesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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;
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> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListDeviceStatesResponse other)
public ListDeviceStatesResponse.Builder mergeFrom(ListDeviceStatesResponse other)
Parameter
Returns
public ListDeviceStatesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListDeviceStatesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDeviceStatesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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;
Parameters
Returns
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;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListDeviceStatesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDeviceStatesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDeviceStatesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides