Package com.google.cloud.iot.v1
Class ListDevicesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
-
- com.google.cloud.iot.v1.ListDevicesResponse.Builder
-
- All Implemented Interfaces:
ListDevicesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListDevicesResponse
public static final class ListDevicesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListDevicesResponse.Builder> implements ListDevicesResponseOrBuilder
Response for `ListDevices`.
Protobuf typegoogle.cloud.iot.v1.ListDevicesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDevicesResponse.BuilderaddAllDevices(Iterable<? extends Device> values)The devices that match the request.ListDevicesResponse.BuilderaddDevices(int index, Device value)The devices that match the request.ListDevicesResponse.BuilderaddDevices(int index, Device.Builder builderForValue)The devices that match the request.ListDevicesResponse.BuilderaddDevices(Device value)The devices that match the request.ListDevicesResponse.BuilderaddDevices(Device.Builder builderForValue)The devices that match the request.Device.BuilderaddDevicesBuilder()The devices that match the request.Device.BuilderaddDevicesBuilder(int index)The devices that match the request.ListDevicesResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListDevicesResponsebuild()ListDevicesResponsebuildPartial()ListDevicesResponse.Builderclear()ListDevicesResponse.BuilderclearDevices()The devices that match the request.ListDevicesResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListDevicesResponse.BuilderclearNextPageToken()If not empty, indicates that there may be more devices that match the request; this value should be passed in a new `ListDevicesRequest`.ListDevicesResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListDevicesResponse.Builderclone()ListDevicesResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DevicegetDevices(int index)The devices that match the request.Device.BuildergetDevicesBuilder(int index)The devices that match the request.List<Device.Builder>getDevicesBuilderList()The devices that match the request.intgetDevicesCount()The devices that match the request.List<Device>getDevicesList()The devices that match the request.DeviceOrBuildergetDevicesOrBuilder(int index)The devices that match the request.List<? extends DeviceOrBuilder>getDevicesOrBuilderList()The devices that match the request.StringgetNextPageToken()If not empty, indicates that there may be more devices that match the request; this value should be passed in a new `ListDevicesRequest`.com.google.protobuf.ByteStringgetNextPageTokenBytes()If not empty, indicates that there may be more devices that match the request; this value should be passed in a new `ListDevicesRequest`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListDevicesResponse.BuildermergeFrom(ListDevicesResponse other)ListDevicesResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListDevicesResponse.BuildermergeFrom(com.google.protobuf.Message other)ListDevicesResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListDevicesResponse.BuilderremoveDevices(int index)The devices that match the request.ListDevicesResponse.BuildersetDevices(int index, Device value)The devices that match the request.ListDevicesResponse.BuildersetDevices(int index, Device.Builder builderForValue)The devices that match the request.ListDevicesResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListDevicesResponse.BuildersetNextPageToken(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.BuildersetNextPageTokenBytes(com.google.protobuf.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.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListDevicesResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
-
clear
public ListDevicesResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
-
getDefaultInstanceForType
public ListDevicesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListDevicesResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListDevicesResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListDevicesResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
-
setField
public ListDevicesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
-
clearField
public ListDevicesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
-
clearOneof
public ListDevicesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
-
setRepeatedField
public ListDevicesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
-
addRepeatedField
public ListDevicesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
-
mergeFrom
public ListDevicesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListDevicesResponse.Builder>
-
mergeFrom
public ListDevicesResponse.Builder mergeFrom(ListDevicesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
-
mergeFrom
public ListDevicesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListDevicesResponse.Builder>- Throws:
IOException
-
getDevicesList
public List<Device> getDevicesList()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;- Specified by:
getDevicesListin interfaceListDevicesResponseOrBuilder
-
getDevicesCount
public int getDevicesCount()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;- Specified by:
getDevicesCountin interfaceListDevicesResponseOrBuilder
-
getDevices
public Device getDevices(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;- Specified by:
getDevicesin interfaceListDevicesResponseOrBuilder
-
setDevices
public ListDevicesResponse.Builder setDevices(int index, Device value)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
-
setDevices
public ListDevicesResponse.Builder setDevices(int index, Device.Builder builderForValue)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
-
addDevices
public ListDevicesResponse.Builder addDevices(Device value)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
-
addDevices
public ListDevicesResponse.Builder addDevices(int index, Device value)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
-
addDevices
public ListDevicesResponse.Builder addDevices(Device.Builder builderForValue)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
-
addDevices
public ListDevicesResponse.Builder addDevices(int index, Device.Builder builderForValue)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
-
addAllDevices
public ListDevicesResponse.Builder addAllDevices(Iterable<? extends Device> values)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
-
clearDevices
public ListDevicesResponse.Builder clearDevices()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
-
removeDevices
public ListDevicesResponse.Builder removeDevices(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
-
getDevicesBuilder
public Device.Builder getDevicesBuilder(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
-
getDevicesOrBuilder
public DeviceOrBuilder getDevicesOrBuilder(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;- Specified by:
getDevicesOrBuilderin interfaceListDevicesResponseOrBuilder
-
getDevicesOrBuilderList
public List<? extends DeviceOrBuilder> getDevicesOrBuilderList()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;- Specified by:
getDevicesOrBuilderListin interfaceListDevicesResponseOrBuilder
-
addDevicesBuilder
public Device.Builder addDevicesBuilder()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
-
addDevicesBuilder
public Device.Builder addDevicesBuilder(int index)
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
-
getDevicesBuilderList
public List<Device.Builder> getDevicesBuilderList()
The devices that match the request.
repeated .google.cloud.iot.v1.Device devices = 1;
-
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;- Specified by:
getNextPageTokenin interfaceListDevicesResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;- Specified by:
getNextPageTokenBytesin interfaceListDevicesResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListDevicesResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListDevicesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
-
mergeUnknownFields
public final ListDevicesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDevicesResponse.Builder>
-
-