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 classGatewayListOptions.BuilderOptions for limiting the list based on gateway type and associations.static classGatewayListOptions.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 intASSOCIATIONS_DEVICE_ID_FIELD_NUMBERstatic intASSOCIATIONS_GATEWAY_ID_FIELD_NUMBERstatic intGATEWAY_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAssociationsDeviceId()If set, returns only the gateways with which the specified device is associated.com.google.protobuf.ByteStringgetAssociationsDeviceIdBytes()If set, returns only the gateways with which the specified device is associated.StringgetAssociationsGatewayId()If set, only devices associated with the specified gateway are returned.com.google.protobuf.ByteStringgetAssociationsGatewayIdBytes()If set, only devices associated with the specified gateway are returned.static GatewayListOptionsgetDefaultInstance()GatewayListOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()GatewayListOptions.FilterCasegetFilterCase()GatewayTypegetGatewayType()If `GATEWAY` is specified, only gateways are returned.intgetGatewayTypeValue()If `GATEWAY` is specified, only gateways are returned.com.google.protobuf.Parser<GatewayListOptions>getParserForType()intgetSerializedSize()booleanhasAssociationsDeviceId()If set, returns only the gateways with which the specified device is associated.booleanhasAssociationsGatewayId()If set, only devices associated with the specified gateway are returned.booleanhasGatewayType()If `GATEWAY` is specified, only gateways are returned.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static GatewayListOptions.BuildernewBuilder()static GatewayListOptions.BuildernewBuilder(GatewayListOptions prototype)GatewayListOptions.BuildernewBuilderForType()protected GatewayListOptions.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GatewayListOptionsparseDelimitedFrom(InputStream input)static GatewayListOptionsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GatewayListOptionsparseFrom(byte[] data)static GatewayListOptionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GatewayListOptionsparseFrom(com.google.protobuf.ByteString data)static GatewayListOptionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GatewayListOptionsparseFrom(com.google.protobuf.CodedInputStream input)static GatewayListOptionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GatewayListOptionsparseFrom(InputStream input)static GatewayListOptionsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GatewayListOptionsparseFrom(ByteBuffer data)static GatewayListOptionsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GatewayListOptions>parser()GatewayListOptions.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getFilterCase
public GatewayListOptions.FilterCase getFilterCase()
- Specified by:
getFilterCasein 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:
hasGatewayTypein 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:
getGatewayTypeValuein 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:
getGatewayTypein 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:
hasAssociationsGatewayIdin 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:
getAssociationsGatewayIdin 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:
getAssociationsGatewayIdBytesin 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:
hasAssociationsDeviceIdin 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:
getAssociationsDeviceIdin 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:
getAssociationsDeviceIdBytesin interfaceGatewayListOptionsOrBuilder- Returns:
- The bytes for associationsDeviceId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GatewayListOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GatewayListOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-