Class ListDeviceRegistriesResponse.Builder (2.3.6)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.iot.v1.DeviceRegistry>
Returns
TypeDescription
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
NameDescription
valueDeviceRegistry
Returns
TypeDescription
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
NameDescription
builderForValueDeviceRegistry.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDeviceRegistry
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDeviceRegistry.Builder
Returns
TypeDescription
ListDeviceRegistriesResponse.Builder

addDeviceRegistriesBuilder()

public DeviceRegistry.Builder addDeviceRegistriesBuilder()

The registries that matched the query.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DeviceRegistry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDeviceRegistriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListDeviceRegistriesResponse.Builder
Overrides

build()

public ListDeviceRegistriesResponse build()
Returns
TypeDescription
ListDeviceRegistriesResponse

buildPartial()

public ListDeviceRegistriesResponse buildPartial()
Returns
TypeDescription
ListDeviceRegistriesResponse

clear()

public ListDeviceRegistriesResponse.Builder clear()
Returns
TypeDescription
ListDeviceRegistriesResponse.Builder
Overrides

clearDeviceRegistries()

public ListDeviceRegistriesResponse.Builder clearDeviceRegistries()

The registries that matched the query.

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

Returns
TypeDescription
ListDeviceRegistriesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDeviceRegistriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListDeviceRegistriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDeviceRegistriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListDeviceRegistriesResponse.Builder
Overrides

clone()

public ListDeviceRegistriesResponse.Builder clone()
Returns
TypeDescription
ListDeviceRegistriesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListDeviceRegistriesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDeviceRegistriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DeviceRegistry.Builder

getDeviceRegistriesBuilderList()

public List<DeviceRegistry.Builder> getDeviceRegistriesBuilderList()

The registries that matched the query.

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

Returns
TypeDescription
List<Builder>

getDeviceRegistriesCount()

public int getDeviceRegistriesCount()

The registries that matched the query.

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

Returns
TypeDescription
int

getDeviceRegistriesList()

public List<DeviceRegistry> getDeviceRegistriesList()

The registries that matched the query.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DeviceRegistryOrBuilder

getDeviceRegistriesOrBuilderList()

public List<? extends DeviceRegistryOrBuilder> getDeviceRegistriesOrBuilderList()

The registries that matched the query.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDeviceRegistriesResponse other)

public ListDeviceRegistriesResponse.Builder mergeFrom(ListDeviceRegistriesResponse other)
Parameter
NameDescription
otherListDeviceRegistriesResponse
Returns
TypeDescription
ListDeviceRegistriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDeviceRegistriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDeviceRegistriesResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListDeviceRegistriesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListDeviceRegistriesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDeviceRegistriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDeviceRegistry
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDeviceRegistry.Builder
Returns
TypeDescription
ListDeviceRegistriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListDeviceRegistriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDeviceRegistriesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDeviceRegistriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDeviceRegistriesResponse.Builder
Overrides