[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface GatewayConfigOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.iot.v1.GatewayConfigOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.iot.v1.GatewayConfigOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.iot.v1.GatewayConfigOrBuilder) \n\n public interface GatewayConfigOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getGatewayAuthMethod()\n\n public abstract GatewayAuthMethod getGatewayAuthMethod()\n\nIndicates how to authorize and/or authenticate devices to access the\ngateway.\n\n`.google.events.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;`\n\n### getGatewayAuthMethodValue()\n\n public abstract int getGatewayAuthMethodValue()\n\nIndicates how to authorize and/or authenticate devices to access the\ngateway.\n\n`.google.events.cloud.iot.v1.GatewayAuthMethod gateway_auth_method = 2;`\n\n### getGatewayType()\n\n public abstract GatewayType getGatewayType()\n\nIndicates whether the device is a gateway.\n\n`.google.events.cloud.iot.v1.GatewayType gateway_type = 1;`\n\n### getGatewayTypeValue()\n\n public abstract int getGatewayTypeValue()\n\nIndicates whether the device is a gateway.\n\n`.google.events.cloud.iot.v1.GatewayType gateway_type = 1;`\n\n### getLastAccessedGatewayId()\n\n public abstract String getLastAccessedGatewayId()\n\n\\[Output only\\] The ID of the gateway the device accessed most recently.\n\n`string last_accessed_gateway_id = 3;`\n\n### getLastAccessedGatewayIdBytes()\n\n public abstract ByteString getLastAccessedGatewayIdBytes()\n\n\\[Output only\\] The ID of the gateway the device accessed most recently.\n\n`string last_accessed_gateway_id = 3;`\n\n### getLastAccessedGatewayTime()\n\n public abstract Timestamp getLastAccessedGatewayTime()\n\n\\[Output only\\] The most recent time at which the device accessed the gateway\nspecified in `last_accessed_gateway`.\n\n`.google.protobuf.Timestamp last_accessed_gateway_time = 4;`\n\n### getLastAccessedGatewayTimeOrBuilder()\n\n public abstract TimestampOrBuilder getLastAccessedGatewayTimeOrBuilder()\n\n\\[Output only\\] The most recent time at which the device accessed the gateway\nspecified in `last_accessed_gateway`.\n\n`.google.protobuf.Timestamp last_accessed_gateway_time = 4;`\n\n### hasLastAccessedGatewayTime()\n\n public abstract boolean hasLastAccessedGatewayTime()\n\n\\[Output only\\] The most recent time at which the device accessed the gateway\nspecified in `last_accessed_gateway`.\n\n`.google.protobuf.Timestamp last_accessed_gateway_time = 4;`"]]