Class ListDeviceRegistriesResponse.Builder (2.44.0)

public static final class ListDeviceRegistriesResponse.Builder extends GeneratedMessageV3.Builder<ListDeviceRegistriesResponse.Builder> implements ListDeviceRegistriesResponseOrBuilder

Response for ListDeviceRegistries.

Protobuf type google.cloud.iot.v1.ListDeviceRegistriesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDeviceRegistries(Iterable<? extends DeviceRegistry> values)

public ListDeviceRegistriesResponse.Builder addAllDeviceRegistries(Iterable<? extends DeviceRegistry> values)

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.iot.v1.DeviceRegistry>
Returns
Type Description
ListDeviceRegistriesResponse.Builder

addDeviceRegistries(DeviceRegistry value)

public ListDeviceRegistriesResponse.Builder addDeviceRegistries(DeviceRegistry value)

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Parameter
Name Description
value DeviceRegistry
Returns
Type Description
ListDeviceRegistriesResponse.Builder

addDeviceRegistries(DeviceRegistry.Builder builderForValue)

public ListDeviceRegistriesResponse.Builder addDeviceRegistries(DeviceRegistry.Builder builderForValue)

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Parameter
Name Description
builderForValue DeviceRegistry.Builder
Returns
Type Description
ListDeviceRegistriesResponse.Builder

addDeviceRegistries(int index, DeviceRegistry value)

public ListDeviceRegistriesResponse.Builder addDeviceRegistries(int index, DeviceRegistry value)

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Parameters
Name Description
index int
value DeviceRegistry
Returns
Type Description
ListDeviceRegistriesResponse.Builder

addDeviceRegistries(int index, DeviceRegistry.Builder builderForValue)

public ListDeviceRegistriesResponse.Builder addDeviceRegistries(int index, DeviceRegistry.Builder builderForValue)

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Parameters
Name Description
index int
builderForValue DeviceRegistry.Builder
Returns
Type Description
ListDeviceRegistriesResponse.Builder

addDeviceRegistriesBuilder()

public DeviceRegistry.Builder addDeviceRegistriesBuilder()

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Returns
Type Description
DeviceRegistry.Builder

addDeviceRegistriesBuilder(int index)

public DeviceRegistry.Builder addDeviceRegistriesBuilder(int index)

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Parameter
Name Description
index int
Returns
Type Description
DeviceRegistry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDeviceRegistriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListDeviceRegistriesResponse.Builder
Overrides

build()

public ListDeviceRegistriesResponse build()
Returns
Type Description
ListDeviceRegistriesResponse

buildPartial()

public ListDeviceRegistriesResponse buildPartial()
Returns
Type Description
ListDeviceRegistriesResponse

clear()

public ListDeviceRegistriesResponse.Builder clear()
Returns
Type Description
ListDeviceRegistriesResponse.Builder
Overrides

clearDeviceRegistries()

public ListDeviceRegistriesResponse.Builder clearDeviceRegistries()

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Returns
Type Description
ListDeviceRegistriesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDeviceRegistriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListDeviceRegistriesResponse.Builder
Overrides

clearNextPageToken()

public ListDeviceRegistriesResponse.Builder clearNextPageToken()

If not empty, indicates that there may be more registries that match the request; this value should be passed in a new ListDeviceRegistriesRequest.

string next_page_token = 2;

Returns
Type Description
ListDeviceRegistriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDeviceRegistriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListDeviceRegistriesResponse.Builder
Overrides

clone()

public ListDeviceRegistriesResponse.Builder clone()
Returns
Type Description
ListDeviceRegistriesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListDeviceRegistriesResponse getDefaultInstanceForType()
Returns
Type Description
ListDeviceRegistriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDeviceRegistries(int index)

public DeviceRegistry getDeviceRegistries(int index)

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Parameter
Name Description
index int
Returns
Type Description
DeviceRegistry

getDeviceRegistriesBuilder(int index)

public DeviceRegistry.Builder getDeviceRegistriesBuilder(int index)

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Parameter
Name Description
index int
Returns
Type Description
DeviceRegistry.Builder

getDeviceRegistriesBuilderList()

public List<DeviceRegistry.Builder> getDeviceRegistriesBuilderList()

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Returns
Type Description
List<Builder>

getDeviceRegistriesCount()

public int getDeviceRegistriesCount()

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Returns
Type Description
int

getDeviceRegistriesList()

public List<DeviceRegistry> getDeviceRegistriesList()

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Returns
Type Description
List<DeviceRegistry>

getDeviceRegistriesOrBuilder(int index)

public DeviceRegistryOrBuilder getDeviceRegistriesOrBuilder(int index)

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Parameter
Name Description
index int
Returns
Type Description
DeviceRegistryOrBuilder

getDeviceRegistriesOrBuilderList()

public List<? extends DeviceRegistryOrBuilder> getDeviceRegistriesOrBuilderList()

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Returns
Type Description
List<? extends com.google.cloud.iot.v1.DeviceRegistryOrBuilder>

getNextPageToken()

public String getNextPageToken()

If not empty, indicates that there may be more registries that match the request; this value should be passed in a new ListDeviceRegistriesRequest.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If not empty, indicates that there may be more registries that match the request; this value should be passed in a new ListDeviceRegistriesRequest.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDeviceRegistriesResponse other)

public ListDeviceRegistriesResponse.Builder mergeFrom(ListDeviceRegistriesResponse other)
Parameter
Name Description
other ListDeviceRegistriesResponse
Returns
Type Description
ListDeviceRegistriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDeviceRegistriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDeviceRegistriesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListDeviceRegistriesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListDeviceRegistriesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDeviceRegistriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDeviceRegistriesResponse.Builder
Overrides

removeDeviceRegistries(int index)

public ListDeviceRegistriesResponse.Builder removeDeviceRegistries(int index)

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDeviceRegistriesResponse.Builder

setDeviceRegistries(int index, DeviceRegistry value)

public ListDeviceRegistriesResponse.Builder setDeviceRegistries(int index, DeviceRegistry value)

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Parameters
Name Description
index int
value DeviceRegistry
Returns
Type Description
ListDeviceRegistriesResponse.Builder

setDeviceRegistries(int index, DeviceRegistry.Builder builderForValue)

public ListDeviceRegistriesResponse.Builder setDeviceRegistries(int index, DeviceRegistry.Builder builderForValue)

The registries that matched the query.

repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;

Parameters
Name Description
index int
builderForValue DeviceRegistry.Builder
Returns
Type Description
ListDeviceRegistriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListDeviceRegistriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListDeviceRegistriesResponse.Builder
Overrides

setNextPageToken(String value)

public ListDeviceRegistriesResponse.Builder setNextPageToken(String value)

If not empty, indicates that there may be more registries that match the request; this value should be passed in a new ListDeviceRegistriesRequest.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDeviceRegistriesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDeviceRegistriesResponse.Builder setNextPageTokenBytes(ByteString value)

If not empty, indicates that there may be more registries that match the request; this value should be passed in a new ListDeviceRegistriesRequest.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDeviceRegistriesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListDeviceRegistriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListDeviceRegistriesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDeviceRegistriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDeviceRegistriesResponse.Builder
Overrides