Interface GatewayConfigOrBuilder (2.41.0)

public interface GatewayConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGatewayAuthMethod()

public abstract GatewayAuthMethod getGatewayAuthMethod()

Indicates how to authorize and/or authenticate devices to access the gateway.

.google.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;

Returns
TypeDescription
GatewayAuthMethod

The gatewayAuthMethod.

getGatewayAuthMethodValue()

public abstract int getGatewayAuthMethodValue()

Indicates how to authorize and/or authenticate devices to access the gateway.

.google.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for gatewayAuthMethod.

getGatewayType()

public abstract GatewayType getGatewayType()

Indicates whether the device is a gateway.

.google.cloud.iot.v1.GatewayType gateway_type = 1;

Returns
TypeDescription
GatewayType

The gatewayType.

getGatewayTypeValue()

public abstract int getGatewayTypeValue()

Indicates whether the device is a gateway.

.google.cloud.iot.v1.GatewayType gateway_type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for gatewayType.

getLastAccessedGatewayId()

public abstract String getLastAccessedGatewayId()

[Output only] The ID of the gateway the device accessed most recently.

string last_accessed_gateway_id = 3;

Returns
TypeDescription
String

The lastAccessedGatewayId.

getLastAccessedGatewayIdBytes()

public abstract ByteString getLastAccessedGatewayIdBytes()

[Output only] The ID of the gateway the device accessed most recently.

string last_accessed_gateway_id = 3;

Returns
TypeDescription
ByteString

The bytes for lastAccessedGatewayId.

getLastAccessedGatewayTime()

public abstract 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
TypeDescription
Timestamp

The lastAccessedGatewayTime.

getLastAccessedGatewayTimeOrBuilder()

public abstract 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;

Returns
TypeDescription
TimestampOrBuilder

hasLastAccessedGatewayTime()

public abstract 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
TypeDescription
boolean

Whether the lastAccessedGatewayTime field is set.