@Test public void testGetSessionIdUtf8Bytes_returnsProperBytes() { final CrashlyticsReport testReport = makeTestReport(); final byte[] expectedBytes = "identifier".getBytes(Charset.forName("UTF-8")); assertArrayEquals(expectedBytes, testReport.getSession().getIdentifierUtf8Bytes()); }
@Nullable public abstract Session getSession();
CrashlyticsReport { @Nullable public abstract Session getSession(); }
CrashlyticsReport { @Nullable public abstract Session getSession();  }
CrashlyticsReport { @Nullable public abstract Session getSession();  @NonNull static Builder builder(); @Ignore Type getType(); @NonNull abstract String getSdkVersion(); @NonNull abstract String getGmpAppId(); abstract int getPlatform(); @NonNull abstract String getInstallationUuid(); @NonNull abstract String getBuildVersion(); @NonNull abstract String getDisplayVersion(); @Nullable abstract Session getSession(); @Nullable abstract FilesPayload getNdkPayload(); @NonNull CrashlyticsReport withEvents(@NonNull ImmutableList<Event> events); @NonNull CrashlyticsReport withOrganizationId(@NonNull String organizationId); @NonNull CrashlyticsReport withNdkPayload(@NonNull FilesPayload filesPayload); @NonNull CrashlyticsReport withSessionEndFields(
      long endedAt, boolean isCrashed, @Nullable String userId); }
CrashlyticsReport { @Nullable public abstract Session getSession();  @NonNull static Builder builder(); @Ignore Type getType(); @NonNull abstract String getSdkVersion(); @NonNull abstract String getGmpAppId(); abstract int getPlatform(); @NonNull abstract String getInstallationUuid(); @NonNull abstract String getBuildVersion(); @NonNull abstract String getDisplayVersion(); @Nullable abstract Session getSession(); @Nullable abstract FilesPayload getNdkPayload(); @NonNull CrashlyticsReport withEvents(@NonNull ImmutableList<Event> events); @NonNull CrashlyticsReport withOrganizationId(@NonNull String organizationId); @NonNull CrashlyticsReport withNdkPayload(@NonNull FilesPayload filesPayload); @NonNull CrashlyticsReport withSessionEndFields(
      long endedAt, boolean isCrashed, @Nullable String userId);  }