public static final class ListDeviceConfigVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListDeviceConfigVersionsResponse.Builder> implements ListDeviceConfigVersionsResponseOrBuilder
Response for ListDeviceConfigVersions
.
Protobuf type google.cloud.iot.v1.ListDeviceConfigVersionsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllDeviceConfigs(Iterable<? extends DeviceConfig> values)
public ListDeviceConfigVersionsResponse.Builder addAllDeviceConfigs(Iterable<? extends DeviceConfig> values)
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.iot.v1.DeviceConfig>
|
Returns
addDeviceConfigs(DeviceConfig value)
public ListDeviceConfigVersionsResponse.Builder addDeviceConfigs(DeviceConfig value)
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Parameter
Returns
addDeviceConfigs(DeviceConfig.Builder builderForValue)
public ListDeviceConfigVersionsResponse.Builder addDeviceConfigs(DeviceConfig.Builder builderForValue)
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Parameter
Returns
addDeviceConfigs(int index, DeviceConfig value)
public ListDeviceConfigVersionsResponse.Builder addDeviceConfigs(int index, DeviceConfig value)
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Parameters
Returns
addDeviceConfigs(int index, DeviceConfig.Builder builderForValue)
public ListDeviceConfigVersionsResponse.Builder addDeviceConfigs(int index, DeviceConfig.Builder builderForValue)
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Parameters
Returns
addDeviceConfigsBuilder()
public DeviceConfig.Builder addDeviceConfigsBuilder()
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Returns
addDeviceConfigsBuilder(int index)
public DeviceConfig.Builder addDeviceConfigsBuilder(int index)
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDeviceConfigVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListDeviceConfigVersionsResponse build()
Returns
buildPartial()
public ListDeviceConfigVersionsResponse buildPartial()
Returns
clear()
public ListDeviceConfigVersionsResponse.Builder clear()
Returns
Overrides
clearDeviceConfigs()
public ListDeviceConfigVersionsResponse.Builder clearDeviceConfigs()
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListDeviceConfigVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDeviceConfigVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListDeviceConfigVersionsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListDeviceConfigVersionsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDeviceConfigs(int index)
public DeviceConfig getDeviceConfigs(int index)
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Parameter
Returns
getDeviceConfigsBuilder(int index)
public DeviceConfig.Builder getDeviceConfigsBuilder(int index)
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Parameter
Returns
getDeviceConfigsBuilderList()
public List<DeviceConfig.Builder> getDeviceConfigsBuilderList()
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Returns
getDeviceConfigsCount()
public int getDeviceConfigsCount()
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Returns
getDeviceConfigsList()
public List<DeviceConfig> getDeviceConfigsList()
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Returns
getDeviceConfigsOrBuilder(int index)
public DeviceConfigOrBuilder getDeviceConfigsOrBuilder(int index)
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Parameter
Returns
getDeviceConfigsOrBuilderList()
public List<? extends DeviceConfigOrBuilder> getDeviceConfigsOrBuilderList()
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Returns
Type | Description |
List<? extends com.google.cloud.iot.v1.DeviceConfigOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListDeviceConfigVersionsResponse other)
public ListDeviceConfigVersionsResponse.Builder mergeFrom(ListDeviceConfigVersionsResponse other)
Parameter
Returns
public ListDeviceConfigVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListDeviceConfigVersionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDeviceConfigVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeDeviceConfigs(int index)
public ListDeviceConfigVersionsResponse.Builder removeDeviceConfigs(int index)
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Parameter
Returns
setDeviceConfigs(int index, DeviceConfig value)
public ListDeviceConfigVersionsResponse.Builder setDeviceConfigs(int index, DeviceConfig value)
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Parameters
Returns
setDeviceConfigs(int index, DeviceConfig.Builder builderForValue)
public ListDeviceConfigVersionsResponse.Builder setDeviceConfigs(int index, DeviceConfig.Builder builderForValue)
The device configuration for the last few versions. Versions are listed
in decreasing order, starting from the most recent one.
repeated .google.cloud.iot.v1.DeviceConfig device_configs = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListDeviceConfigVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDeviceConfigVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDeviceConfigVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides