Package com.google.cloud.iot.v1
Class GatewayListOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.iot.v1.GatewayListOptions
-
- All Implemented Interfaces:
GatewayListOptionsOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class GatewayListOptions extends com.google.protobuf.GeneratedMessageV3 implements GatewayListOptionsOrBuilder
Options for limiting the list based on gateway type and associations.
Protobuf typegoogle.cloud.iot.v1.GatewayListOptions
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GatewayListOptions.Builder
Options for limiting the list based on gateway type and associations.static class
GatewayListOptions.FilterCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ASSOCIATIONS_DEVICE_ID_FIELD_NUMBER
static int
ASSOCIATIONS_GATEWAY_ID_FIELD_NUMBER
static int
GATEWAY_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
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.static GatewayListOptions
getDefaultInstance()
GatewayListOptions
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
GatewayListOptions.FilterCase
getFilterCase()
GatewayType
getGatewayType()
If `GATEWAY` is specified, only gateways are returned.int
getGatewayTypeValue()
If `GATEWAY` is specified, only gateways are returned.com.google.protobuf.Parser<GatewayListOptions>
getParserForType()
int
getSerializedSize()
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.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static GatewayListOptions.Builder
newBuilder()
static GatewayListOptions.Builder
newBuilder(GatewayListOptions prototype)
GatewayListOptions.Builder
newBuilderForType()
protected GatewayListOptions.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static GatewayListOptions
parseDelimitedFrom(InputStream input)
static GatewayListOptions
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GatewayListOptions
parseFrom(byte[] data)
static GatewayListOptions
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GatewayListOptions
parseFrom(com.google.protobuf.ByteString data)
static GatewayListOptions
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GatewayListOptions
parseFrom(com.google.protobuf.CodedInputStream input)
static GatewayListOptions
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GatewayListOptions
parseFrom(InputStream input)
static GatewayListOptions
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GatewayListOptions
parseFrom(ByteBuffer data)
static GatewayListOptions
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<GatewayListOptions>
parser()
GatewayListOptions.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
GATEWAY_TYPE_FIELD_NUMBER
public static final int GATEWAY_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSOCIATIONS_GATEWAY_ID_FIELD_NUMBER
public static final int ASSOCIATIONS_GATEWAY_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSOCIATIONS_DEVICE_ID_FIELD_NUMBER
public static final int ASSOCIATIONS_DEVICE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getFilterCase
public GatewayListOptions.FilterCase getFilterCase()
- Specified by:
getFilterCase
in interfaceGatewayListOptionsOrBuilder
-
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;
- Specified by:
hasGatewayType
in interfaceGatewayListOptionsOrBuilder
- Returns:
- Whether the gatewayType field is set.
-
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;
- Specified by:
getGatewayTypeValue
in interfaceGatewayListOptionsOrBuilder
- Returns:
- The enum numeric value on the wire for gatewayType.
-
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;
- Specified by:
getGatewayType
in interfaceGatewayListOptionsOrBuilder
- Returns:
- The gatewayType.
-
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;
- Specified by:
hasAssociationsGatewayId
in interfaceGatewayListOptionsOrBuilder
- Returns:
- Whether the associationsGatewayId field is set.
-
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;
- Specified by:
getAssociationsGatewayId
in interfaceGatewayListOptionsOrBuilder
- Returns:
- The associationsGatewayId.
-
getAssociationsGatewayIdBytes
public 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;
- Specified by:
getAssociationsGatewayIdBytes
in interfaceGatewayListOptionsOrBuilder
- Returns:
- The bytes for associationsGatewayId.
-
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;
- Specified by:
hasAssociationsDeviceId
in interfaceGatewayListOptionsOrBuilder
- Returns:
- Whether the associationsDeviceId field is set.
-
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;
- Specified by:
getAssociationsDeviceId
in interfaceGatewayListOptionsOrBuilder
- Returns:
- The associationsDeviceId.
-
getAssociationsDeviceIdBytes
public 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;
- Specified by:
getAssociationsDeviceIdBytes
in interfaceGatewayListOptionsOrBuilder
- Returns:
- The bytes for associationsDeviceId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GatewayListOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayListOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayListOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayListOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayListOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayListOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayListOptions parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GatewayListOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GatewayListOptions parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GatewayListOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GatewayListOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GatewayListOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GatewayListOptions.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GatewayListOptions.Builder newBuilder()
-
newBuilder
public static GatewayListOptions.Builder newBuilder(GatewayListOptions prototype)
-
toBuilder
public GatewayListOptions.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GatewayListOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GatewayListOptions getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GatewayListOptions> parser()
-
getParserForType
public com.google.protobuf.Parser<GatewayListOptions> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GatewayListOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-