public final class GatewayConfig extends GeneratedMessageV3 implements GatewayConfigOrBuilder
Gateway-related configuration and state.
Protobuf type google.cloud.iot.v1.GatewayConfig
Static Fields
GATEWAY_AUTH_METHOD_FIELD_NUMBER
public static final int GATEWAY_AUTH_METHOD_FIELD_NUMBER
Field Value
GATEWAY_TYPE_FIELD_NUMBER
public static final int GATEWAY_TYPE_FIELD_NUMBER
Field Value
LAST_ACCESSED_GATEWAY_ID_FIELD_NUMBER
public static final int LAST_ACCESSED_GATEWAY_ID_FIELD_NUMBER
Field Value
LAST_ACCESSED_GATEWAY_TIME_FIELD_NUMBER
public static final int LAST_ACCESSED_GATEWAY_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GatewayConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GatewayConfig.Builder newBuilder()
Returns
newBuilder(GatewayConfig prototype)
public static GatewayConfig.Builder newBuilder(GatewayConfig prototype)
Parameter
Returns
public static GatewayConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GatewayConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GatewayConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GatewayConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GatewayConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GatewayConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GatewayConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GatewayConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GatewayConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GatewayConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GatewayConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GatewayConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GatewayConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public GatewayConfig getDefaultInstanceForType()
Returns
getGatewayAuthMethod()
public GatewayAuthMethod getGatewayAuthMethod()
Indicates how to authorize and/or authenticate devices to access the
gateway.
.google.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;
Returns
getGatewayAuthMethodValue()
public int getGatewayAuthMethodValue()
Indicates how to authorize and/or authenticate devices to access the
gateway.
.google.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for gatewayAuthMethod.
|
getGatewayType()
public GatewayType getGatewayType()
Indicates whether the device is a gateway.
.google.cloud.iot.v1.GatewayType gateway_type = 1;
Returns
getGatewayTypeValue()
public int getGatewayTypeValue()
Indicates whether the device is a gateway.
.google.cloud.iot.v1.GatewayType gateway_type = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for gatewayType.
|
getLastAccessedGatewayId()
public String getLastAccessedGatewayId()
[Output only] The ID of the gateway the device accessed most recently.
string last_accessed_gateway_id = 3;
Returns
Type | Description |
String | The lastAccessedGatewayId.
|
getLastAccessedGatewayIdBytes()
public ByteString getLastAccessedGatewayIdBytes()
[Output only] The ID of the gateway the device accessed most recently.
string last_accessed_gateway_id = 3;
Returns
Type | Description |
ByteString | The bytes for lastAccessedGatewayId.
|
getLastAccessedGatewayTime()
public 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
Type | Description |
Timestamp | The lastAccessedGatewayTime.
|
getLastAccessedGatewayTimeOrBuilder()
public 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
getParserForType()
public Parser<GatewayConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasLastAccessedGatewayTime()
public 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
Type | Description |
boolean | Whether the lastAccessedGatewayTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GatewayConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GatewayConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GatewayConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions