Package com.google.cloud.iot.v1
Interface GatewayListOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GatewayListOptions
,GatewayListOptions.Builder
public interface GatewayListOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAssociationsDeviceId()
If set, returns only the gateways with which the specified device is associated.com.google.protobuf.ByteString
getAssociationsDeviceIdBytes()
If set, returns only the gateways with which the specified device is associated.String
getAssociationsGatewayId()
If set, only devices associated with the specified gateway are returned.com.google.protobuf.ByteString
getAssociationsGatewayIdBytes()
If set, only devices associated with the specified gateway are returned.GatewayListOptions.FilterCase
getFilterCase()
GatewayType
getGatewayType()
If `GATEWAY` is specified, only gateways are returned.int
getGatewayTypeValue()
If `GATEWAY` is specified, only gateways are returned.boolean
hasAssociationsDeviceId()
If set, returns only the gateways with which the specified device is associated.boolean
hasAssociationsGatewayId()
If set, only devices associated with the specified gateway are returned.boolean
hasGatewayType()
If `GATEWAY` is specified, only gateways are returned.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasGatewayType
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:
- Whether the gatewayType field is set.
-
getGatewayTypeValue
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:
- The enum numeric value on the wire for gatewayType.
-
getGatewayType
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:
- The gatewayType.
-
hasAssociationsGatewayId
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:
- Whether the associationsGatewayId field is set.
-
getAssociationsGatewayId
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:
- The associationsGatewayId.
-
getAssociationsGatewayIdBytes
com.google.protobuf.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:
- The bytes for associationsGatewayId.
-
hasAssociationsDeviceId
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:
- Whether the associationsDeviceId field is set.
-
getAssociationsDeviceId
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:
- The associationsDeviceId.
-
getAssociationsDeviceIdBytes
com.google.protobuf.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:
- The bytes for associationsDeviceId.
-
getFilterCase
GatewayListOptions.FilterCase getFilterCase()
-
-