Interface GatewayListOptionsOrBuilder (2.8.0)

public interface GatewayListOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssociationsDeviceId()

public abstract 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
TypeDescription
String

The associationsDeviceId.

getAssociationsDeviceIdBytes()

public abstract 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
TypeDescription
ByteString

The bytes for associationsDeviceId.

getAssociationsGatewayId()

public abstract 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
TypeDescription
String

The associationsGatewayId.

getAssociationsGatewayIdBytes()

public abstract 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
TypeDescription
ByteString

The bytes for associationsGatewayId.

getFilterCase()

public abstract GatewayListOptions.FilterCase getFilterCase()
Returns
TypeDescription
GatewayListOptions.FilterCase

getGatewayType()

public abstract 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
TypeDescription
GatewayType

The gatewayType.

getGatewayTypeValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for gatewayType.

hasAssociationsDeviceId()

public abstract 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
TypeDescription
boolean

Whether the associationsDeviceId field is set.

hasAssociationsGatewayId()

public abstract 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
TypeDescription
boolean

Whether the associationsGatewayId field is set.

hasGatewayType()

public abstract 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
TypeDescription
boolean

Whether the gatewayType field is set.