public final class ListDevicesResponse extends GeneratedMessageV3 implements ListDevicesResponseOrBuilder
Response for ListDevices
.
Protobuf type google.cloud.iot.v1.ListDevicesResponse
Static Fields
DEVICES_FIELD_NUMBER
public static final int DEVICES_FIELD_NUMBER
Field Value
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListDevicesResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListDevicesResponse.Builder newBuilder()
Returns
newBuilder(ListDevicesResponse prototype)
public static ListDevicesResponse.Builder newBuilder(ListDevicesResponse prototype)
Parameter
Returns
public static ListDevicesResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListDevicesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListDevicesResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListDevicesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListDevicesResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListDevicesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListDevicesResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListDevicesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListDevicesResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListDevicesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListDevicesResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListDevicesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListDevicesResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListDevicesResponse getDefaultInstanceForType()
Returns
getDevices(int index)
public Device getDevices(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
Parameter
Returns
getDevicesCount()
public int getDevicesCount()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
Returns
getDevicesList()
public List<Device> getDevicesList()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
Returns
getDevicesOrBuilder(int index)
public DeviceOrBuilder getDevicesOrBuilder(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
Parameter
Returns
getDevicesOrBuilderList()
public List<? extends DeviceOrBuilder> getDevicesOrBuilderList()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
Returns
Type | Description |
List<? extends com.google.cloud.iot.v1.DeviceOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
If not empty, indicates that there may be more devices that match the
request; this value should be passed in a new ListDevicesRequest
.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
If not empty, indicates that there may be more devices that match the
request; this value should be passed in a new ListDevicesRequest
.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getParserForType()
public Parser<ListDevicesResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ListDevicesResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListDevicesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListDevicesResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions