Class ListDeviceRegistriesResponse (2.6.0)

public final class ListDeviceRegistriesResponse extends GeneratedMessageV3 implements ListDeviceRegistriesResponseOrBuilder

Response for ListDeviceRegistries.

Protobuf type google.cloud.iot.v1.ListDeviceRegistriesResponse

Static Fields

DEVICE_REGISTRIES_FIELD_NUMBER

public static final int DEVICE_REGISTRIES_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListDeviceRegistriesResponse getDefaultInstance()
Returns
TypeDescription
ListDeviceRegistriesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListDeviceRegistriesResponse prototype)

public static ListDeviceRegistriesResponse.Builder newBuilder(ListDeviceRegistriesResponse prototype)
Parameter
NameDescription
prototypeListDeviceRegistriesResponse
Returns
TypeDescription
ListDeviceRegistriesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListDeviceRegistriesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDeviceRegistriesResponse

getDeviceRegistries(int index)

public DeviceRegistry getDeviceRegistries(int index)

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DeviceRegistry

getDeviceRegistriesCount()

public int getDeviceRegistriesCount()

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Returns
TypeDescription
int

getDeviceRegistriesList()

public List<DeviceRegistry> getDeviceRegistriesList()

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Returns
TypeDescription
List<DeviceRegistry>

getDeviceRegistriesOrBuilder(int index)

public DeviceRegistryOrBuilder getDeviceRegistriesOrBuilder(int index)

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DeviceRegistryOrBuilder

getDeviceRegistriesOrBuilderList()

public List<? extends DeviceRegistryOrBuilder> getDeviceRegistriesOrBuilderList()

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Returns
TypeDescription
List<? extends com.google.cloud.iot.v1.DeviceRegistryOrBuilder>

getNextPageToken()

public String getNextPageToken()

If not empty, indicates that there may be more registries that match the request; this value should be passed in a new ListDeviceRegistriesRequest.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If not empty, indicates that there may be more registries that match the request; this value should be passed in a new ListDeviceRegistriesRequest.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListDeviceRegistriesResponse> getParserForType()
Returns
TypeDescription
Parser<ListDeviceRegistriesResponse>
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 ListDeviceRegistriesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListDeviceRegistriesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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