public interface ListDevicesRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getDeviceIds(int index)
A list of device string IDs.
|
ByteString |
getDeviceIdsBytes(int index)
A list of device string IDs.
|
int |
getDeviceIdsCount()
A list of device string IDs.
|
List<String> |
getDeviceIdsList()
A list of device string IDs.
|
long |
getDeviceNumIds(int index)
A list of device numeric IDs.
|
int |
getDeviceNumIdsCount()
A list of device numeric IDs.
|
List<Long> |
getDeviceNumIdsList()
A list of device numeric IDs.
|
FieldMask |
getFieldMask()
The fields of the `Device` resource to be returned in the response.
|
FieldMaskOrBuilder |
getFieldMaskOrBuilder()
The fields of the `Device` resource to be returned in the response.
|
GatewayListOptions |
getGatewayListOptions()
Options related to gateways.
|
GatewayListOptionsOrBuilder |
getGatewayListOptionsOrBuilder()
Options related to gateways.
|
int |
getPageSize()
The maximum number of devices to return in the response.
|
String |
getPageToken()
The value returned by the last `ListDevicesResponse`; indicates
that this is a continuation of a prior `ListDevices` call and
the system should return the next page of data.
|
ByteString |
getPageTokenBytes()
The value returned by the last `ListDevicesResponse`; indicates
that this is a continuation of a prior `ListDevices` call and
the system should return the next page of data.
|
String |
getParent()
Required.
|
ByteString |
getParentBytes()
Required.
|
boolean |
hasFieldMask()
The fields of the `Device` resource to be returned in the response.
|
boolean |
hasGatewayListOptions()
Options related to gateways.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getParent()
Required. The device registry path. Required. For example, `projects/my-project/locations/us-central1/registries/my-registry`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ByteString getParentBytes()
Required. The device registry path. Required. For example, `projects/my-project/locations/us-central1/registries/my-registry`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
List<Long> getDeviceNumIdsList()
A list of device numeric IDs. If empty, this field is ignored. Maximum IDs: 10,000.
repeated uint64 device_num_ids = 2;
int getDeviceNumIdsCount()
A list of device numeric IDs. If empty, this field is ignored. Maximum IDs: 10,000.
repeated uint64 device_num_ids = 2;
long getDeviceNumIds(int index)
A list of device numeric IDs. If empty, this field is ignored. Maximum IDs: 10,000.
repeated uint64 device_num_ids = 2;
index
- The index of the element to return.List<String> getDeviceIdsList()
A list of device string IDs. For example, `['device0', 'device12']`. If empty, this field is ignored. Maximum IDs: 10,000
repeated string device_ids = 3;
int getDeviceIdsCount()
A list of device string IDs. For example, `['device0', 'device12']`. If empty, this field is ignored. Maximum IDs: 10,000
repeated string device_ids = 3;
String getDeviceIds(int index)
A list of device string IDs. For example, `['device0', 'device12']`. If empty, this field is ignored. Maximum IDs: 10,000
repeated string device_ids = 3;
index
- The index of the element to return.ByteString getDeviceIdsBytes(int index)
A list of device string IDs. For example, `['device0', 'device12']`. If empty, this field is ignored. Maximum IDs: 10,000
repeated string device_ids = 3;
index
- The index of the value to return.boolean hasFieldMask()
The fields of the `Device` resource to be returned in the response. The fields `id` and `num_id` are always returned, along with any other fields specified in snake_case format, for example: `last_heartbeat_time`.
.google.protobuf.FieldMask field_mask = 4;
FieldMask getFieldMask()
The fields of the `Device` resource to be returned in the response. The fields `id` and `num_id` are always returned, along with any other fields specified in snake_case format, for example: `last_heartbeat_time`.
.google.protobuf.FieldMask field_mask = 4;
FieldMaskOrBuilder getFieldMaskOrBuilder()
The fields of the `Device` resource to be returned in the response. The fields `id` and `num_id` are always returned, along with any other fields specified in snake_case format, for example: `last_heartbeat_time`.
.google.protobuf.FieldMask field_mask = 4;
boolean hasGatewayListOptions()
Options related to gateways.
.google.cloud.iot.v1.GatewayListOptions gateway_list_options = 6;
GatewayListOptions getGatewayListOptions()
Options related to gateways.
.google.cloud.iot.v1.GatewayListOptions gateway_list_options = 6;
GatewayListOptionsOrBuilder getGatewayListOptionsOrBuilder()
Options related to gateways.
.google.cloud.iot.v1.GatewayListOptions gateway_list_options = 6;
int getPageSize()
The maximum number of devices to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.
int32 page_size = 100;
String getPageToken()
The value returned by the last `ListDevicesResponse`; indicates that this is a continuation of a prior `ListDevices` call and the system should return the next page of data.
string page_token = 101;
ByteString getPageTokenBytes()
The value returned by the last `ListDevicesResponse`; indicates that this is a continuation of a prior `ListDevices` call and the system should return the next page of data.
string page_token = 101;
Copyright © 2022 Google LLC. All rights reserved.