@Test public void testJacksonMissingSchema() { _thrown.expectMessage("'schema' cannot be null"); ColumnMetadata.jsonCreator("name", null, "desc", Boolean.TRUE, Boolean.FALSE); }
@JsonCreator static ColumnMetadata jsonCreator( @Nullable @JsonProperty(PROP_NAME) String name, @Nullable @JsonProperty(PROP_SCHEMA) Schema schema, @Nullable @JsonProperty(PROP_DESCRIPTION) String description, @Nullable @JsonProperty(PROP_IS_KEY) Boolean isKey, @Nullable @JsonProperty(PROP_IS_VALUE) Boolean isValue) { checkArgument(name != null, "'name' cannot be null for ColumnMetadata"); checkArgument(description != null, "'description' cannot be null for ColumnMetadata"); checkArgument(schema != null, "'schema' cannot be null for ColumnMetadata"); return new ColumnMetadata(name, schema, description, isKey, isValue); }
ColumnMetadata { @JsonCreator static ColumnMetadata jsonCreator( @Nullable @JsonProperty(PROP_NAME) String name, @Nullable @JsonProperty(PROP_SCHEMA) Schema schema, @Nullable @JsonProperty(PROP_DESCRIPTION) String description, @Nullable @JsonProperty(PROP_IS_KEY) Boolean isKey, @Nullable @JsonProperty(PROP_IS_VALUE) Boolean isValue) { checkArgument(name != null, "'name' cannot be null for ColumnMetadata"); checkArgument(description != null, "'description' cannot be null for ColumnMetadata"); checkArgument(schema != null, "'schema' cannot be null for ColumnMetadata"); return new ColumnMetadata(name, schema, description, isKey, isValue); } }
ColumnMetadata { @JsonCreator static ColumnMetadata jsonCreator( @Nullable @JsonProperty(PROP_NAME) String name, @Nullable @JsonProperty(PROP_SCHEMA) Schema schema, @Nullable @JsonProperty(PROP_DESCRIPTION) String description, @Nullable @JsonProperty(PROP_IS_KEY) Boolean isKey, @Nullable @JsonProperty(PROP_IS_VALUE) Boolean isValue) { checkArgument(name != null, "'name' cannot be null for ColumnMetadata"); checkArgument(description != null, "'description' cannot be null for ColumnMetadata"); checkArgument(schema != null, "'schema' cannot be null for ColumnMetadata"); return new ColumnMetadata(name, schema, description, isKey, isValue); } ColumnMetadata(String name, Schema schema, String description);  ColumnMetadata(
      String name,
      Schema schema,
      String description,
      @Nullable Boolean isKey,
      @Nullable Boolean isValue); }
ColumnMetadata { @JsonCreator static ColumnMetadata jsonCreator( @Nullable @JsonProperty(PROP_NAME) String name, @Nullable @JsonProperty(PROP_SCHEMA) Schema schema, @Nullable @JsonProperty(PROP_DESCRIPTION) String description, @Nullable @JsonProperty(PROP_IS_KEY) Boolean isKey, @Nullable @JsonProperty(PROP_IS_VALUE) Boolean isValue) { checkArgument(name != null, "'name' cannot be null for ColumnMetadata"); checkArgument(description != null, "'description' cannot be null for ColumnMetadata"); checkArgument(schema != null, "'schema' cannot be null for ColumnMetadata"); return new ColumnMetadata(name, schema, description, isKey, isValue); } ColumnMetadata(String name, Schema schema, String description);  ColumnMetadata(
      String name,
      Schema schema,
      String description,
      @Nullable Boolean isKey,
      @Nullable Boolean isValue); @Override boolean equals(Object o); @JsonProperty(PROP_DESCRIPTION) String getDescription(); @JsonProperty(PROP_IS_KEY) boolean getIsKey(); @JsonProperty(PROP_IS_VALUE) boolean getIsValue(); @JsonProperty(PROP_NAME) String getName(); @JsonProperty(PROP_SCHEMA) Schema getSchema(); @Override int hashCode(); @Override String toString(); }
ColumnMetadata { @JsonCreator static ColumnMetadata jsonCreator( @Nullable @JsonProperty(PROP_NAME) String name, @Nullable @JsonProperty(PROP_SCHEMA) Schema schema, @Nullable @JsonProperty(PROP_DESCRIPTION) String description, @Nullable @JsonProperty(PROP_IS_KEY) Boolean isKey, @Nullable @JsonProperty(PROP_IS_VALUE) Boolean isValue) { checkArgument(name != null, "'name' cannot be null for ColumnMetadata"); checkArgument(description != null, "'description' cannot be null for ColumnMetadata"); checkArgument(schema != null, "'schema' cannot be null for ColumnMetadata"); return new ColumnMetadata(name, schema, description, isKey, isValue); } ColumnMetadata(String name, Schema schema, String description);  ColumnMetadata(
      String name,
      Schema schema,
      String description,
      @Nullable Boolean isKey,
      @Nullable Boolean isValue); @Override boolean equals(Object o); @JsonProperty(PROP_DESCRIPTION) String getDescription(); @JsonProperty(PROP_IS_KEY) boolean getIsKey(); @JsonProperty(PROP_IS_VALUE) boolean getIsValue(); @JsonProperty(PROP_NAME) String getName(); @JsonProperty(PROP_SCHEMA) Schema getSchema(); @Override int hashCode(); @Override String toString();  }