Class ListDeviceConfigVersionsResponse.Builder (2.27.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.iot.v1.DeviceConfig>
Returns
TypeDescription
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
NameDescription
valueDeviceConfig
Returns
TypeDescription
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
NameDescription
builderForValueDeviceConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDeviceConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDeviceConfig.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DeviceConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDeviceConfigVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder
Overrides

build()

public ListDeviceConfigVersionsResponse build()
Returns
TypeDescription
ListDeviceConfigVersionsResponse

buildPartial()

public ListDeviceConfigVersionsResponse buildPartial()
Returns
TypeDescription
ListDeviceConfigVersionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListDeviceConfigVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDeviceConfigVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder
Overrides

clone()

public ListDeviceConfigVersionsResponse.Builder clone()
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListDeviceConfigVersionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDeviceConfigVersionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.iot.v1.DeviceConfigOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDeviceConfigVersionsResponse other)

public ListDeviceConfigVersionsResponse.Builder mergeFrom(ListDeviceConfigVersionsResponse other)
Parameter
NameDescription
otherListDeviceConfigVersionsResponse
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDeviceConfigVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListDeviceConfigVersionsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDeviceConfigVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDeviceConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDeviceConfig.Builder
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListDeviceConfigVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder
Overrides

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

public ListDeviceConfigVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDeviceConfigVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder
Overrides