Class ListDeviceConfigVersionsResponse.Builder (2.51.0)

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
Type Description
Descriptor

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
Type Description
ListDeviceConfigVersionsResponse.Builder

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
Name Description
value DeviceConfig
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder

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
Name Description
builderForValue DeviceConfig.Builder
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder

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
Name Description
index int
value DeviceConfig
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder

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
Name Description
index int
builderForValue DeviceConfig.Builder
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder

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
Type Description
DeviceConfig.Builder

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
Name Description
index int
Returns
Type Description
DeviceConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDeviceConfigVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder
Overrides

build()

public ListDeviceConfigVersionsResponse build()
Returns
Type Description
ListDeviceConfigVersionsResponse

buildPartial()

public ListDeviceConfigVersionsResponse buildPartial()
Returns
Type Description
ListDeviceConfigVersionsResponse

clear()

public ListDeviceConfigVersionsResponse.Builder clear()
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder
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
Type Description
ListDeviceConfigVersionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDeviceConfigVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDeviceConfigVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder
Overrides

clone()

public ListDeviceConfigVersionsResponse.Builder clone()
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListDeviceConfigVersionsResponse getDefaultInstanceForType()
Returns
Type Description
ListDeviceConfigVersionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Name Description
index int
Returns
Type Description
DeviceConfig

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
Name Description
index int
Returns
Type Description
DeviceConfig.Builder

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
Type Description
List<Builder>

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
Type Description
int

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
Type Description
List<DeviceConfig>

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
Name Description
index int
Returns
Type Description
DeviceConfigOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDeviceConfigVersionsResponse other)

public ListDeviceConfigVersionsResponse.Builder mergeFrom(ListDeviceConfigVersionsResponse other)
Parameter
Name Description
other ListDeviceConfigVersionsResponse
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDeviceConfigVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListDeviceConfigVersionsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDeviceConfigVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder
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
Name Description
index int
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder

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
Name Description
index int
value DeviceConfig
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder

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
Name Description
index int
builderForValue DeviceConfig.Builder
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListDeviceConfigVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListDeviceConfigVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDeviceConfigVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDeviceConfigVersionsResponse.Builder
Overrides