public Struct set(Field.Int32 def, int value) {
        return set(def.name, value);
    }
Set the field specified by the given name to the value

@param name The name of the field
@param value The value to set
@throws SchemaException If the field is not known
clients/src/main/java/org/apache/kafka/common/protocol/types/Struct.java