Class ListDeviceConfigVersionsResponse (2.18.0)

public final class ListDeviceConfigVersionsResponse extends GeneratedMessageV3 implements ListDeviceConfigVersionsResponseOrBuilder

Response for ListDeviceConfigVersions.

Protobuf type google.cloud.iot.v1.ListDeviceConfigVersionsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListDeviceConfigVersionsResponse

Static Fields

DEVICE_CONFIGS_FIELD_NUMBER

public static final int DEVICE_CONFIGS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListDeviceConfigVersionsResponse getDefaultInstance()
Returns
TypeDescription
ListDeviceConfigVersionsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListDeviceConfigVersionsResponse.Builder newBuilder()
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder

newBuilder(ListDeviceConfigVersionsResponse prototype)

public static ListDeviceConfigVersionsResponse.Builder newBuilder(ListDeviceConfigVersionsResponse prototype)
Parameter
NameDescription
prototypeListDeviceConfigVersionsResponse
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListDeviceConfigVersionsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDeviceConfigVersionsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDeviceConfigVersionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDeviceConfigVersionsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListDeviceConfigVersionsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListDeviceConfigVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListDeviceConfigVersionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDeviceConfigVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListDeviceConfigVersionsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListDeviceConfigVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListDeviceConfigVersionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDeviceConfigVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListDeviceConfigVersionsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListDeviceConfigVersionsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDeviceConfigVersionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDeviceConfigVersionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListDeviceConfigVersionsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDeviceConfigVersionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDeviceConfigVersionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDeviceConfigVersionsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListDeviceConfigVersionsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListDeviceConfigVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListDeviceConfigVersionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDeviceConfigVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListDeviceConfigVersionsResponse> parser()
Returns
TypeDescription
Parser<ListDeviceConfigVersionsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListDeviceConfigVersionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDeviceConfigVersionsResponse

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

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>

getParserForType()

public Parser<ListDeviceConfigVersionsResponse> getParserForType()
Returns
TypeDescription
Parser<ListDeviceConfigVersionsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListDeviceConfigVersionsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListDeviceConfigVersionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListDeviceConfigVersionsResponse.Builder toBuilder()
Returns
TypeDescription
ListDeviceConfigVersionsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException