public static final class ListDevicesResponse.Builder extends GeneratedMessageV3.Builder<ListDevicesResponse.Builder> implements ListDevicesResponseOrBuilder
Response for `ListDevices`.Protobuf type
google.cloud.iot.v1.ListDevicesResponse
Modifier and Type | Method and Description |
---|---|
ListDevicesResponse.Builder |
addAllDevices(Iterable<? extends Device> values)
The devices that match the request.
|
ListDevicesResponse.Builder |
addDevices(Device.Builder builderForValue)
The devices that match the request.
|
ListDevicesResponse.Builder |
addDevices(Device value)
The devices that match the request.
|
ListDevicesResponse.Builder |
addDevices(int index,
Device.Builder builderForValue)
The devices that match the request.
|
ListDevicesResponse.Builder |
addDevices(int index,
Device value)
The devices that match the request.
|
Device.Builder |
addDevicesBuilder()
The devices that match the request.
|
Device.Builder |
addDevicesBuilder(int index)
The devices that match the request.
|
ListDevicesResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ListDevicesResponse |
build() |
ListDevicesResponse |
buildPartial() |
ListDevicesResponse.Builder |
clear() |
ListDevicesResponse.Builder |
clearDevices()
The devices that match the request.
|
ListDevicesResponse.Builder |
clearField(Descriptors.FieldDescriptor field) |
ListDevicesResponse.Builder |
clearNextPageToken()
If not empty, indicates that there may be more devices that match the
request; this value should be passed in a new `ListDevicesRequest`.
|
ListDevicesResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ListDevicesResponse.Builder |
clone() |
ListDevicesResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Device |
getDevices(int index)
The devices that match the request.
|
Device.Builder |
getDevicesBuilder(int index)
The devices that match the request.
|
List<Device.Builder> |
getDevicesBuilderList()
The devices that match the request.
|
int |
getDevicesCount()
The devices that match the request.
|
List<Device> |
getDevicesList()
The devices that match the request.
|
DeviceOrBuilder |
getDevicesOrBuilder(int index)
The devices that match the request.
|
List<? extends DeviceOrBuilder> |
getDevicesOrBuilderList()
The devices that match the request.
|
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`.
|
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`.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListDevicesResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListDevicesResponse.Builder |
mergeFrom(ListDevicesResponse other) |
ListDevicesResponse.Builder |
mergeFrom(Message other) |
ListDevicesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ListDevicesResponse.Builder |
removeDevices(int index)
The devices that match the request.
|
ListDevicesResponse.Builder |
setDevices(int index,
Device.Builder builderForValue)
The devices that match the request.
|
ListDevicesResponse.Builder |
setDevices(int index,
Device value)
The devices that match the request.
|
ListDevicesResponse.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ListDevicesResponse.Builder |
setNextPageToken(String value)
If not empty, indicates that there may be more devices that match the
request; this value should be passed in a new `ListDevicesRequest`.
|
ListDevicesResponse.Builder |
setNextPageTokenBytes(ByteString value)
If not empty, indicates that there may be more devices that match the
request; this value should be passed in a new `ListDevicesRequest`.
|
ListDevicesResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ListDevicesResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
public ListDevicesResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
public ListDevicesResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListDevicesResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListDevicesResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListDevicesResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
public ListDevicesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
public ListDevicesResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
public ListDevicesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
public ListDevicesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
public ListDevicesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
public ListDevicesResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListDevicesResponse.Builder>
public ListDevicesResponse.Builder mergeFrom(ListDevicesResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
public ListDevicesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListDevicesResponse.Builder>
IOException
public List<Device> getDevicesList()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
getDevicesList
in interface ListDevicesResponseOrBuilder
public int getDevicesCount()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
getDevicesCount
in interface ListDevicesResponseOrBuilder
public Device getDevices(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
getDevices
in interface ListDevicesResponseOrBuilder
public ListDevicesResponse.Builder setDevices(int index, Device value)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
public ListDevicesResponse.Builder setDevices(int index, Device.Builder builderForValue)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
public ListDevicesResponse.Builder addDevices(Device value)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
public ListDevicesResponse.Builder addDevices(int index, Device value)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
public ListDevicesResponse.Builder addDevices(Device.Builder builderForValue)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
public ListDevicesResponse.Builder addDevices(int index, Device.Builder builderForValue)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
public ListDevicesResponse.Builder addAllDevices(Iterable<? extends Device> values)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
public ListDevicesResponse.Builder clearDevices()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
public ListDevicesResponse.Builder removeDevices(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
public Device.Builder getDevicesBuilder(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
public DeviceOrBuilder getDevicesOrBuilder(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
getDevicesOrBuilder
in interface ListDevicesResponseOrBuilder
public List<? extends DeviceOrBuilder> getDevicesOrBuilderList()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
getDevicesOrBuilderList
in interface ListDevicesResponseOrBuilder
public Device.Builder addDevicesBuilder()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
public Device.Builder addDevicesBuilder(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
public List<Device.Builder> getDevicesBuilderList()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
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;
getNextPageToken
in interface ListDevicesResponseOrBuilder
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;
getNextPageTokenBytes
in interface ListDevicesResponseOrBuilder
public ListDevicesResponse.Builder setNextPageToken(String value)
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;
value
- The nextPageToken to set.public ListDevicesResponse.Builder clearNextPageToken()
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;
public ListDevicesResponse.Builder setNextPageTokenBytes(ByteString value)
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;
value
- The bytes for nextPageToken to set.public final ListDevicesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
public final ListDevicesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.