@Test public void testBuildLogRequest_complete() { List<LogEvent> events = new ArrayList<>(); events.add( LogEvent.protoBuilder(EMPTY_BYTE_ARRAY) .setEventTimeMs(100L) .setEventUptimeMs(4000L) .setTimezoneOffsetSeconds(0) .build()); assertThat( LogRequest.builder() .setRequestUptimeMs(1000L) .setRequestTimeMs(4300L) .setClientInfo( ClientInfo.builder() .setClientType(ClientInfo.ClientType.ANDROID_FIREBASE) .setAndroidClientInfo( AndroidClientInfo.builder().setDevice("device").build()) .build()) .setSource("logSource") .setLogEvents(events) .build()) .isInstanceOf(LogRequest.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();  }