1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/iot/v1/device_manager.proto 18 19 package com.google.cloud.iot.v1; 20 21 public interface GatewayListOptionsOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.iot.v1.GatewayListOptions) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY` 31 * is specified, only non-gateway devices are returned. If 32 * `GATEWAY_TYPE_UNSPECIFIED` is specified, all devices are returned. 33 * </pre> 34 * 35 * <code>.google.cloud.iot.v1.GatewayType gateway_type = 1;</code> 36 * 37 * @return Whether the gatewayType field is set. 38 */ hasGatewayType()39 boolean hasGatewayType(); 40 /** 41 * 42 * 43 * <pre> 44 * If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY` 45 * is specified, only non-gateway devices are returned. If 46 * `GATEWAY_TYPE_UNSPECIFIED` is specified, all devices are returned. 47 * </pre> 48 * 49 * <code>.google.cloud.iot.v1.GatewayType gateway_type = 1;</code> 50 * 51 * @return The enum numeric value on the wire for gatewayType. 52 */ getGatewayTypeValue()53 int getGatewayTypeValue(); 54 /** 55 * 56 * 57 * <pre> 58 * If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY` 59 * is specified, only non-gateway devices are returned. If 60 * `GATEWAY_TYPE_UNSPECIFIED` is specified, all devices are returned. 61 * </pre> 62 * 63 * <code>.google.cloud.iot.v1.GatewayType gateway_type = 1;</code> 64 * 65 * @return The gatewayType. 66 */ getGatewayType()67 com.google.cloud.iot.v1.GatewayType getGatewayType(); 68 69 /** 70 * 71 * 72 * <pre> 73 * If set, only devices associated with the specified gateway are returned. 74 * The gateway ID can be numeric (`num_id`) or the user-defined string 75 * (`id`). For example, if `123` is specified, only devices bound to the 76 * gateway with `num_id` 123 are returned. 77 * </pre> 78 * 79 * <code>string associations_gateway_id = 2;</code> 80 * 81 * @return Whether the associationsGatewayId field is set. 82 */ hasAssociationsGatewayId()83 boolean hasAssociationsGatewayId(); 84 /** 85 * 86 * 87 * <pre> 88 * If set, only devices associated with the specified gateway are returned. 89 * The gateway ID can be numeric (`num_id`) or the user-defined string 90 * (`id`). For example, if `123` is specified, only devices bound to the 91 * gateway with `num_id` 123 are returned. 92 * </pre> 93 * 94 * <code>string associations_gateway_id = 2;</code> 95 * 96 * @return The associationsGatewayId. 97 */ getAssociationsGatewayId()98 java.lang.String getAssociationsGatewayId(); 99 /** 100 * 101 * 102 * <pre> 103 * If set, only devices associated with the specified gateway are returned. 104 * The gateway ID can be numeric (`num_id`) or the user-defined string 105 * (`id`). For example, if `123` is specified, only devices bound to the 106 * gateway with `num_id` 123 are returned. 107 * </pre> 108 * 109 * <code>string associations_gateway_id = 2;</code> 110 * 111 * @return The bytes for associationsGatewayId. 112 */ getAssociationsGatewayIdBytes()113 com.google.protobuf.ByteString getAssociationsGatewayIdBytes(); 114 115 /** 116 * 117 * 118 * <pre> 119 * If set, returns only the gateways with which the specified device is 120 * associated. The device ID can be numeric (`num_id`) or the user-defined 121 * string (`id`). For example, if `456` is specified, returns only the 122 * gateways to which the device with `num_id` 456 is bound. 123 * </pre> 124 * 125 * <code>string associations_device_id = 3;</code> 126 * 127 * @return Whether the associationsDeviceId field is set. 128 */ hasAssociationsDeviceId()129 boolean hasAssociationsDeviceId(); 130 /** 131 * 132 * 133 * <pre> 134 * If set, returns only the gateways with which the specified device is 135 * associated. The device ID can be numeric (`num_id`) or the user-defined 136 * string (`id`). For example, if `456` is specified, returns only the 137 * gateways to which the device with `num_id` 456 is bound. 138 * </pre> 139 * 140 * <code>string associations_device_id = 3;</code> 141 * 142 * @return The associationsDeviceId. 143 */ getAssociationsDeviceId()144 java.lang.String getAssociationsDeviceId(); 145 /** 146 * 147 * 148 * <pre> 149 * If set, returns only the gateways with which the specified device is 150 * associated. The device ID can be numeric (`num_id`) or the user-defined 151 * string (`id`). For example, if `456` is specified, returns only the 152 * gateways to which the device with `num_id` 456 is bound. 153 * </pre> 154 * 155 * <code>string associations_device_id = 3;</code> 156 * 157 * @return The bytes for associationsDeviceId. 158 */ getAssociationsDeviceIdBytes()159 com.google.protobuf.ByteString getAssociationsDeviceIdBytes(); 160 getFilterCase()161 public com.google.cloud.iot.v1.GatewayListOptions.FilterCase getFilterCase(); 162 } 163