@Test public void testGetClientId() { ConnectionParams connectionParams = buildAllParameters(); String expectedClientId = "projects/" + PROJECT_ID + "/locations/" + CLOUD_REGION + "/registries/" + REGISTRY_ID + "/devices/" + DEVICE_ID; assertThat(connectionParams.getClientId()).isEqualTo(expectedClientId); }
public String getClientId() { return mClientId; }
ConnectionParams { public String getClientId() { return mClientId; } }
ConnectionParams { public String getClientId() { return mClientId; } private  ConnectionParams(
            @NonNull String projectId,
            @NonNull String registryId,
            @NonNull String deviceId,
            @NonNull String cloudRegion,
            @NonNull String bridgeHostname,
            int bridgePort,
            long authTokenLifetimeMillis); }
ConnectionParams { public String getClientId() { return mClientId; } private  ConnectionParams(
            @NonNull String projectId,
            @NonNull String registryId,
            @NonNull String deviceId,
            @NonNull String cloudRegion,
            @NonNull String bridgeHostname,
            int bridgePort,
            long authTokenLifetimeMillis); String getProjectId(); String getRegistryId(); String getDeviceId(); String getCloudRegion(); String getBridgeHostname(); int getBridgePort(); String getBrokerUrl(); long getAuthTokenLifetimeMillis(); String getClientId(); String getTelemetryTopic(); String getDeviceStateTopic(); String getConfigurationTopic(); String getCommandsTopic(); }
ConnectionParams { public String getClientId() { return mClientId; } private  ConnectionParams(
            @NonNull String projectId,
            @NonNull String registryId,
            @NonNull String deviceId,
            @NonNull String cloudRegion,
            @NonNull String bridgeHostname,
            int bridgePort,
            long authTokenLifetimeMillis); String getProjectId(); String getRegistryId(); String getDeviceId(); String getCloudRegion(); String getBridgeHostname(); int getBridgePort(); String getBrokerUrl(); long getAuthTokenLifetimeMillis(); String getClientId(); String getTelemetryTopic(); String getDeviceStateTopic(); String getConfigurationTopic(); String getCommandsTopic();  }