Package com.google.cloud.iot.v1
Class ListDevicesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder>
-
- com.google.cloud.iot.v1.ListDevicesRequest.Builder
-
- All Implemented Interfaces:
ListDevicesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListDevicesRequest
public static final class ListDevicesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder> implements ListDevicesRequestOrBuilder
Request for `ListDevices`.
Protobuf typegoogle.cloud.iot.v1.ListDevicesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDevicesRequest.BuilderaddAllDeviceIds(Iterable<String> values)A list of device string IDs.ListDevicesRequest.BuilderaddAllDeviceNumIds(Iterable<? extends Long> values)A list of device numeric IDs.ListDevicesRequest.BuilderaddDeviceIds(String value)A list of device string IDs.ListDevicesRequest.BuilderaddDeviceIdsBytes(com.google.protobuf.ByteString value)A list of device string IDs.ListDevicesRequest.BuilderaddDeviceNumIds(long value)A list of device numeric IDs.ListDevicesRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListDevicesRequestbuild()ListDevicesRequestbuildPartial()ListDevicesRequest.Builderclear()ListDevicesRequest.BuilderclearDeviceIds()A list of device string IDs.ListDevicesRequest.BuilderclearDeviceNumIds()A list of device numeric IDs.ListDevicesRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListDevicesRequest.BuilderclearFieldMask()The fields of the `Device` resource to be returned in the response.ListDevicesRequest.BuilderclearGatewayListOptions()Options related to gateways.ListDevicesRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListDevicesRequest.BuilderclearPageSize()The maximum number of devices to return in the response.ListDevicesRequest.BuilderclearPageToken()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.ListDevicesRequest.BuilderclearParent()Required.ListDevicesRequest.Builderclone()ListDevicesRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDeviceIds(int index)A list of device string IDs.com.google.protobuf.ByteStringgetDeviceIdsBytes(int index)A list of device string IDs.intgetDeviceIdsCount()A list of device string IDs.com.google.protobuf.ProtocolStringListgetDeviceIdsList()A list of device string IDs.longgetDeviceNumIds(int index)A list of device numeric IDs.intgetDeviceNumIdsCount()A list of device numeric IDs.List<Long>getDeviceNumIdsList()A list of device numeric IDs.com.google.protobuf.FieldMaskgetFieldMask()The fields of the `Device` resource to be returned in the response.com.google.protobuf.FieldMask.BuildergetFieldMaskBuilder()The fields of the `Device` resource to be returned in the response.com.google.protobuf.FieldMaskOrBuildergetFieldMaskOrBuilder()The fields of the `Device` resource to be returned in the response.GatewayListOptionsgetGatewayListOptions()Options related to gateways.GatewayListOptions.BuildergetGatewayListOptionsBuilder()Options related to gateways.GatewayListOptionsOrBuildergetGatewayListOptionsOrBuilder()Options related to gateways.intgetPageSize()The maximum number of devices to return in the response.StringgetPageToken()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.com.google.protobuf.ByteStringgetPageTokenBytes()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.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.booleanhasFieldMask()The fields of the `Device` resource to be returned in the response.booleanhasGatewayListOptions()Options related to gateways.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListDevicesRequest.BuildermergeFieldMask(com.google.protobuf.FieldMask value)The fields of the `Device` resource to be returned in the response.ListDevicesRequest.BuildermergeFrom(ListDevicesRequest other)ListDevicesRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListDevicesRequest.BuildermergeFrom(com.google.protobuf.Message other)ListDevicesRequest.BuildermergeGatewayListOptions(GatewayListOptions value)Options related to gateways.ListDevicesRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListDevicesRequest.BuildersetDeviceIds(int index, String value)A list of device string IDs.ListDevicesRequest.BuildersetDeviceNumIds(int index, long value)A list of device numeric IDs.ListDevicesRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListDevicesRequest.BuildersetFieldMask(com.google.protobuf.FieldMask value)The fields of the `Device` resource to be returned in the response.ListDevicesRequest.BuildersetFieldMask(com.google.protobuf.FieldMask.Builder builderForValue)The fields of the `Device` resource to be returned in the response.ListDevicesRequest.BuildersetGatewayListOptions(GatewayListOptions value)Options related to gateways.ListDevicesRequest.BuildersetGatewayListOptions(GatewayListOptions.Builder builderForValue)Options related to gateways.ListDevicesRequest.BuildersetPageSize(int value)The maximum number of devices to return in the response.ListDevicesRequest.BuildersetPageToken(String value)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.ListDevicesRequest.BuildersetPageTokenBytes(com.google.protobuf.ByteString value)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.ListDevicesRequest.BuildersetParent(String value)Required.ListDevicesRequest.BuildersetParentBytes(com.google.protobuf.ByteString value)Required.ListDevicesRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListDevicesRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder>
-
clear
public ListDevicesRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder>
-
getDefaultInstanceForType
public ListDevicesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListDevicesRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListDevicesRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListDevicesRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder>
-
setField
public ListDevicesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder>
-
clearField
public ListDevicesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder>
-
clearOneof
public ListDevicesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder>
-
setRepeatedField
public ListDevicesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder>
-
addRepeatedField
public ListDevicesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder>
-
mergeFrom
public ListDevicesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListDevicesRequest.Builder>
-
mergeFrom
public ListDevicesRequest.Builder mergeFrom(ListDevicesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder>
-
mergeFrom
public ListDevicesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListDevicesRequest.Builder>- Throws:
IOException
-
getParent
public 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) = { ... }- Specified by:
getParentin interfaceListDevicesRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.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) = { ... }- Specified by:
getParentBytesin interfaceListDevicesRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
public ListDevicesRequest.Builder setParent(String value)
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) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public ListDevicesRequest.Builder clearParent()
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) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
public ListDevicesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getDeviceNumIdsList
public 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;- Specified by:
getDeviceNumIdsListin interfaceListDevicesRequestOrBuilder- Returns:
- A list containing the deviceNumIds.
-
getDeviceNumIdsCount
public int getDeviceNumIdsCount()
A list of device numeric IDs. If empty, this field is ignored. Maximum IDs: 10,000.
repeated uint64 device_num_ids = 2;- Specified by:
getDeviceNumIdsCountin interfaceListDevicesRequestOrBuilder- Returns:
- The count of deviceNumIds.
-
getDeviceNumIds
public 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;- Specified by:
getDeviceNumIdsin interfaceListDevicesRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The deviceNumIds at the given index.
-
setDeviceNumIds
public ListDevicesRequest.Builder setDeviceNumIds(int index, long value)
A list of device numeric IDs. If empty, this field is ignored. Maximum IDs: 10,000.
repeated uint64 device_num_ids = 2;- Parameters:
index- The index to set the value at.value- The deviceNumIds to set.- Returns:
- This builder for chaining.
-
addDeviceNumIds
public ListDevicesRequest.Builder addDeviceNumIds(long value)
A list of device numeric IDs. If empty, this field is ignored. Maximum IDs: 10,000.
repeated uint64 device_num_ids = 2;- Parameters:
value- The deviceNumIds to add.- Returns:
- This builder for chaining.
-
addAllDeviceNumIds
public ListDevicesRequest.Builder addAllDeviceNumIds(Iterable<? extends Long> values)
A list of device numeric IDs. If empty, this field is ignored. Maximum IDs: 10,000.
repeated uint64 device_num_ids = 2;- Parameters:
values- The deviceNumIds to add.- Returns:
- This builder for chaining.
-
clearDeviceNumIds
public ListDevicesRequest.Builder clearDeviceNumIds()
A list of device numeric IDs. If empty, this field is ignored. Maximum IDs: 10,000.
repeated uint64 device_num_ids = 2;- Returns:
- This builder for chaining.
-
getDeviceIdsList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getDeviceIdsListin interfaceListDevicesRequestOrBuilder- Returns:
- A list containing the deviceIds.
-
getDeviceIdsCount
public 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;- Specified by:
getDeviceIdsCountin interfaceListDevicesRequestOrBuilder- Returns:
- The count of deviceIds.
-
getDeviceIds
public 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;- Specified by:
getDeviceIdsin interfaceListDevicesRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The deviceIds at the given index.
-
getDeviceIdsBytes
public com.google.protobuf.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;- Specified by:
getDeviceIdsBytesin interfaceListDevicesRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the deviceIds at the given index.
-
setDeviceIds
public ListDevicesRequest.Builder setDeviceIds(int index, String value)
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;- Parameters:
index- The index to set the value at.value- The deviceIds to set.- Returns:
- This builder for chaining.
-
addDeviceIds
public ListDevicesRequest.Builder addDeviceIds(String value)
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;- Parameters:
value- The deviceIds to add.- Returns:
- This builder for chaining.
-
addAllDeviceIds
public ListDevicesRequest.Builder addAllDeviceIds(Iterable<String> values)
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;- Parameters:
values- The deviceIds to add.- Returns:
- This builder for chaining.
-
clearDeviceIds
public ListDevicesRequest.Builder clearDeviceIds()
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;- Returns:
- This builder for chaining.
-
addDeviceIdsBytes
public ListDevicesRequest.Builder addDeviceIdsBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes of the deviceIds to add.- Returns:
- This builder for chaining.
-
hasFieldMask
public 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;- Specified by:
hasFieldMaskin interfaceListDevicesRequestOrBuilder- Returns:
- Whether the fieldMask field is set.
-
getFieldMask
public com.google.protobuf.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;- Specified by:
getFieldMaskin interfaceListDevicesRequestOrBuilder- Returns:
- The fieldMask.
-
setFieldMask
public ListDevicesRequest.Builder setFieldMask(com.google.protobuf.FieldMask value)
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;
-
setFieldMask
public ListDevicesRequest.Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValue)
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;
-
mergeFieldMask
public ListDevicesRequest.Builder mergeFieldMask(com.google.protobuf.FieldMask value)
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;
-
clearFieldMask
public ListDevicesRequest.Builder clearFieldMask()
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;
-
getFieldMaskBuilder
public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder()
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;
-
getFieldMaskOrBuilder
public com.google.protobuf.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;- Specified by:
getFieldMaskOrBuilderin interfaceListDevicesRequestOrBuilder
-
hasGatewayListOptions
public boolean hasGatewayListOptions()
Options related to gateways.
.google.cloud.iot.v1.GatewayListOptions gateway_list_options = 6;- Specified by:
hasGatewayListOptionsin interfaceListDevicesRequestOrBuilder- Returns:
- Whether the gatewayListOptions field is set.
-
getGatewayListOptions
public GatewayListOptions getGatewayListOptions()
Options related to gateways.
.google.cloud.iot.v1.GatewayListOptions gateway_list_options = 6;- Specified by:
getGatewayListOptionsin interfaceListDevicesRequestOrBuilder- Returns:
- The gatewayListOptions.
-
setGatewayListOptions
public ListDevicesRequest.Builder setGatewayListOptions(GatewayListOptions value)
Options related to gateways.
.google.cloud.iot.v1.GatewayListOptions gateway_list_options = 6;
-
setGatewayListOptions
public ListDevicesRequest.Builder setGatewayListOptions(GatewayListOptions.Builder builderForValue)
Options related to gateways.
.google.cloud.iot.v1.GatewayListOptions gateway_list_options = 6;
-
mergeGatewayListOptions
public ListDevicesRequest.Builder mergeGatewayListOptions(GatewayListOptions value)
Options related to gateways.
.google.cloud.iot.v1.GatewayListOptions gateway_list_options = 6;
-
clearGatewayListOptions
public ListDevicesRequest.Builder clearGatewayListOptions()
Options related to gateways.
.google.cloud.iot.v1.GatewayListOptions gateway_list_options = 6;
-
getGatewayListOptionsBuilder
public GatewayListOptions.Builder getGatewayListOptionsBuilder()
Options related to gateways.
.google.cloud.iot.v1.GatewayListOptions gateway_list_options = 6;
-
getGatewayListOptionsOrBuilder
public GatewayListOptionsOrBuilder getGatewayListOptionsOrBuilder()
Options related to gateways.
.google.cloud.iot.v1.GatewayListOptions gateway_list_options = 6;- Specified by:
getGatewayListOptionsOrBuilderin interfaceListDevicesRequestOrBuilder
-
getPageSize
public 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;- Specified by:
getPageSizein interfaceListDevicesRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
public ListDevicesRequest.Builder setPageSize(int value)
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;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
public ListDevicesRequest.Builder clearPageSize()
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;- Returns:
- This builder for chaining.
-
getPageToken
public 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;- Specified by:
getPageTokenin interfaceListDevicesRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.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;- Specified by:
getPageTokenBytesin interfaceListDevicesRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
public ListDevicesRequest.Builder setPageToken(String value)
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;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
public ListDevicesRequest.Builder clearPageToken()
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;- Returns:
- This builder for chaining.
-
setPageTokenBytes
public ListDevicesRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListDevicesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder>
-
mergeUnknownFields
public final ListDevicesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesRequest.Builder>
-
-