• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 CreateDeviceRegistryRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.iot.v1.CreateDeviceRegistryRequest)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Required. The project and cloud region where this device registry must be created.
31    * For example, `projects/example-project/locations/us-central1`.
32    * </pre>
33    *
34    * <code>
35    * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
36    * </code>
37    *
38    * @return The parent.
39    */
getParent()40   java.lang.String getParent();
41   /**
42    *
43    *
44    * <pre>
45    * Required. The project and cloud region where this device registry must be created.
46    * For example, `projects/example-project/locations/us-central1`.
47    * </pre>
48    *
49    * <code>
50    * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
51    * </code>
52    *
53    * @return The bytes for parent.
54    */
getParentBytes()55   com.google.protobuf.ByteString getParentBytes();
56 
57   /**
58    *
59    *
60    * <pre>
61    * Required. The device registry. The field `name` must be empty. The server will
62    * generate that field from the device registry `id` provided and the
63    * `parent` field.
64    * </pre>
65    *
66    * <code>
67    * .google.cloud.iot.v1.DeviceRegistry device_registry = 2 [(.google.api.field_behavior) = REQUIRED];
68    * </code>
69    *
70    * @return Whether the deviceRegistry field is set.
71    */
hasDeviceRegistry()72   boolean hasDeviceRegistry();
73   /**
74    *
75    *
76    * <pre>
77    * Required. The device registry. The field `name` must be empty. The server will
78    * generate that field from the device registry `id` provided and the
79    * `parent` field.
80    * </pre>
81    *
82    * <code>
83    * .google.cloud.iot.v1.DeviceRegistry device_registry = 2 [(.google.api.field_behavior) = REQUIRED];
84    * </code>
85    *
86    * @return The deviceRegistry.
87    */
getDeviceRegistry()88   com.google.cloud.iot.v1.DeviceRegistry getDeviceRegistry();
89   /**
90    *
91    *
92    * <pre>
93    * Required. The device registry. The field `name` must be empty. The server will
94    * generate that field from the device registry `id` provided and the
95    * `parent` field.
96    * </pre>
97    *
98    * <code>
99    * .google.cloud.iot.v1.DeviceRegistry device_registry = 2 [(.google.api.field_behavior) = REQUIRED];
100    * </code>
101    */
getDeviceRegistryOrBuilder()102   com.google.cloud.iot.v1.DeviceRegistryOrBuilder getDeviceRegistryOrBuilder();
103 }
104