public static final class ListDeviceRegistriesResponse.Builder extends GeneratedMessageV3.Builder<ListDeviceRegistriesResponse.Builder> implements ListDeviceRegistriesResponseOrBuilder
Response for ListDeviceRegistries
.
Protobuf type google.cloud.iot.v1.ListDeviceRegistriesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
addDeviceRegistriesBuilder()
public DeviceRegistry.Builder addDeviceRegistriesBuilder()
The registries that matched the query.
repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDeviceRegistriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListDeviceRegistriesResponse build()
Returns
buildPartial()
public ListDeviceRegistriesResponse buildPartial()
Returns
clear()
public ListDeviceRegistriesResponse.Builder clear()
Returns
Overrides
clearDeviceRegistries()
public ListDeviceRegistriesResponse.Builder clearDeviceRegistries()
The registries that matched the query.
repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListDeviceRegistriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDeviceRegistriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListDeviceRegistriesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListDeviceRegistriesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getDeviceRegistriesBuilderList()
public List<DeviceRegistry.Builder> getDeviceRegistriesBuilderList()
The registries that matched the query.
repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;
Returns
getDeviceRegistriesCount()
public int getDeviceRegistriesCount()
The registries that matched the query.
repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;
Returns
getDeviceRegistriesList()
public List<DeviceRegistry> getDeviceRegistriesList()
The registries that matched the query.
repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;
Returns
getDeviceRegistriesOrBuilder(int index)
public DeviceRegistryOrBuilder getDeviceRegistriesOrBuilder(int index)
The registries that matched the query.
repeated .google.cloud.iot.v1.DeviceRegistry device_registries = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListDeviceRegistriesResponse other)
public ListDeviceRegistriesResponse.Builder mergeFrom(ListDeviceRegistriesResponse other)
Parameter
Returns
public ListDeviceRegistriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListDeviceRegistriesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDeviceRegistriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListDeviceRegistriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDeviceRegistriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDeviceRegistriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides