NameComponentDescription { public LogSafety getLogSafety() { return logSafety; } private  NameComponentDescription(String componentName,
                                    ValueType type,
                                    ValueByteOrder order,
                                    UniformRowNamePartitioner uniform,
                                    ExplicitRowNamePartitioner explicit,
                                    LogSafety logSafety); static NameComponentDescription of(String componentName, ValueType valueType); static NameComponentDescription safe(String componentName, ValueType valueType); String getComponentName(); ValueType getType(); boolean isReverseOrder(); ValueByteOrder getOrder(); LogSafety getLogSafety(); TableMetadataPersistence.NameComponentDescription.Builder persistToProto(); static NameComponentDescription hydrateFromProto(TableMetadataPersistence.NameComponentDescription message); boolean hasUniformPartitioner(); @Nullable ExplicitRowNamePartitioner getExplicitPartitioner(); NameComponentDescription withPartitioners(RowNamePartitioner... partitioners); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void nameIsNotLoggableInDefaultDescription() { assertThat(DEFAULT_UNNAMED_DESCRIPTION.getLogSafety()).isEqualTo(LogSafety.UNSAFE); }
@Test public void nameIsNotLoggableIfNotSpecified() { assertThat(LOGGABILITY_UNSPECIFIED_DESCRIPTION.getLogSafety()).isEqualTo(LogSafety.UNSAFE); }
@Test public void nameCanBeSpecifiedToBeLoggable() { assertThat(NAME_LOGGABLE_DESCRIPTION.getLogSafety()).isEqualTo(LogSafety.SAFE); }
@Test public void nameCanBeSpecifiedToBeNotLoggable() { assertThat(NAME_NOT_LOGGABLE_DESCRIPTION.getLogSafety()).isEqualTo(LogSafety.UNSAFE); }