• 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/resources.proto
18 
19 package com.google.cloud.iot.v1;
20 
21 public interface GatewayConfigOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.iot.v1.GatewayConfig)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Indicates whether the device is a gateway.
31    * </pre>
32    *
33    * <code>.google.cloud.iot.v1.GatewayType gateway_type = 1;</code>
34    *
35    * @return The enum numeric value on the wire for gatewayType.
36    */
getGatewayTypeValue()37   int getGatewayTypeValue();
38   /**
39    *
40    *
41    * <pre>
42    * Indicates whether the device is a gateway.
43    * </pre>
44    *
45    * <code>.google.cloud.iot.v1.GatewayType gateway_type = 1;</code>
46    *
47    * @return The gatewayType.
48    */
getGatewayType()49   com.google.cloud.iot.v1.GatewayType getGatewayType();
50 
51   /**
52    *
53    *
54    * <pre>
55    * Indicates how to authorize and/or authenticate devices to access the
56    * gateway.
57    * </pre>
58    *
59    * <code>.google.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;</code>
60    *
61    * @return The enum numeric value on the wire for gatewayAuthMethod.
62    */
getGatewayAuthMethodValue()63   int getGatewayAuthMethodValue();
64   /**
65    *
66    *
67    * <pre>
68    * Indicates how to authorize and/or authenticate devices to access the
69    * gateway.
70    * </pre>
71    *
72    * <code>.google.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;</code>
73    *
74    * @return The gatewayAuthMethod.
75    */
getGatewayAuthMethod()76   com.google.cloud.iot.v1.GatewayAuthMethod getGatewayAuthMethod();
77 
78   /**
79    *
80    *
81    * <pre>
82    * [Output only] The ID of the gateway the device accessed most recently.
83    * </pre>
84    *
85    * <code>string last_accessed_gateway_id = 3;</code>
86    *
87    * @return The lastAccessedGatewayId.
88    */
getLastAccessedGatewayId()89   java.lang.String getLastAccessedGatewayId();
90   /**
91    *
92    *
93    * <pre>
94    * [Output only] The ID of the gateway the device accessed most recently.
95    * </pre>
96    *
97    * <code>string last_accessed_gateway_id = 3;</code>
98    *
99    * @return The bytes for lastAccessedGatewayId.
100    */
getLastAccessedGatewayIdBytes()101   com.google.protobuf.ByteString getLastAccessedGatewayIdBytes();
102 
103   /**
104    *
105    *
106    * <pre>
107    * [Output only] The most recent time at which the device accessed the gateway
108    * specified in `last_accessed_gateway`.
109    * </pre>
110    *
111    * <code>.google.protobuf.Timestamp last_accessed_gateway_time = 4;</code>
112    *
113    * @return Whether the lastAccessedGatewayTime field is set.
114    */
hasLastAccessedGatewayTime()115   boolean hasLastAccessedGatewayTime();
116   /**
117    *
118    *
119    * <pre>
120    * [Output only] The most recent time at which the device accessed the gateway
121    * specified in `last_accessed_gateway`.
122    * </pre>
123    *
124    * <code>.google.protobuf.Timestamp last_accessed_gateway_time = 4;</code>
125    *
126    * @return The lastAccessedGatewayTime.
127    */
getLastAccessedGatewayTime()128   com.google.protobuf.Timestamp getLastAccessedGatewayTime();
129   /**
130    *
131    *
132    * <pre>
133    * [Output only] The most recent time at which the device accessed the gateway
134    * specified in `last_accessed_gateway`.
135    * </pre>
136    *
137    * <code>.google.protobuf.Timestamp last_accessed_gateway_time = 4;</code>
138    */
getLastAccessedGatewayTimeOrBuilder()139   com.google.protobuf.TimestampOrBuilder getLastAccessedGatewayTimeOrBuilder();
140 }
141