public static final class GatewayListOptions.Builder extends GeneratedMessageV3.Builder<GatewayListOptions.Builder> implements GatewayListOptionsOrBuilder
Options for limiting the list based on gateway type and associations.Protobuf type
google.cloud.iot.v1.GatewayListOptions
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<GatewayListOptions.Builder>
public GatewayListOptions.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<GatewayListOptions.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<GatewayListOptions.Builder>
public GatewayListOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public GatewayListOptions build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public GatewayListOptions buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public GatewayListOptions.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<GatewayListOptions.Builder>
public GatewayListOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<GatewayListOptions.Builder>
public GatewayListOptions.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<GatewayListOptions.Builder>
public GatewayListOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<GatewayListOptions.Builder>
public GatewayListOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<GatewayListOptions.Builder>
public GatewayListOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<GatewayListOptions.Builder>
public GatewayListOptions.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<GatewayListOptions.Builder>
public GatewayListOptions.Builder mergeFrom(GatewayListOptions other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<GatewayListOptions.Builder>
public GatewayListOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<GatewayListOptions.Builder>
IOException
public GatewayListOptions.FilterCase getFilterCase()
getFilterCase
in interface GatewayListOptionsOrBuilder
public GatewayListOptions.Builder clearFilter()
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;
hasGatewayType
in interface GatewayListOptionsOrBuilder
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;
getGatewayTypeValue
in interface GatewayListOptionsOrBuilder
public GatewayListOptions.Builder setGatewayTypeValue(int value)
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;
value
- The enum numeric value on the wire for gatewayType to set.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;
getGatewayType
in interface GatewayListOptionsOrBuilder
public GatewayListOptions.Builder setGatewayType(GatewayType value)
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;
value
- The gatewayType to set.public GatewayListOptions.Builder clearGatewayType()
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;
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;
hasAssociationsGatewayId
in interface GatewayListOptionsOrBuilder
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;
getAssociationsGatewayId
in interface GatewayListOptionsOrBuilder
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;
getAssociationsGatewayIdBytes
in interface GatewayListOptionsOrBuilder
public GatewayListOptions.Builder setAssociationsGatewayId(String value)
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;
value
- The associationsGatewayId to set.public GatewayListOptions.Builder clearAssociationsGatewayId()
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;
public GatewayListOptions.Builder setAssociationsGatewayIdBytes(ByteString value)
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;
value
- The bytes for associationsGatewayId to set.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;
hasAssociationsDeviceId
in interface GatewayListOptionsOrBuilder
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;
getAssociationsDeviceId
in interface GatewayListOptionsOrBuilder
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;
getAssociationsDeviceIdBytes
in interface GatewayListOptionsOrBuilder
public GatewayListOptions.Builder setAssociationsDeviceId(String value)
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;
value
- The associationsDeviceId to set.public GatewayListOptions.Builder clearAssociationsDeviceId()
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;
public GatewayListOptions.Builder setAssociationsDeviceIdBytes(ByteString value)
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;
value
- The bytes for associationsDeviceId to set.public final GatewayListOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<GatewayListOptions.Builder>
public final GatewayListOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<GatewayListOptions.Builder>
Copyright © 2022 Google LLC. All rights reserved.