@Test public void listStatusOptionsDefaults() { ListStatusPOptions options = FileSystemMasterOptions.listStatusDefaults(); Assert.assertNotNull(options); Assert.assertEquals(LoadMetadataPType.ONCE, options.getLoadMetadataType()); Assert.assertEquals(false, options.getRecursive()); }
public Builder mergeFrom(alluxio.grpc.ListStatusPOptions other) { if (other == alluxio.grpc.ListStatusPOptions.getDefaultInstance()) return this; if (other.hasLoadDirectChildren()) { setLoadDirectChildren(other.getLoadDirectChildren()); } if (other.hasLoadMetadataType()) { setLoadMetadataType(other.getLoadMetadataType()); } if (other.hasCommonOptions()) { mergeCommonOptions(other.getCommonOptions()); } if (other.hasRecursive()) { setRecursive(other.getRecursive()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }