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 GetDeviceRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.iot.v1.GetDeviceRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. The name of the device. For example, 31 * `projects/p0/locations/us-central1/registries/registry0/devices/device0` or 32 * `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. 33 * </pre> 34 * 35 * <code> 36 * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 37 * </code> 38 * 39 * @return The name. 40 */ getName()41 java.lang.String getName(); 42 /** 43 * 44 * 45 * <pre> 46 * Required. The name of the device. For example, 47 * `projects/p0/locations/us-central1/registries/registry0/devices/device0` or 48 * `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. 49 * </pre> 50 * 51 * <code> 52 * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 53 * </code> 54 * 55 * @return The bytes for name. 56 */ getNameBytes()57 com.google.protobuf.ByteString getNameBytes(); 58 59 /** 60 * 61 * 62 * <pre> 63 * The fields of the `Device` resource to be returned in the response. If the 64 * field mask is unset or empty, all fields are returned. Fields have to be 65 * provided in snake_case format, for example: `last_heartbeat_time`. 66 * </pre> 67 * 68 * <code>.google.protobuf.FieldMask field_mask = 2;</code> 69 * 70 * @return Whether the fieldMask field is set. 71 */ hasFieldMask()72 boolean hasFieldMask(); 73 /** 74 * 75 * 76 * <pre> 77 * The fields of the `Device` resource to be returned in the response. If the 78 * field mask is unset or empty, all fields are returned. Fields have to be 79 * provided in snake_case format, for example: `last_heartbeat_time`. 80 * </pre> 81 * 82 * <code>.google.protobuf.FieldMask field_mask = 2;</code> 83 * 84 * @return The fieldMask. 85 */ getFieldMask()86 com.google.protobuf.FieldMask getFieldMask(); 87 /** 88 * 89 * 90 * <pre> 91 * The fields of the `Device` resource to be returned in the response. If the 92 * field mask is unset or empty, all fields are returned. Fields have to be 93 * provided in snake_case format, for example: `last_heartbeat_time`. 94 * </pre> 95 * 96 * <code>.google.protobuf.FieldMask field_mask = 2;</code> 97 */ getFieldMaskOrBuilder()98 com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder(); 99 } 100