@Test public void testBuildLogEvent_withNetworkConnectionInfo() { assertThat( LogEvent.jsonBuilder("") .setEventTimeMs(4500) .setEventUptimeMs(10000) .setTimezoneOffsetSeconds(29L) .setNetworkConnectionInfo(NetworkConnectionInfo.builder().build()) .build()) .isInstanceOf(LogEvent.class); }
@NonNull public static Builder builder() { return new AutoValue_LogRequest.Builder(); }
LogRequest { @NonNull public static Builder builder() { return new AutoValue_LogRequest.Builder(); } }
LogRequest { @NonNull public static Builder builder() { return new AutoValue_LogRequest.Builder(); }  }
LogRequest { @NonNull public static Builder builder() { return new AutoValue_LogRequest.Builder(); }  abstract long getRequestTimeMs(); abstract long getRequestUptimeMs(); @Nullable abstract ClientInfo getClientInfo(); @Nullable abstract Integer getLogSource(); @Nullable abstract String getLogSourceName(); @Nullable @Encodable.Field(name = "logEvent") abstract List<LogEvent> getLogEvents(); @Nullable abstract QosTier getQosTier(); @NonNull static Builder builder(); }
LogRequest { @NonNull public static Builder builder() { return new AutoValue_LogRequest.Builder(); }  abstract long getRequestTimeMs(); abstract long getRequestUptimeMs(); @Nullable abstract ClientInfo getClientInfo(); @Nullable abstract Integer getLogSource(); @Nullable abstract String getLogSourceName(); @Nullable @Encodable.Field(name = "logEvent") abstract List<LogEvent> getLogEvents(); @Nullable abstract QosTier getQosTier(); @NonNull static Builder builder();  }