public final class GatewayListOptions extends GeneratedMessageV3 implements GatewayListOptionsOrBuilder
Options for limiting the list based on gateway type and associations.
Protobuf type google.cloud.iot.v1.GatewayListOptions
Static Fields
ASSOCIATIONS_DEVICE_ID_FIELD_NUMBER
public static final int ASSOCIATIONS_DEVICE_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ASSOCIATIONS_GATEWAY_ID_FIELD_NUMBER
public static final int ASSOCIATIONS_GATEWAY_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
GATEWAY_TYPE_FIELD_NUMBER
public static final int GATEWAY_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static GatewayListOptions getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GatewayListOptions.Builder newBuilder()
newBuilder(GatewayListOptions prototype)
public static GatewayListOptions.Builder newBuilder(GatewayListOptions prototype)
public static GatewayListOptions parseDelimitedFrom(InputStream input)
public static GatewayListOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GatewayListOptions parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GatewayListOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GatewayListOptions parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GatewayListOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GatewayListOptions parseFrom(CodedInputStream input)
public static GatewayListOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GatewayListOptions parseFrom(InputStream input)
public static GatewayListOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GatewayListOptions parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GatewayListOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GatewayListOptions> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
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()
getFilterCase()
public GatewayListOptions.FilterCase getFilterCase()
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;
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.
|
getParserForType()
public Parser<GatewayListOptions> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GatewayListOptions.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GatewayListOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public GatewayListOptions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides