- 2.76.0 (latest)
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.6
- 2.2.1
- 2.1.7
public static final class GatewayListOptions.Builder extends GeneratedMessageV3.Builder<GatewayListOptions.Builder> implements GatewayListOptionsOrBuilderOptions for limiting the list based on gateway type and associations.
Protobuf type google.cloud.iot.v1.GatewayListOptions
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GatewayListOptions.BuilderImplements
GatewayListOptionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GatewayListOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
|
build()
public GatewayListOptions build()| Returns | |
|---|---|
| Type | Description |
GatewayListOptions |
|
buildPartial()
public GatewayListOptions buildPartial()| Returns | |
|---|---|
| Type | Description |
GatewayListOptions |
|
clear()
public GatewayListOptions.Builder clear()| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
|
clearAssociationsDeviceId()
public GatewayListOptions.Builder clearAssociationsDeviceId() If set, returns only the gateways with which the specified device is
associated. The device ID can be numeric (num_id) or the user-defined
string (id). For example, if 456 is specified, returns only the
gateways to which the device with num_id 456 is bound.
string associations_device_id = 3;
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
This builder for chaining. |
clearAssociationsGatewayId()
public GatewayListOptions.Builder clearAssociationsGatewayId() If set, only devices associated with the specified gateway are returned.
The gateway ID can be numeric (num_id) or the user-defined string
(id). For example, if 123 is specified, only devices bound to the
gateway with num_id 123 are returned.
string associations_gateway_id = 2;
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public GatewayListOptions.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
|
clearFilter()
public GatewayListOptions.Builder clearFilter()| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
|
clearGatewayType()
public GatewayListOptions.Builder clearGatewayType() If GATEWAY is specified, only gateways are returned. If NON_GATEWAY
is specified, only non-gateway devices are returned. If
GATEWAY_TYPE_UNSPECIFIED is specified, all devices are returned.
.google.cloud.iot.v1.GatewayType gateway_type = 1;
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GatewayListOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
|
clone()
public GatewayListOptions.Builder clone()| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
|
getAssociationsDeviceId()
public String getAssociationsDeviceId() If set, returns only the gateways with which the specified device is
associated. The device ID can be numeric (num_id) or the user-defined
string (id). For example, if 456 is specified, returns only the
gateways to which the device with num_id 456 is bound.
string associations_device_id = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The associationsDeviceId. |
getAssociationsDeviceIdBytes()
public ByteString getAssociationsDeviceIdBytes() If set, returns only the gateways with which the specified device is
associated. The device ID can be numeric (num_id) or the user-defined
string (id). For example, if 456 is specified, returns only the
gateways to which the device with num_id 456 is bound.
string associations_device_id = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for associationsDeviceId. |
getAssociationsGatewayId()
public String getAssociationsGatewayId() If set, only devices associated with the specified gateway are returned.
The gateway ID can be numeric (num_id) or the user-defined string
(id). For example, if 123 is specified, only devices bound to the
gateway with num_id 123 are returned.
string associations_gateway_id = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The associationsGatewayId. |
getAssociationsGatewayIdBytes()
public ByteString getAssociationsGatewayIdBytes() If set, only devices associated with the specified gateway are returned.
The gateway ID can be numeric (num_id) or the user-defined string
(id). For example, if 123 is specified, only devices bound to the
gateway with num_id 123 are returned.
string associations_gateway_id = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for associationsGatewayId. |
getDefaultInstanceForType()
public GatewayListOptions getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GatewayListOptions |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilterCase()
public GatewayListOptions.FilterCase getFilterCase()| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.FilterCase |
|
getGatewayType()
public GatewayType getGatewayType() If GATEWAY is specified, only gateways are returned. If NON_GATEWAY
is specified, only non-gateway devices are returned. If
GATEWAY_TYPE_UNSPECIFIED is specified, all devices are returned.
.google.cloud.iot.v1.GatewayType gateway_type = 1;
| Returns | |
|---|---|
| Type | Description |
GatewayType |
The gatewayType. |
getGatewayTypeValue()
public int getGatewayTypeValue() If GATEWAY is specified, only gateways are returned. If NON_GATEWAY
is specified, only non-gateway devices are returned. If
GATEWAY_TYPE_UNSPECIFIED is specified, all devices are returned.
.google.cloud.iot.v1.GatewayType gateway_type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for gatewayType. |
hasAssociationsDeviceId()
public boolean hasAssociationsDeviceId() If set, returns only the gateways with which the specified device is
associated. The device ID can be numeric (num_id) or the user-defined
string (id). For example, if 456 is specified, returns only the
gateways to which the device with num_id 456 is bound.
string associations_device_id = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the associationsDeviceId field is set. |
hasAssociationsGatewayId()
public boolean hasAssociationsGatewayId() If set, only devices associated with the specified gateway are returned.
The gateway ID can be numeric (num_id) or the user-defined string
(id). For example, if 123 is specified, only devices bound to the
gateway with num_id 123 are returned.
string associations_gateway_id = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the associationsGatewayId field is set. |
hasGatewayType()
public boolean hasGatewayType() If GATEWAY is specified, only gateways are returned. If NON_GATEWAY
is specified, only non-gateway devices are returned. If
GATEWAY_TYPE_UNSPECIFIED is specified, all devices are returned.
.google.cloud.iot.v1.GatewayType gateway_type = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gatewayType field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GatewayListOptions other)
public GatewayListOptions.Builder mergeFrom(GatewayListOptions other)| Parameter | |
|---|---|
| Name | Description |
other |
GatewayListOptions |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GatewayListOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GatewayListOptions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GatewayListOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
|
setAssociationsDeviceId(String value)
public GatewayListOptions.Builder setAssociationsDeviceId(String value) If set, returns only the gateways with which the specified device is
associated. The device ID can be numeric (num_id) or the user-defined
string (id). For example, if 456 is specified, returns only the
gateways to which the device with num_id 456 is bound.
string associations_device_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe associationsDeviceId to set. |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
This builder for chaining. |
setAssociationsDeviceIdBytes(ByteString value)
public GatewayListOptions.Builder setAssociationsDeviceIdBytes(ByteString value) If set, returns only the gateways with which the specified device is
associated. The device ID can be numeric (num_id) or the user-defined
string (id). For example, if 456 is specified, returns only the
gateways to which the device with num_id 456 is bound.
string associations_device_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for associationsDeviceId to set. |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
This builder for chaining. |
setAssociationsGatewayId(String value)
public GatewayListOptions.Builder setAssociationsGatewayId(String value) If set, only devices associated with the specified gateway are returned.
The gateway ID can be numeric (num_id) or the user-defined string
(id). For example, if 123 is specified, only devices bound to the
gateway with num_id 123 are returned.
string associations_gateway_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe associationsGatewayId to set. |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
This builder for chaining. |
setAssociationsGatewayIdBytes(ByteString value)
public GatewayListOptions.Builder setAssociationsGatewayIdBytes(ByteString value) If set, only devices associated with the specified gateway are returned.
The gateway ID can be numeric (num_id) or the user-defined string
(id). For example, if 123 is specified, only devices bound to the
gateway with num_id 123 are returned.
string associations_gateway_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for associationsGatewayId to set. |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GatewayListOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
|
setGatewayType(GatewayType value)
public GatewayListOptions.Builder setGatewayType(GatewayType value) If GATEWAY is specified, only gateways are returned. If NON_GATEWAY
is specified, only non-gateway devices are returned. If
GATEWAY_TYPE_UNSPECIFIED is specified, all devices are returned.
.google.cloud.iot.v1.GatewayType gateway_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
GatewayTypeThe gatewayType to set. |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
This builder for chaining. |
setGatewayTypeValue(int value)
public GatewayListOptions.Builder setGatewayTypeValue(int value) If GATEWAY is specified, only gateways are returned. If NON_GATEWAY
is specified, only non-gateway devices are returned. If
GATEWAY_TYPE_UNSPECIFIED is specified, all devices are returned.
.google.cloud.iot.v1.GatewayType gateway_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for gatewayType to set. |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GatewayListOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final GatewayListOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GatewayListOptions.Builder |
|