Package com.google.cloud.iot.v1
Interface GatewayConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GatewayConfig
,GatewayConfig.Builder
public interface GatewayConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GatewayAuthMethod
getGatewayAuthMethod()
Indicates how to authorize and/or authenticate devices to access the gateway.int
getGatewayAuthMethodValue()
Indicates how to authorize and/or authenticate devices to access the gateway.GatewayType
getGatewayType()
Indicates whether the device is a gateway.int
getGatewayTypeValue()
Indicates whether the device is a gateway.String
getLastAccessedGatewayId()
[Output only] The ID of the gateway the device accessed most recently.com.google.protobuf.ByteString
getLastAccessedGatewayIdBytes()
[Output only] The ID of the gateway the device accessed most recently.com.google.protobuf.Timestamp
getLastAccessedGatewayTime()
[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.com.google.protobuf.TimestampOrBuilder
getLastAccessedGatewayTimeOrBuilder()
[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.boolean
hasLastAccessedGatewayTime()
[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getGatewayTypeValue
int getGatewayTypeValue()
Indicates whether the device is a gateway.
.google.cloud.iot.v1.GatewayType gateway_type = 1;
- Returns:
- The enum numeric value on the wire for gatewayType.
-
getGatewayType
GatewayType getGatewayType()
Indicates whether the device is a gateway.
.google.cloud.iot.v1.GatewayType gateway_type = 1;
- Returns:
- The gatewayType.
-
getGatewayAuthMethodValue
int getGatewayAuthMethodValue()
Indicates how to authorize and/or authenticate devices to access the gateway.
.google.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;
- Returns:
- The enum numeric value on the wire for gatewayAuthMethod.
-
getGatewayAuthMethod
GatewayAuthMethod getGatewayAuthMethod()
Indicates how to authorize and/or authenticate devices to access the gateway.
.google.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;
- Returns:
- The gatewayAuthMethod.
-
getLastAccessedGatewayId
String getLastAccessedGatewayId()
[Output only] The ID of the gateway the device accessed most recently.
string last_accessed_gateway_id = 3;
- Returns:
- The lastAccessedGatewayId.
-
getLastAccessedGatewayIdBytes
com.google.protobuf.ByteString getLastAccessedGatewayIdBytes()
[Output only] The ID of the gateway the device accessed most recently.
string last_accessed_gateway_id = 3;
- Returns:
- The bytes for lastAccessedGatewayId.
-
hasLastAccessedGatewayTime
boolean hasLastAccessedGatewayTime()
[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.
.google.protobuf.Timestamp last_accessed_gateway_time = 4;
- Returns:
- Whether the lastAccessedGatewayTime field is set.
-
getLastAccessedGatewayTime
com.google.protobuf.Timestamp getLastAccessedGatewayTime()
[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.
.google.protobuf.Timestamp last_accessed_gateway_time = 4;
- Returns:
- The lastAccessedGatewayTime.
-
getLastAccessedGatewayTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastAccessedGatewayTimeOrBuilder()
[Output only] The most recent time at which the device accessed the gateway specified in `last_accessed_gateway`.
.google.protobuf.Timestamp last_accessed_gateway_time = 4;
-
-