public static final class ListDevicesResponse.Builder extends GeneratedMessageV3.Builder<ListDevicesResponse.Builder> implements ListDevicesResponseOrBuilder
Response for ListDevices
.
Protobuf type google.cloud.iot.v1.ListDevicesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllDevices(Iterable<? extends Device> values)
public ListDevicesResponse.Builder addAllDevices(Iterable<? extends Device> values)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.iot.v1.Device>
|
addDevices(Device value)
public ListDevicesResponse.Builder addDevices(Device value)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
Parameter |
---|
Name | Description |
value | Device
|
addDevices(Device.Builder builderForValue)
public ListDevicesResponse.Builder addDevices(Device.Builder builderForValue)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
addDevices(int index, Device value)
public ListDevicesResponse.Builder addDevices(int index, Device value)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
addDevices(int index, Device.Builder builderForValue)
public ListDevicesResponse.Builder addDevices(int index, Device.Builder builderForValue)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
addDevicesBuilder()
public Device.Builder addDevicesBuilder()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
addDevicesBuilder(int index)
public Device.Builder addDevicesBuilder(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDevicesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListDevicesResponse build()
buildPartial()
public ListDevicesResponse buildPartial()
clear()
public ListDevicesResponse.Builder clear()
Overrides
clearDevices()
public ListDevicesResponse.Builder clearDevices()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
clearField(Descriptors.FieldDescriptor field)
public ListDevicesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDevicesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListDevicesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListDevicesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDevices(int index)
public Device getDevices(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
Parameter |
---|
Name | Description |
index | int
|
getDevicesBuilder(int index)
public Device.Builder getDevicesBuilder(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
Parameter |
---|
Name | Description |
index | int
|
getDevicesBuilderList()
public List<Device.Builder> getDevicesBuilderList()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
getDevicesCount()
public int getDevicesCount()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
Returns |
---|
Type | Description |
int | |
getDevicesList()
public List<Device> getDevicesList()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
getDevicesOrBuilder(int index)
public DeviceOrBuilder getDevicesOrBuilder(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
Parameter |
---|
Name | Description |
index | int
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListDevicesResponse other)
public ListDevicesResponse.Builder mergeFrom(ListDevicesResponse other)
public ListDevicesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListDevicesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDevicesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeDevices(int index)
public ListDevicesResponse.Builder removeDevices(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
Parameter |
---|
Name | Description |
index | int
|
setDevices(int index, Device value)
public ListDevicesResponse.Builder setDevices(int index, Device value)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
setDevices(int index, Device.Builder builderForValue)
public ListDevicesResponse.Builder setDevices(int index, Device.Builder builderForValue)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListDevicesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
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;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDevicesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDevicesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides